From: Tae-Jeong Lee Date: Mon, 16 Sep 2013 08:49:10 +0000 (+0900) Subject: App-control sub-mode disable X-Git-Tag: accepted/tizen/20131002.083908~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b19f0dd948ca59763bec32d91710551b9ad06e64;p=platform%2Fframework%2Fweb%2Fwrt.git 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 --- 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))