__progressPercentage = 0;
__pAddressbarBg = null;
__pBgPanel = null;
- __pClearBtn = null;
__pFavIcon = FaviconManager::GetInstance()->GetDefaultFaviconN();
__pFaviconLabel = null;
__pLabelPrivateOn = null;
__pClearBtn->SetActionId(IDA_CLEAR_URL);
__pClearBtn->AddActionEventListener(*this);
__pClearBtn->SetShowState(true);
+ __pClearBtn->SetFocusable(true);
//Add the editfield for url
__pAddressbarUrlField = static_cast<EditField*> (GetControl(L"IDC_URL_EDITFIELD",true));
Addressbar::OnFocusLost(const Tizen::Ui::Control& source)
{
AppLog("XYZ::Addressbar::OnFocusLost");
+ if(GetShowState() == true)
+ __isAppBackGround = true;
// __editTextUrl = L"";
if(__pListener != null)
void
Addressbar::SetAddressbarURLFocus()
{
- __pAddressbarUrlField->SetFocus();
+ AppLog("Addressbar::SetAddressbarURLFocus");
+ result r = __pAddressbarUrlField->SetFocus();
+ AppLog("Addressbar::SetAddressbarURLFocus result %s",GetErrorMessage(r));
}
String