From b19f0dd948ca59763bec32d91710551b9ad06e64 Mon Sep 17 00:00:00 2001 From: Tae-Jeong Lee Date: Mon, 16 Sep 2013 17:49:10 +0900 Subject: [PATCH] App-control sub-mode disable [Issue#] P130905-02637 [Problem] App-control sub-mode operation on webapp is unstable. [Cause] App-control webapi was not ready to support sum-mode. [Solution] So, we have decided to disable sub-mode support til the architecture is arranged for sub-mode. Change-Id: I0bc8184cdb3e72b2b2b5a5783b30454ba71e62ca --- src/view/webkit/injected-bundle/wrt-injected-bundle.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/view/webkit/injected-bundle/wrt-injected-bundle.cpp b/src/view/webkit/injected-bundle/wrt-injected-bundle.cpp index cccfbbc..5cc22ab 100644 --- a/src/view/webkit/injected-bundle/wrt-injected-bundle.cpp +++ b/src/view/webkit/injected-bundle/wrt-injected-bundle.cpp @@ -501,8 +501,13 @@ void Bundle::didReceiveMessage(WKStringRef messageName, WKTypeRef messageBody) { std::string msgString = toString(static_cast(messageBody)); +#if 0 // sub mode disable _D("set x window handle [%s]", msgString.c_str()); IPCMessageSupport::setXwindowHandle(atoi(msgString.c_str())); +#else + _D("sub mode is disabled, set x window handle [NULL]"); +#endif + } else if (WKStringIsEqualToUTF8CString( messageName, Message::ToInjectedBundle::SET_VIEWMODES)) -- 2.7.4