Disable missing ewk api just until chromium-efl bringup is completed 01/118901/1
authorYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 14 Mar 2017 11:42:58 +0000 (20:42 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 14 Mar 2017 11:43:53 +0000 (20:43 +0900)
This CL disables ewk additional feature api call using
the macro |DENABLE_CHROMIUM_EWK_FEATURE|.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-3168

Change-Id: I5c9952eb626d6ab84b99ff2f057adbc3520bc325
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
services/WebEngineService/WebView.cpp

index 010975e4f11c5051e71f9456dee9a0d19c20d4de..d642476ebc4436f6c5f6a549592686e42a1eb671 100755 (executable)
@@ -652,7 +652,11 @@ Evas_Object * WebView::getLayout()
 #if !DUMMY_BUTTON
 Evas_Object * WebView::getWidget()
 {
+#ifdef DENABLE_CHROMIUM_EWK_FEATURE
     return ewk_view_widget_get(m_ewkView);
+#else
+    return nullptr;
+#endif
 }
 #endif
 void WebView::setURI(const std::string & uri)
@@ -1470,7 +1474,11 @@ void WebView::clearFocus()
 
 bool WebView::hasFocus() const
 {
+#ifdef DENABLE_CHROMIUM_EWK_FEATURE
     return ewk_view_focus_get(m_ewkView) == EINA_TRUE ? true : false;
+#else
+    return false;
+#endif
 }
 
 double WebView::getZoomFactor() const