#include "IntMultipleWindowForm.h"
#include "IntMultipleWindowPresentationModel.h"
#include "IntSceneRegister.h"
+#include "IntSettingPresentationModel.h"
using namespace Tizen::App;
using namespace Tizen::Base;
return E_FAILURE;
}
- SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER);
+// SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER);
r = pSceneManager->AddSceneEventListener(IDSCN_MULTIPLE_WINDOW, *this);
case IDA_BUTTON_CLOSEALL:
{
+ if(__pConfirmationPopup)
+ {
+ delete __pConfirmationPopup;
+ __pConfirmationPopup = null;
+ }
if (!__pConfirmationPopup)
{
__pConfirmationPopup = new(std::nothrow) ConfirmationPopup();
SceneRegister::DestroyAndUnRegisterScene(pWindowInfo->sceneID);
}
pAllWindowList->RemoveAll(true);
- WindowInfo* pNewWindowInfo = MultipleWindowPresentationModel::GetInstance()->CreateNewMainViewSceneN();
+ String homePage = SettingPresentationModel::GetInstance()->GetHomepage();
+ if (homePage == (L"IDS_BR_BODY_MOST_VISITED_SITES") || homePage == (L"IDS_BR_BODY_BLANK_PAGE"))
+ {
+ homePage = L"";
+ }
+ else if (homePage == CommonUtil::GetString(L"IDS_BR_BODY_USER_HOMEPAGE"))
+ {
+ AppLog("InternetApp::OnAppInitialized homaepage = userhomepage");
+ homePage = SettingPresentationModel::GetInstance()->GetFavoriteUrl();
+ AppLog("InternetApp::OnAppInitialized fav URL = %ls ",homePage.GetPointer());
+ }
+
+ WindowInfo* pNewWindowInfo = MultipleWindowPresentationModel::GetInstance()->CreateNewMainViewSceneN(homePage);
if (pNewWindowInfo == null)
{
return;
}
+ pNewWindowInfo->isAppcontrolTriggered = true;
result r = E_SUCCESS;
SceneManager* pSceneManager = SceneManager::GetInstance();
if (pSceneManager == NULL)
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 (pageTitle.GetLength() == 0)
{
String nourl;
- pAppResource->GetString(L"IDS_BR_BODY_ABOUT_C_BLANK", pageTitle);
+ pAppResource->GetString(L"IDS_BR_BODY_BLANK_PAGE", pageTitle);
}
Rectangle screenBounds = GetBounds();
listImageRect.SetBounds(screenBounds.x + 16, screenBounds.y + 28 + (__fontSize - 44)/2,width, 72 );
- pagetTitleRect.SetBounds(listImageRect.x + width + 16,10, screenBounds.width - 2 * width - 24 - 64, 60 + (__fontSize - 44));
+ pagetTitleRect.SetBounds(listImageRect.x + width + 16,10, screenBounds.width - 2 * width - 24 - 64, 72 + (__fontSize - 44));
pageURLRect.SetBounds(pagetTitleRect.x, pagetTitleRect.y + pagetTitleRect.height, screenBounds.width - 2 * width - 120, 48);
if(__pListDeleteImage != null)
{