[Issue#] N/A
[Problem] On non fast-open mode of PD, Box and PD couldn't use special AppWidget Web APIs regarding message.
[Cause] AppWidget Web APIs for message was considered on only fast-open mode of PD.
[Solution] web provider enables Box and PD to use AppWidget API regarding message even on non fast-open mode.
Change-Id: Ied0e724d938b3a842ad6bd98e0900f0666ed46e7
Evas_Object* AppBoxRenderView::getBoxWebView()
{
- return m_boxWrt->GetCurrentWebview();
+ if (!m_pdHelper) {
+ return m_boxWrt->GetCurrentWebview();
+ } else {
+ // Here, we can't use GetCurrentWebView() of wrt-core to get Box' webview,
+ // because in the non fast-open, GetCurrentWebview() returns PD's webview.
+ return m_pdHelper->getBoxWebView();
+ }
}
Evas_Object* AppBoxRenderView::getPdWebView()