1 // Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "runtime/web_view.h"
7 #include "runtime/native_window.h"
11 WebView::WebView(NativeWindow* window, Ewk_Context* context)
17 void WebView::LoadUrl(const std::string& url) {
18 // TODO(sngn.lee): To be implemented
21 void WebView::Suspend() {
25 // change the visibility
28 void WebView::Resume() {
32 // change the visiblity
35 void WebView::Reload() {
38 void WebView::AlwaysRun(bool run) {
42 bool WebView::EvalJavascript(const std::string& script) {
46 void WebView::Initialize() {
49 std::string WebView::GetUrl() {
53 Evas_Object* WebView::evas_object() const {
54 // TODO(sngn.lee): To be implemented