Change-Id: I7b2f9d47beef24812562ce6d923996696e3b0f4a
static const int IDA_BUTTON_NO = 1000;
static const int IDA_BUTTON_YES = 1001;
+const int FORE_GROUND_APP_EVENT = 998;
const int BACK_GROUND_APP_EVENT = 999;
static const unsigned int CUSTOM_COLOR_GREY = Tizen::Graphics::Color32<124,124,124>::Value;
static const unsigned int CUSTOM_COLOR_TRANSPARENT = Tizen::Graphics::Color32<0,0,0>::Value;
void
InternetApp::OnForeground(void)
{
-
-
+ Form* pCurrentForm = (SceneManager::GetInstance()->GetCurrentScene()->GetForm());
+ if (pCurrentForm)
+ {
+ pCurrentForm->SendUserEvent(FORE_GROUND_APP_EVENT, NULL);
+ }
}
void
__pWebViewer->Pause();
}
}
+ else if(requestId == FORE_GROUND_APP_EVENT)
+ {
+ if(__pWebViewer != null)
+ {
+ __pWebViewer->Resume();
+ }
+ }
}