static const int WIDTH_CONTEXT_MENU_BUTTON_LANDSCAPE = 800;
static const int HEIGHT_CONTEXT_MENU_BUTTON = 72;
+static const wchar_t* APPCONTROL_OPERATION_ID_IMAGE_VIEWER = L"http://tizen.org/appcontrol/operation/view";
MainForm::MainForm(void)
{
__isLongPressedDone = false;
}
else if (SettingPresentationModel::GetInstance()->GetHomepage().CompareTo((L"IDS_BR_BODY_BLANK_PAGE")) == 0)
{
- __pFooterUrlField->SetGuideText(CommonUtil::GetString(L"IDS_BR_BODY_ABOUT_C_BLANK"));
+ __pFooterUrlField->SetGuideText(CommonUtil::GetString(L"IDS_BR_BODY_BLANK_PAGE"));
}
else
{
__pImageMenu->SetMaxVisibleItemsCount(4);
__pImageMenu->AddActionEventListener(*this);
SetControlAlwaysOnTop(*__pImageMenu, true);
+ __pImageMenu->SetFocusable(true);
CATCH: return r;
}
__pImageMenu->SetMaxVisibleItemsCount(3);
__pImageMenu->AddActionEventListener(*this);
SetControlAlwaysOnTop(*__pImageMenu, true);
+ __pImageMenu->SetFocusable(true);
CATCH: return r;
__pImageMenu->SetMaxVisibleItemsCount(3);
__pImageMenu->AddActionEventListener(*this);
SetControlAlwaysOnTop(*__pImageMenu, true);
+ __pImageMenu->SetFocusable(true);
CATCH: return r;
__pImageMenu->SetMaxVisibleItemsCount(3);
__pImageMenu->AddActionEventListener(*this);
SetControlAlwaysOnTop(*__pImageMenu, true);
+ __pImageMenu->SetFocusable(true);
CATCH: return r;
delete pBitmap;
}
}
+ if(__pAddressbar)
+ __pAddressbar->SetShowState(false);
+
+ if(__isKeypadOpened == false)
+ __pFooterPanel->SetShowState(true);
return r;
}
if (pageURL.GetLength() == 0)
{
String nourl;
- pAppResource->GetString(L"IDS_BR_BODY_ABOUT_C_BLANK", nourl);
+ pAppResource->GetString(L"IDS_BR_BODY_BLANK_PAGE", nourl);
pageURL = L"<"+ nourl +">";
}
if(__pFindWordPanelLeftToRight && __pFindWordPanelLeftToRight->GetShowState() == true)
{
__pFindWordEditField->SetFocus();
- __pFindWordCountLabel->SetShowState(false);
+// __pFindWordCountLabel->SetShowState(false);
}
else
{
__currentSearchStr = L"";
__pFindWordNext->SetEnabled(false);
__pFindWordPrev->SetEnabled(false);
- __pFindWordCountLabel->SetShowState(false);
+// __pFindWordCountLabel->SetShowState(false);
__pFindWordControl->Invalidate(true);
}
break;
__currentSearchStr = L"";
__pFindWordNext->SetEnabled(false);
__pFindWordPrev->SetEnabled(false);
- __pFindWordCountLabelRightToLeft->SetShowState(false);
+// __pFindWordCountLabelRightToLeft->SetShowState(false);
__pFindWordControl->Invalidate(true);
}
break;
}
else if(__pWindowInfo != null)
{
- if(__pWindowInfo->pageUrl.GetLength() > 0 &&previousSceneId != IDSCN_BRIGHTNESS && previousSceneId != IDSCN_HISTORY_LIST && previousSceneId != IDSCN_MULTIPLE_WINDOW && previousSceneId != IDSCN_MULTIPLE_WINDOW_GRID && previousSceneId != IDSCN_BOOKMARK_VIEW && previousSceneId != IDSCN_SETTINGS && previousSceneId != IDSCN_MAIN_VIEW)
+ if(__pWindowInfo->pageUrl.GetLength() > 0 &&previousSceneId != IDSCN_BRIGHTNESS && previousSceneId != IDSCN_HISTORY_LIST && previousSceneId != IDSCN_MULTIPLE_WINDOW && previousSceneId != IDSCN_MULTIPLE_WINDOW_GRID && previousSceneId != IDSCN_BOOKMARK_VIEW && previousSceneId != IDSCN_SETTINGS && previousSceneId.Contains(IDSCN_MAIN_VIEW) == false)
{
LoadUrl(__pWindowInfo->pageUrl);
}
WindowInfo::pFormCanvasBitmap->Construct(*pCanvas,Rectangle(0,0,GetClientAreaBounds().width,GetClientAreaBounds().height - __pFooterPanel->GetHeight()));
delete pCanvas;
delete pWebCanvas;
+ if(__pAddressbar)
+ __pAddressbar->SetShowState(false);
AppLog("Coming here");
}
__pAddressbar->SetShowState(true);
__pAddressbar->SetAddressbarURLFocus();
}
+ if(__pFindWordControl && __pFindWordControl->GetShowState() == true)
+ {
+ __currentSearchStr = L"";
+ __currentWordIndex = 0;
+ __maxOccurrances = 0;
+
+ if (__pFindWordPanelLeftToRight && __pFindWordPanelLeftToRight->GetShowState() == true)
+ {
+ __pFindWordEditField->SetText(L"");
+ __pFindWordEditField->HideKeypad();
+ __pFindWordControl->SetShowState(false);
+ __pFindWordCountLabel->SetText(L"0/0");
+ }
+ else if(__pFindWordPanelRightToLeft && __pFindWordPanelRightToLeft->GetShowState() == true)
+ {
+ __pFindWordEditFieldRightToLeft->SetText(L"");
+ __pFindWordEditFieldRightToLeft->HideKeypad();
+ __pFindWordControl->SetShowState(false);
+ __pFindWordCountLabelRightToLeft->SetText(L"0/0");
+ }
+
+ __pFindWordNext->SetEnabled(false);
+ __pFindWordPrev->SetEnabled(false);
+
+ __pWebViewer->SearchText(L"aaaabbbbcccc",true);
+ __pFindWordControl->SetShowState(false);
+ }
RelayoutControls(false);
}
__pFindWordPanelRightToLeft->SetShowState(true);
__pFindWordClear->SetShowState(false);
- __pFindWordCountLabel->SetShowState(false);
+// __pFindWordCountLabel->SetShowState(false);
__pFindWordEditField->SetShowState(false);
__pFindWordClearRightToLeft->SetShowState(true);
}
else
{
- __pFindWordCountLabel->SetShowState(false);
+// __pFindWordCountLabel->SetShowState(false);
__pFindWordCountLabel->SetBounds(__pFindWordCountLabel->GetX(),__pFindWordCountLabel->GetY(),84,__pFindWordCountLabel->GetHeight());
__pFindWordEditField->SetBounds(__pFindWordEditField->GetX(),__pFindWordEditField->GetY(),214+80,__pFindWordEditField->GetHeight());
Tizen::Shell::NotificationManager notiMgr;
notiMgr.Construct();
- notiMgr.NotifyOngoingActivity(request);
-
+ notiMgr.Notify(request);
AppLogDebug("EXIT: %s", GetErrorMessage(GetLastResult()));
return;
}
delete pBitmap;
}
AppLogDebug("ONACTION_PERFORMED:IDA_MOREBTN_CLICKED end");
+ if(__pAddressbar)
+ __pAddressbar->SetShowState(false);
+ SetFocus();
+ __pFooterPanel->SetShowState(true);
result r = __pOptionMenu->SetShowState(true);
AppLog("ajsghd %s",GetErrorMessage(r));
__pOptionMenu->Invalidate(true);