App-control sub-mode disable
authorTae-Jeong Lee <taejeong.lee@samsung.com>
Mon, 16 Sep 2013 08:49:10 +0000 (17:49 +0900)
committerHoseon LEE <hoseon46.lee@samsung.com>
Sun, 29 Sep 2013 08:10:04 +0000 (17:10 +0900)
[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

index cccfbbc..5cc22ab 100644 (file)
@@ -501,8 +501,13 @@ void Bundle::didReceiveMessage(WKStringRef messageName, WKTypeRef messageBody)
     {
             std::string msgString =
                 toString(static_cast<WKStringRef>(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))