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.
7 #include "native_window.h"
12 WebView::WebView(NativeWindow * window,Ewk_Context * context): window_(window), context_(context), always_run_(false) {
15 void WebView::LoadUrl(const std::string& url) {
16 //TODO. To be implemented
19 void WebView::Suspend() {
23 // change the visibility
26 void WebView::Resume() {
30 // change the visiblity
33 void WebView::Reload() {
36 void WebView::AlwaysRun(bool run) {
40 bool WebView::EvalJavascript(const std::string& script) {
44 void WebView::Initialize() {
47 std::string WebView::GetUrl() {
51 Evas_Object* WebView::evas_object() const {