New look of WebPageUI 39/81039/8
authorMaciej Skrzypkowski <m.skrzypkows@samsung.com>
Tue, 26 Jul 2016 14:46:47 +0000 (16:46 +0200)
committerMaciej Skrzypkowski <m.skrzypkows@samsung.com>
Tue, 26 Jul 2016 14:46:47 +0000 (16:46 +0200)
Change-Id: Iab5a6508793f86cea113a479ac3fce0648cf7d84
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
58 files changed:
core/BasicUI/Action.cpp
core/BasicUI/Action.h
services/SimpleUI/SimpleUI.cpp
services/SimpleUI/SimpleUI.h
services/WebPageUI/ButtonBar.cpp
services/WebPageUI/ButtonBar.h
services/WebPageUI/CMakeLists.txt
services/WebPageUI/URIEntry.cpp
services/WebPageUI/URIEntry.h
services/WebPageUI/WebPageUI.cpp
services/WebPageUI/WebPageUI.h
services/WebPageUI/WebPageUIStatesManager.h
services/WebPageUI/edc/BottomButtonBar.edc [new file with mode: 0644]
services/WebPageUI/edc/ImageButton.edc
services/WebPageUI/edc/LeftButtonBar.edc [deleted file]
services/WebPageUI/edc/LeftButtonBar_mob.edc [deleted file]
services/WebPageUI/edc/PrivateMode.edc
services/WebPageUI/edc/PrivateMode_mob.edc [deleted file]
services/WebPageUI/edc/RightButtonBar.edc
services/WebPageUI/edc/RightButtonBar_mob.edc [deleted file]
services/WebPageUI/edc/URIEntry.edc
services/WebPageUI/edc/URIEntry_mob.edc [deleted file]
services/WebPageUI/edc/WebPageUI.edc
services/WebPageUI/edc/WebPageUI_mob.edc [deleted file]
services/WebPageUI/images/btn_bar_back_nor.png [deleted file]
services/WebPageUI/images/btn_bar_forward_nor.png [deleted file]
services/WebPageUI/images/btn_bar_incognito.png [deleted file]
services/WebPageUI/images/btn_bar_manager_nor.png [deleted file]
services/WebPageUI/images/btn_bar_more_nor.png [deleted file]
services/WebPageUI/images/btn_bar_reload_nor.png [deleted file]
services/WebPageUI/images/btn_bar_stop_nor.png [deleted file]
services/WebPageUI/images/btn_bar_vertical_settings.png [deleted file]
services/WebPageUI/images/ic_text_form.png [deleted file]
services/WebPageUI/images/input_ic_cancel.png [deleted file]
services/WebPageUI/images/input_ic_incognito.png [deleted file]
services/WebPageUI/images/round_rectangle_4X4.png [deleted file]
services/WebPageUI/images/web_browsing_icon_error.png [deleted file]
services/WebPageUI/images/web_shadow.png [deleted file]
services/WebPageUI/images_mob/btn_bar_back_nor.png [deleted file]
services/WebPageUI/images_mob/btn_bar_forward_nor.png [deleted file]
services/WebPageUI/images_mob/btn_bar_manager_nor.png [deleted file]
services/WebPageUI/images_mob/btn_bar_reload_nor.png [deleted file]
services/WebPageUI/images_mob/btn_bar_stop_nor.png [deleted file]
services/WebPageUI/images_mob/internet_ic_add.png [new file with mode: 0644]
services/WebPageUI/images_mob/navi_ic_back_dis.png [deleted file]
services/WebPageUI/images_mob/navi_ic_back_nor.png [deleted file]
services/WebPageUI/images_mob/navi_ic_forward_dis.png [deleted file]
services/WebPageUI/images_mob/navi_ic_forward_nor.png [deleted file]
services/WebPageUI/images_mob/navi_ic_reload.png [deleted file]
services/WebPageUI/images_mob/navi_ic_stop.png [deleted file]
services/WebPageUI/images_mob/navi_input_ic_cancel.png [deleted file]
services/WebPageUI/images_mob/toolbar_ic_back.png [new file with mode: 0644]
services/WebPageUI/images_mob/toolbar_ic_bookmark.png [new file with mode: 0644]
services/WebPageUI/images_mob/toolbar_ic_forward.png [new file with mode: 0644]
services/WebPageUI/images_mob/toolbar_ic_home.png [new file with mode: 0644]
services/WebPageUI/images_mob/toolbar_ic_tabs.png [new file with mode: 0644]
services/WebPageUI/images_mob/toolbar_input_ic_cancel.png [new file with mode: 0644]
services/WebPageUI/images_mob/toolbar_input_ic_refresh.png [new file with mode: 0644]

index c440f1beb5e179929a4acb854278d837c717fc23..386b36476c379c8e76557828da4cd8b7e8f61cca 100644 (file)
@@ -51,8 +51,7 @@ Action::Action(const std::string& icon, const std::string& text)
 
 
 Action::Action(const Action& other)
-    :m_iconText(other.m_iconText)
-    ,m_text(other.m_text)
+    :m_text(other.m_text)
     ,m_statusTip(other.m_statusTip)
     ,m_toolTip(other.m_toolTip)
     ,m_icon(other.m_icon)
@@ -81,11 +80,6 @@ std::string Action::getIcon() const
     return m_icon;
 }
 
-std::string Action::getIconText() const
-{
-    return m_iconText;
-}
-
 std::string Action::getSelIcon() const
 {
     return m_selIcon;
@@ -116,11 +110,6 @@ void Action::setIcon(const std::string& icon)
     m_icon = icon;
 }
 
-void Action::setIconText(const std::string& iconText)
-{
-    m_iconText = iconText;
-}
-
 void Action::setSelIcon(const std::string& selIcon)
 {
     m_selIcon = selIcon;
index 6e597c2433f8b4917e29f03ad1b498645cb81ef2..2872b95e0910be1863232bf5d477d850123a4304 100644 (file)
@@ -87,7 +87,6 @@ public:
 
     Action(const Action& other);
     ~Action();
-    std::string getIconText()const;
     std::string getText()const;
     std::string getStatusTip()const;
     std::string getToolTip()const;
@@ -146,7 +145,6 @@ public:
     boost::signals2::signal<void ()> enabledChanged;
 
 private:
-    std::string m_iconText; ///< Text displayed under the icon.
     std::string m_text;     ///< Text displayed in menu.
     std::string m_statusTip;///< Text displayed in status bar.
     std::string m_toolTip;  ///< Text displayed "on mouse over" in tool tip box.
index 441635e5d8c94f960a141f55d630ec540c38ed6a..4bf33877a4aba903db4b3f2277c6975b820ae82a 100644 (file)
@@ -311,12 +311,10 @@ void SimpleUI::connectUISignals()
 //    m_webPageUI->getUrlHistoryList()->uriChanged.connect(boost::bind(&SimpleUI::filterURL, this, _1));
     m_webPageUI->backPage.connect(boost::bind(&SimpleUI::switchViewToWebPage, this));
     m_webPageUI->backPage.connect(boost::bind(&tizen_browser::basic_webengine::AbstractWebEngine<Evas_Object>::back, m_webEngine.get()));
-    m_webPageUI->reloadPage.connect(boost::bind(&SimpleUI::switchViewToWebPage, this));
     m_webPageUI->showTabUI.connect(boost::bind(&SimpleUI::showTabUI, this));
+    m_webPageUI->showBookmarksUI.connect(boost::bind(&SimpleUI::showBookmarkManagerUI, this));
     m_webPageUI->showMoreMenu.connect(boost::bind(&SimpleUI::showMoreMenu, this));
     m_webPageUI->forwardPage.connect(boost::bind(&tizen_browser::basic_webengine::AbstractWebEngine<Evas_Object>::forward, m_webEngine.get()));
-    m_webPageUI->stopLoadingPage.connect(boost::bind(&tizen_browser::basic_webengine::AbstractWebEngine<Evas_Object>::stopLoading, m_webEngine.get()));
-    m_webPageUI->reloadPage.connect(boost::bind(&tizen_browser::basic_webengine::AbstractWebEngine<Evas_Object>::reload, m_webEngine.get()));
     m_webPageUI->showQuickAccess.connect(boost::bind(&SimpleUI::showQuickAccess, this));
     m_webPageUI->hideQuickAccess.connect(boost::bind(&QuickAccess::hideUI, m_quickAccess));
     m_webPageUI->bookmarkManagerClicked.connect(boost::bind(&SimpleUI::showBookmarkManagerUI, this));
@@ -327,14 +325,17 @@ void SimpleUI::connectUISignals()
     m_webPageUI->showBookmarkFlowUI.connect(boost::bind(&SimpleUI::showBookmarkFlowUI, this, _1));
     m_webPageUI->showFindOnPageUI.connect(boost::bind(&SimpleUI::showFindOnPageUI, this, std::string()));
     m_webPageUI->showSettingsUI.connect(boost::bind(&SimpleUI::showSettingsUI, this));
-#if PROFILE_MOBILE
     m_webPageUI->hideMoreMenu.connect(boost::bind(&SimpleUI::closeMoreMenu, this));
+    m_webPageUI->addNewTab.connect(boost::bind(&SimpleUI::newTabClicked, this));
     m_webPageUI->getURIEntry().mobileEntryFocused.connect(boost::bind(&WebPageUI::mobileEntryFocused, m_webPageUI));
     m_webPageUI->getURIEntry().mobileEntryUnfocused.connect(boost::bind(&WebPageUI::mobileEntryUnfocused, m_webPageUI));
     m_webPageUI->qaOrientationChanged.connect(boost::bind(&QuickAccess::orientationChanged, m_quickAccess));
     m_webPageUI->getURIEntry().secureIconClicked.connect(boost::bind(&SimpleUI::showCertificatePopup, this));
     m_webPageUI->getURIEntry().isValidCert.connect(boost::bind(&services::CertificateContents::isValidCertificate, m_certificateContents, _1));
-#endif
+    m_webPageUI->getURIEntry().reloadPage.connect(
+        boost::bind(&tizen_browser::basic_webengine::AbstractWebEngine<Evas_Object>::reload, m_webEngine.get()));
+    m_webPageUI->getURIEntry().stopLoadingPage.connect(
+        boost::bind(&tizen_browser::basic_webengine::AbstractWebEngine<Evas_Object>::stopLoading, m_webEngine.get()));
 
     M_ASSERT(m_quickAccess.get());
     m_quickAccess->getDetailPopup().openURL.connect(boost::bind(&SimpleUI::onOpenURL, this, _1, _2));
@@ -1149,11 +1150,6 @@ Evas_Object* SimpleUI::getMainWindow()
     return main_window;
 }
 
-void SimpleUI::reloadEnable(bool enable)
-{
-    m_webPageUI->setReloadButtonEnabled(enable);
-}
-
 void SimpleUI::downloadStarted(int status)
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
@@ -1182,11 +1178,6 @@ void SimpleUI::downloadStarted(int status)
     popup->dismiss();
 }
 
-void SimpleUI::stopEnable(bool enable)
-{
-    m_webPageUI->setStopButtonEnabled(enable);
-}
-
 void SimpleUI::loadStarted()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
index 7b0fd6cf6d72e3e27236ce7b552fa3aeee3cf259..ee6ddc9249d425f7d6c540216daab6c398c5808e 100644 (file)
@@ -103,8 +103,6 @@ private:
     Evas_Object* createErrorLayout(Evas_Object* parent);
 
     void forwardEnable(bool enable);
-    void stopEnable(bool enable);
-    void reloadEnable(bool enable);
 
     void downloadStarted(int status);
     void loadFinished();
index b5d4b4433597717cd395496055a866520263226f..e8d5cd9bb2a357b53746894d7a083adcd85c442c 100644 (file)
 namespace tizen_browser {
 namespace base_ui {
 
-#if !PROFILE_MOBILE
-double ButtonBar::tooltipHideTimeout = 0.;
-double ButtonBar::tooltipShowDelay = 0.;
-Ecore_Timer* ButtonBar::m_tooltipHideTimer = NULL;
-Ecore_Timer* ButtonBar::m_tooltipShowTimer = NULL;
-#endif
 
 ButtonBar::ButtonBar(Evas_Object* parent, const std::string& edjFile, const std::string& groupName)
 {
-#if !PROFILE_MOBILE
-    ButtonBar::tooltipHideTimeout =  boost::any_cast <double> (tizen_browser::config::Config::getInstance().get("TOOLTIP_HIDE_TIMEOUT"));
-#endif
-
-    std::string edjFilePath = EDJE_DIR;
-    edjFilePath.append(edjFile);
-    elm_theme_extension_add(NULL, edjFilePath.c_str());
+    m_edjFilePath = EDJE_DIR;
+    m_edjFilePath.append(edjFile);
+    elm_theme_extension_add(NULL, m_edjFilePath.c_str());
     m_layout = elm_layout_add(parent);
-    Eina_Bool layoutSetResult = elm_layout_file_set(m_layout, edjFilePath.c_str(), groupName.c_str());
+    Eina_Bool layoutSetResult = elm_layout_file_set(m_layout, m_edjFilePath.c_str(), groupName.c_str());
     if (!layoutSetResult)
-        throw std::runtime_error("Layout file not found: " + edjFilePath);
+        throw std::runtime_error("Layout file not found: " + m_edjFilePath);
     evas_object_size_hint_weight_set(m_layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
     evas_object_size_hint_align_set(m_layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
     evas_object_show(m_layout);
 }
+
 ButtonBar::~ButtonBar()
 {
-#if !PROFILE_MOBILE
-    if (ButtonBar::m_tooltipShowTimer) {
-        ecore_timer_del(ButtonBar::m_tooltipShowTimer);
-        ButtonBar::m_tooltipShowTimer = NULL;
-    }
-    if (ButtonBar::m_tooltipHideTimer) {
-        ecore_timer_del(ButtonBar::m_tooltipHideTimer);
-        ButtonBar::m_tooltipHideTimer = NULL;
-    }
-#endif
+
 }
 
 void ButtonBar::addAction(sharedAction action, const std::string& buttonName)
@@ -69,26 +51,36 @@ void ButtonBar::addAction(sharedAction action, const std::string& buttonName)
     actionButton.eAction = eAction;
     Evas_Object* button = elm_button_add(m_layout);
 
-    evas_object_event_callback_add(button, EVAS_CALLBACK_MOUSE_IN, __cb_mouse_in, NULL);
-    evas_object_event_callback_add(button, EVAS_CALLBACK_MOUSE_OUT, __cb_mouse_out, NULL);
-#if !PROFILE_MOBILE
-    evas_object_smart_callback_add(button, "focused", __cb_focus_in, NULL);
-    evas_object_smart_callback_add(button, "unfocused", __cb_focus_out, NULL);
-#endif
+    edje_color_class_set("elm/widget/button/default/bg-default", 240, 240, 240, 255,
+                        255, 255, 255, 255,
+                        255, 255, 255, 255);
+
+    edje_color_class_set("elm/widget/button/default/bg-disabled", 240, 240, 240, 255,
+                        255, 255, 255, 255,
+                        255, 255, 255, 255);
+
+    Evas_Object* m_box = elm_box_add(button);
+    evas_object_size_hint_weight_set(m_box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+    evas_object_size_hint_align_set(m_box, EVAS_HINT_FILL, EVAS_HINT_FILL);
+    elm_box_homogeneous_set(m_box, EINA_FALSE);
+
+    // Set a source file to fetch pixel data
+    Evas_Object *img = elm_image_add(m_box);
+    elm_image_file_set(img, m_edjFilePath.c_str(), action->getIcon().c_str());
+    evas_object_size_hint_min_set(img, 0, BUTTON_WITH_ICON_HEIGHT);
+    elm_box_pack_end(m_box, img);
+    evas_object_show(img);
+
+    Evas_Object *label = elm_label_add(m_box);
+    elm_object_text_set(label, action->getText().c_str());
+    elm_box_pack_end(m_box, label);
+    evas_object_show(label);
+    evas_object_show(m_box);
+    elm_object_part_content_set(button, "elm.swallow.content", m_box);
 
-
-    elm_object_style_set(button, action->getIcon().c_str());
     elm_object_disabled_set(button, action->isEnabled() ? EINA_FALSE : EINA_TRUE);
     evas_object_smart_callback_add(button, "clicked", EAction::callbackFunction, eAction.get());
     evas_object_show(button);
-#if !PROFILE_MOBILE
-    if (action->isEnabled()) {
-        elm_object_tooltip_text_set(button, eAction->getAction()->getToolTip().c_str());
-        elm_object_tooltip_orient_set(button, ELM_TOOLTIP_ORIENT_BOTTOM);
-        elm_object_tooltip_style_set(button, "browserTip");
-    }
-#endif
-
     elm_object_part_content_set(m_layout, buttonName.c_str(), button);
 
     actionButton.button = button;
@@ -137,19 +129,7 @@ void ButtonBar::setActionForButton(const std::string& buttonName, sharedAction n
 void ButtonBar::refreshButton(const std::string& buttonName)
 {
     Evas_Object* button = m_buttonsMap[buttonName].button;
-    if (m_actionsMap[buttonName]->isEnabled()) {
-        elm_object_disabled_set(button, EINA_FALSE);
-#if !PROFILE_MOBILE
-        elm_object_tooltip_text_set(button, m_actionsMap[buttonName]->getToolTip().c_str());
-        elm_object_tooltip_orient_set(button, ELM_TOOLTIP_ORIENT_BOTTOM);
-        elm_object_tooltip_style_set(button, "browserTip");
-#endif
-    } else {
-        elm_object_disabled_set(button, EINA_TRUE);
-#if !PROFILE_MOBILE
-        elm_object_tooltip_unset(button);
-#endif
-    }
+    elm_object_disabled_set(button, m_actionsMap[buttonName]->isEnabled() ? EINA_FALSE : EINA_TRUE);
 }
 
 Evas_Object* ButtonBar::getContent()
@@ -177,79 +157,5 @@ void ButtonBar::setDisabled(bool disabled)
     elm_object_disabled_set(getContent(), disabled ? EINA_TRUE : EINA_FALSE);
 }
 
-#if !PROFILE_MOBILE
-void ButtonBar::__cb_focus_in(void*, Evas_Object* obj, void*)
-{
-    //BROWSER_LOGD("[%s:%d] %d", __PRETTY_FUNCTION__, __LINE__, reinterpret_cast<int>(obj));
-
-    if (ButtonBar::m_tooltipHideTimer) {
-        ecore_timer_del(ButtonBar::m_tooltipHideTimer);
-        ButtonBar::m_tooltipHideTimer = NULL;
-    }
-    if (ButtonBar::m_tooltipShowTimer) {
-        ecore_timer_del(ButtonBar::m_tooltipShowTimer);
-        ButtonBar::m_tooltipShowTimer = NULL;
-    }
-    ButtonBar::m_tooltipHideTimer = ecore_timer_add(ButtonBar::tooltipHideTimeout, ButtonBar::__cb_tooltip_hide_timeout, obj);
-    //emulate native behaviour
-    //tooltip works better with some delay
-    ButtonBar::m_tooltipShowTimer = ecore_timer_add(elm_config_tooltip_delay_get(), ButtonBar::__cb_tooltip_show_delay, obj);
-}
-
-void ButtonBar::__cb_focus_out(void*, Evas_Object* obj, void*)
-{
-    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-    if (ButtonBar::m_tooltipHideTimer) {
-        ecore_timer_del(ButtonBar::m_tooltipHideTimer);
-        ButtonBar::m_tooltipHideTimer = NULL;
-    }
-    if (ButtonBar::m_tooltipShowTimer) {
-        ecore_timer_del(ButtonBar::m_tooltipShowTimer);
-        ButtonBar::m_tooltipShowTimer = NULL;
-    }
-    elm_object_tooltip_hide(obj);
-}
-#endif
-
-void ButtonBar::__cb_mouse_in(void* /*data*/, Evas* /*e*/, Evas_Object* obj, void* /*event_info*/)
-{
-    //BROWSER_LOGD("[%s:%d] %d", __PRETTY_FUNCTION__, __LINE__, reinterpret_cast<int>(obj));
-    elm_object_focus_set(obj, EINA_TRUE);
-}
-
-void ButtonBar::__cb_mouse_out(void* /*data*/, Evas* /*e*/, Evas_Object* obj, void* /*event_info*/)
-{
-    elm_object_focus_set(obj, EINA_FALSE);
-}
-
-#if !PROFILE_MOBILE
-Eina_Bool ButtonBar::__cb_tooltip_hide_timeout(void* data)
-{
-    Evas_Object* button = static_cast<Evas_Object*>(data);
-
-    if (ButtonBar::m_tooltipHideTimer) {
-        ecore_timer_del(ButtonBar::m_tooltipHideTimer);
-        ButtonBar::m_tooltipHideTimer = NULL;
-    }
-
-    elm_object_tooltip_hide(button);
-    return ECORE_CALLBACK_CANCEL;
-}
-
-
-Eina_Bool ButtonBar::__cb_tooltip_show_delay(void* data)
-{
-    Evas_Object* button = static_cast<Evas_Object*>(data);
-
-    if (ButtonBar::m_tooltipShowTimer) {
-        ecore_timer_del(ButtonBar::m_tooltipShowTimer);
-        ButtonBar::m_tooltipShowTimer = NULL;
-    }
-
-    elm_object_tooltip_show(button);
-    return ECORE_CALLBACK_CANCEL;
-}
-#endif
-
 }
 }
index 0491354d79e6a5dd65d190966162825cdd7674d9..6e93b77caaea4303362920e5d900b127b1144053 100644 (file)
@@ -53,6 +53,7 @@ public:
     void setDisabled(bool disabled);
 
 private:
+    std::string m_edjFilePath;
     //map button name to current action assigned to button
     std::map<std::string, sharedAction> m_actionsMap;
     //map button name to struct ActionButton which contains Evas_Object of button
@@ -60,24 +61,8 @@ private:
     Evas_Object* m_layout;
     void refreshButton(const std::string& buttonName);
     void onEnabledChanged(const std::string& buttonName, sharedAction action);
-#if !PROFILE_MOBILE
-    static Ecore_Timer* m_tooltipHideTimer;
-    static Ecore_Timer* m_tooltipShowTimer;
-
-    static double tooltipHideTimeout;
-    static double tooltipShowDelay;
-#endif
-
-    static void __cb_mouse_in(void* data, Evas* e, Evas_Object* obj, void* event_info);
-    static void __cb_mouse_out(void* data, Evas* e, Evas_Object* obj, void* event_info);
-#if !PROFILE_MOBILE
-    static void __cb_focus_in(void* data, Evas_Object* obj, void* event_info);
-    static void __cb_focus_out(void* data, Evas_Object* obj, void* event_info);
-
-    static Eina_Bool __cb_tooltip_hide_timeout(void* data);
-    static Eina_Bool __cb_tooltip_show_delay(void* data);
-#endif
 
+    static const int BUTTON_WITH_ICON_HEIGHT = 56;
 };
 
 }
index 7050cddc46a34b9dbc1092d8fa067507df0da501..7c05fb9fcd52f0c02783e236e4f79c0821a548ed 100755 (executable)
@@ -57,30 +57,18 @@ if (${PROFILE} MATCHES "mobile")
 endif (${PROFILE} MATCHES "mobile")
 
 #please do not add edc/ directory
-if (${PROFILE} MATCHES "mobile")    # mobile profile
-    set(edcFiles
-        WebPageUI_mob.edc
-        ErrorMessage.edc
-        LeftButtonBar_mob.edc
-        RightButtonBar_mob.edc
-        URIEntry_mob.edc
-        PrivateMode_mob.edc
-        UrlHistoryList.edc
-        )
-else (${PROFILE} MATCHES "mobile")  # tv profile
-    set(edcFiles
-        WebPageUI.edc
-        ErrorMessage.edc
-        LeftButtonBar.edc
-        RightButtonBar.edc
-        URIEntry.edc
-        PrivateMode.edc
-        UrlHistoryList.edc
-        )
-endif (${PROFILE} MATCHES "mobile")
+set(edcFiles
+    WebPageUI.edc
+    ErrorMessage.edc
+    BottomButtonBar.edc
+    RightButtonBar.edc
+    URIEntry.edc
+    PrivateMode.edc
+    UrlHistoryList.edc
+    )
 
 foreach(edec ${edcFiles})
-    string(REGEX REPLACE "(_mob)?.edc" ".edj" target_name ${edec})
+    string(REGEX REPLACE ".edc" ".edj" target_name ${edec})
     EDJ_TARGET(${target_name}
         ${CMAKE_CURRENT_SOURCE_DIR}/edc/${edec}
         ${CMAKE_CURRENT_BINARY_DIR})
index 1c8575294a1bd11ce9a3cd9b5a22cfe46bfeaddb..37a6cf45a42526315f8d38dc5bfde7f98591f73d 100644 (file)
@@ -28,11 +28,7 @@ namespace tizen_browser {
 namespace base_ui {
 
 #define GUIDE_TEXT_FOCUSED "Search or URL"
-#if PROFILE_MOBILE
 #define GUIDE_TEXT_UNFOCUSED "Search or URL"
-#else
-#define GUIDE_TEXT_UNFOCUSED "Search or URL - Press [A] to enter"
-#endif
 
 const std::string keynameSelect = "Select";
 const std::string keynameClear = "Clear";
@@ -40,7 +36,7 @@ const std::string keynameKP_Enter = "KP_Enter";
 const std::string keynameReturn = "Return";
 const std::string keynameEsc = "XF86Back";
 
-URIEntry::URIEntry()
+URIEntry::URIEntry(WPUStatesManagerPtrConst statesMgr)
     : m_parent(nullptr)
     , m_currentIconType(IconTypeSearch)
     , m_entry(NULL)
@@ -50,9 +46,9 @@ URIEntry::URIEntry()
     , m_entryContextMenuOpen(false)
     , m_searchTextEntered(false)
     , m_first_click(true)
-#if PROFILE_MOBILE
+    , m_isPageLoading(false)
+    , m_statesMgr(statesMgr)
     , m_rightIconType(RightIconType::NONE)
-#endif
 {
     std::string edjFilePath = EDJE_DIR;
     edjFilePath.append("WebPageUI/URIEntry.edj");
@@ -86,9 +82,7 @@ Evas_Object* URIEntry::getContent()
         elm_entry_single_line_set(m_entry, EINA_TRUE);
         elm_entry_scrollable_set(m_entry, EINA_TRUE);
         elm_entry_input_panel_layout_set(m_entry, ELM_INPUT_PANEL_LAYOUT_URL);
-#if PROFILE_MOBILE
         elm_object_signal_callback_add(m_entry_layout,  "right_icon_clicked", "ui", _uri_right_icon_clicked, this);
-#endif
 
         setUrlGuideText(GUIDE_TEXT_UNFOCUSED);
 
@@ -121,15 +115,11 @@ void URIEntry::changeUri(const std::string& newUri)
     if (elm_object_focus_get(m_entry) == EINA_FALSE) {
         if (!m_URI.empty()) {
             elm_entry_entry_set(m_entry, elm_entry_utf8_to_markup(m_URI.c_str()));
-    #if PROFILE_MOBILE
             m_rightIconType = RightIconType::NONE;
-    #endif
         } else
             elm_entry_entry_set(m_entry, elm_entry_utf8_to_markup(""));
     }
-#if PROFILE_MOBILE
     updateSecureIcon();
-#endif
 }
 
 void URIEntry::setFavIcon(std::shared_ptr< tizen_browser::tools::BrowserImage > favicon)
@@ -183,9 +173,7 @@ void URIEntry::_uri_entry_clicked(void* data, Evas_Object* /* obj */, void* /* e
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
     URIEntry* self = static_cast<URIEntry*>(data);
-#if PROFILE_MOBILE
     self->showCancelIcon();
-#endif
     // TODO This line should be uncommented when input events will be fixed
 //    elm_entry_select_none(self->m_entry);
     self->selectionTool();
@@ -213,9 +201,7 @@ void URIEntry::_uri_entry_editing_changed_user(void* data, Evas_Object* /* obj *
     } else {
         self->setSearchIcon();
     }
-#if PROFILE_MOBILE
     self->showCancelIcon();
-#endif
     if(entry.find(" ") != std::string::npos)
         return;
     self->uriEntryEditingChangedByUser(std::make_shared<std::string>(entry));
@@ -234,17 +220,20 @@ void URIEntry::unfocused(void* data, Evas_Object*, void*)
 
     if (!self->m_entryContextMenuOpen) {
         self->m_entrySelectionState = SelectionState::SELECTION_NONE;
-#if PROFILE_MOBILE
         self->mobileEntryUnfocused();
-        self->showCancelIcon();
-#endif
+        if (!self->m_statesMgr->equals(WPUState::QUICK_ACCESS) && !self->m_statesMgr->equals(WPUState::MAIN_INCOGNITO_PAGE)) {
+            if (self->m_isPageLoading)
+                self->showStopIcon();
+            else
+                self->showReloadIcon();
+        } else {
+            self->hideRightIcon();
+        }
     }
     self->m_first_click = true;
     elm_entry_select_none(self->m_entry);
 
-#if PROFILE_MOBILE
     self->showSecureIcon(self->m_showSecureIcon, self->m_securePageIcon);
-#endif
 
     elm_entry_entry_set(self->m_entry, elm_entry_utf8_to_markup(self->m_URI.c_str()));
 }
@@ -254,9 +243,7 @@ void URIEntry::focused(void* data, Evas_Object* /* obj */, void* /* event_info *
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
     URIEntry* self = static_cast<URIEntry*>(data);
     if (!self->m_entryContextMenuOpen) {
-#if PROFILE_MOBILE
         self->mobileEntryFocused();
-#endif
     } else {
         self->m_entryContextMenuOpen = false;
     }
@@ -285,12 +272,6 @@ void URIEntry::_fixed_entry_key_down_handler(void* data, Evas* /*e*/, Evas_Objec
         self->editingCompleted();
         return;
     }
-    if (keynameEsc == ev->keyname) {
-#if !PROFILE_MOBILE
-        elm_object_focus_set(self->m_entry, EINA_TRUE);
-#endif
-        return;
-    }
 }
 
 void URIEntry::editingCompleted()
@@ -303,11 +284,7 @@ void URIEntry::editingCompleted()
     elm_entry_input_panel_hide(m_entry);
     m_URI = rewriteURI(userString);
     uriChanged(m_URI);
-#if !PROFILE_MOBILE
-    elm_object_focus_set(m_entry, EINA_TRUE);
-#else
     showSecureIcon(false, false);
-#endif
 }
 
 std::string URIEntry::rewriteURI(const std::string& url)
@@ -333,6 +310,25 @@ std::string URIEntry::rewriteURI(const std::string& url)
     return url;
 }
 
+void URIEntry::editingCanceled()
+{
+    elm_entry_input_panel_hide(m_entry);
+    setCurrentFavIcon();
+}
+
+void URIEntry::loadStarted()
+{
+    m_isPageLoading = true;
+    elm_object_signal_emit(m_entry_layout, "shiftright_uribg", "ui");
+    showStopIcon();
+}
+
+void URIEntry::loadFinished()
+{
+    m_isPageLoading = false;
+    showReloadIcon();
+}
+
 void URIEntry::AddAction(sharedAction action)
 {
     m_actions.push_back(action);
@@ -349,14 +345,6 @@ void URIEntry::clearFocus()
     elm_object_focus_set(m_entry, EINA_FALSE);
 }
 
-void URIEntry::setFocus()
-{
-    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-#if !PROFILE_MOBILE
-    elm_object_focus_set(m_entry, EINA_TRUE);
-#endif
-}
-
 bool URIEntry::hasFocus() const
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
@@ -395,7 +383,6 @@ void URIEntry::_uri_entry_longpressed(void* data, Evas_Object* /*obj*/, void* /*
 
 }
 
-#if PROFILE_MOBILE
 void URIEntry::_uri_right_icon_clicked(void* data, Evas_Object* /*obj*/, const char* /*emission*/, const char* /*source*/)
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
@@ -405,8 +392,11 @@ void URIEntry::_uri_right_icon_clicked(void* data, Evas_Object* /*obj*/, const c
         elm_entry_entry_set(self->m_entry, "");
         elm_object_signal_emit(self->m_entry_layout, "hide_icon", "ui");
         break;
-    case RightIconType::SECURE:
-        self->secureIconClicked();
+    case RightIconType::RELOAD:
+        self->reloadPage();
+        break;
+    case RightIconType::STOP_LOADING:
+        self->stopLoadingPage();
         break;
     default:
         BROWSER_LOGW("[%s:%d] Unknown icon type!", __PRETTY_FUNCTION__, __LINE__);
@@ -440,11 +430,30 @@ void URIEntry::updateSecureIcon()
     showSecureIcon(show, secure);
 }
 
+void URIEntry::showStopIcon()
+{
+    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
+    m_rightIconType = RightIconType::STOP_LOADING;
+    elm_object_signal_emit(m_entry_layout, "show_cancel_icon", "ui");
+}
+
+void URIEntry::showReloadIcon()
+{
+    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
+    m_rightIconType = RightIconType::RELOAD;
+    elm_object_signal_emit(m_entry_layout, "show,reload,icon", "");
+}
+
+void URIEntry::hideRightIcon()
+{
+    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
+    elm_object_signal_emit(m_entry_layout, "hide_icon", "ui");
+}
+
 void URIEntry::showSecureIcon(bool show, bool secure)
 {
     BROWSER_LOGD("[%s:%d] [ show : %d, secure : %d] ", __PRETTY_FUNCTION__, __LINE__, show, secure);
 
-    m_rightIconType = RightIconType::SECURE;
     m_securePageIcon = secure;
     m_showSecureIcon = show;
     if (show) {
@@ -454,10 +463,9 @@ void URIEntry::showSecureIcon(bool show, bool secure)
             elm_object_signal_emit(m_entry_layout, "show,unsecure,icon", "");
     }
     else {
-        elm_object_signal_emit(m_entry_layout, "hide_icon", "ui");
+        // TODO: new signal for left side secure icon needed
     }
 }
-#endif
 
 }
 }
index 3684a2b7df1cf85a972d9766314cfdf7fa1f37f0..c59725c2be438dc1d3a4dd4a8b06d8abbabecfa7 100644 (file)
@@ -24,6 +24,7 @@
 #include "BasicUI/Action.h"
 #include "BrowserImage.h"
 #include "EflTools.h"
+#include "WebPageUIStatesManager.h"
 
 
 namespace tizen_browser {
@@ -42,7 +43,7 @@ public:
         SELECTION_KEEP
         , SELECTION_NONE
     };
-    URIEntry();
+    URIEntry(WPUStatesManagerPtrConst statesMgr);
     ~URIEntry();
     void init(Evas_Object* parent);
     Evas_Object* getContent();
@@ -54,14 +55,14 @@ public:
     // uri edition change (by a user)
     boost::signals2::signal<void (const std::shared_ptr<std::string>)> uriEntryEditingChangedByUser;
 
-#if PROFILE_MOBILE
     boost::signals2::signal<void ()> mobileEntryFocused;
     boost::signals2::signal<void ()> mobileEntryUnfocused;
     boost::signals2::signal<void ()> secureIconClicked;
     boost::signals2::signal<bool (const std::string&)> isValidCert;
+    boost::signals2::signal<void ()> reloadPage;
+    boost::signals2::signal<void ()> stopLoadingPage;
     void updateSecureIcon();
     void showSecureIcon(bool show, bool secure);
-#endif
 
     void setFavIcon(std::shared_ptr<tizen_browser::tools::BrowserImage> favicon);
     void setCurrentFavIcon();
@@ -80,11 +81,6 @@ public:
      */
     std::list<sharedAction> actions() const;
 
-    /**
-     * \brief Sets Focus to URI entry.
-     */
-    void setFocus();
-
     /**
      * @brief Remove focus form URI
      */
@@ -96,6 +92,9 @@ public:
     bool hasFocus() const;
 
     void setDisabled(bool disabled);
+    void editingCanceled();
+    void loadStarted();
+    void loadFinished();
 
 private:
     static void activated(void* data, Evas_Object* obj, void* event_info);
@@ -119,16 +118,18 @@ private:
     static void _uri_entry_double_clicked(void* data, Evas_Object* obj, void* event_info);
     static void _uri_entry_selection_changed(void* data, Evas_Object* obj, void* event_info);
     static void _uri_entry_longpressed(void* data, Evas_Object* obj, void* event_info);
-#if PROFILE_MOBILE
     enum class RightIconType {
         NONE,
         CANCEL,
-        SECURE
+        RELOAD,
+        STOP_LOADING
     };
 
     static void _uri_right_icon_clicked(void* data, Evas_Object*, const char*, const char*);
     void showCancelIcon();
-#endif
+    void showStopIcon();
+    void showReloadIcon();
+    void hideRightIcon();
 
 private:
     Evas_Object* m_parent;
@@ -143,11 +144,11 @@ private:
     bool m_entryContextMenuOpen;
     bool m_searchTextEntered;
     bool m_first_click;
-#if PROFILE_MOBILE
+    bool m_isPageLoading;
+    WPUStatesManagerPtrConst m_statesMgr;
     RightIconType m_rightIconType;
     bool m_securePageIcon;
     bool m_showSecureIcon;
-#endif
 };
 
 
index a21bbfaa39f91818596f5f562bc458b1bbf1680b..e157bcedd12c68c69b8df1017396e1ffa6d13fa2 100755 (executable)
@@ -40,12 +40,12 @@ WebPageUI::WebPageUI()
     , m_errorLayout(nullptr)
     , m_privateLayout(nullptr)
     , m_bookmarkManagerButton(nullptr)
-    , m_URIEntry(new URIEntry())
     , m_statesMgr(std::make_shared<WebPageUIStatesManager>(WPUState::MAIN_WEB_PAGE))
+    , m_URIEntry(new URIEntry(m_statesMgr))
     , m_urlHistoryList(std::make_shared<UrlHistoryList>(getStatesMgr()))
     , m_webviewLocked(false)
     , m_WebPageUIvisible(false)
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
     , m_gestureLayer(nullptr)
     , m_uriBarHidden(false)
 #endif
@@ -90,21 +90,21 @@ void WebPageUI::showUI()
 
     evas_object_show(elm_object_part_content_get(m_mainLayout, "web_view"));
     evas_object_show(m_URIEntry->getContent());
-    evas_object_show(elm_object_part_content_get(m_mainLayout, "uri_bar_buttons_left"));
+    evas_object_show(elm_object_part_content_get(m_mainLayout, "bottom_toolbar"));
     evas_object_show(elm_object_part_content_get(m_mainLayout, "uri_bar_buttons_right"));
 
     if (m_statesMgr->equals(WPUState::QUICK_ACCESS)) {
-        evas_object_hide(m_leftButtonBar->getContent());
+        evas_object_hide(m_bottomButtonBar->getContent());
         elm_object_signal_emit(m_mainLayout, "shiftback_uri", "ui");
         showQuickAccess();
     }
 
     m_WebPageUIvisible = true;
 
-    elm_object_event_callback_add(m_leftButtonBar->getContent(), _cb_down_pressed_on_urlbar, this);
+    elm_object_event_callback_add(m_bottomButtonBar->getContent(), _cb_down_pressed_on_urlbar, this);
     elm_object_event_callback_add(m_rightButtonBar->getContent(), _cb_down_pressed_on_urlbar, this);
     elm_object_event_callback_add(m_URIEntry->getContent(), _cb_down_pressed_on_urlbar, this);
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
     elm_gesture_layer_cb_add(m_gestureLayer, ELM_GESTURE_N_LINES, ELM_GESTURE_STATE_MOVE, _gesture_move, this);
     elm_gesture_layer_line_min_length_set(m_gestureLayer, SWIPE_MOMENTUM_TRESHOLD);
     elm_gesture_layer_line_distance_tolerance_set(m_gestureLayer, SWIPE_MOMENTUM_TRESHOLD);
@@ -124,30 +124,27 @@ void WebPageUI::hideUI()
 
     evas_object_hide(elm_object_part_content_get(m_mainLayout, "web_view"));
     evas_object_hide(m_URIEntry->getContent());
-    evas_object_hide(elm_object_part_content_get(m_mainLayout, "uri_bar_buttons_left"));
+    evas_object_hide(elm_object_part_content_get(m_mainLayout, "bottom_toolbar"));
     evas_object_hide(elm_object_part_content_get(m_mainLayout, "uri_bar_buttons_right"));
 
     m_WebPageUIvisible = false;
 
-    elm_object_event_callback_del(m_leftButtonBar->getContent(), _cb_down_pressed_on_urlbar, this);
+    elm_object_event_callback_del(m_bottomButtonBar->getContent(), _cb_down_pressed_on_urlbar, this);
     elm_object_event_callback_del(m_rightButtonBar->getContent(), _cb_down_pressed_on_urlbar, this);
     elm_object_event_callback_del(m_URIEntry->getContent(), _cb_down_pressed_on_urlbar, this);
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
     elm_gesture_layer_cb_del(m_gestureLayer, ELM_GESTURE_N_LINES, ELM_GESTURE_STATE_MOVE, _gesture_move, this);
 #endif
-#if PROFILE_MOBILE
     hideMoreMenu();
     hideFindOnPage();
-#endif
 }
 
 void WebPageUI::loadStarted()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
     showProgressBar();
-    elm_object_signal_emit(m_URIEntry->getContent(), "shiftright_uribg", "ui");
+    m_URIEntry->loadStarted();
     elm_object_signal_emit(m_mainLayout, "shiftright_uri", "ui");
-    m_leftButtonBar->setActionForButton("refresh_stop_button", m_stopLoading);
 }
 
 void WebPageUI::progressChanged(double progress)
@@ -175,11 +172,9 @@ bool WebPageUI::stateEquals(std::initializer_list<WPUState> states) const
 void WebPageUI::loadFinished()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-    m_leftButtonBar->setActionForButton("refresh_stop_button", m_reload);
+    m_URIEntry->loadFinished();
     hideProgressBar();
-#if PROFILE_MOBILE
     m_URIEntry->updateSecureIcon();
-#endif
 }
 
 void WebPageUI::toIncognito(bool incognito)
@@ -203,12 +198,10 @@ void WebPageUI::setMainContent(Evas_Object* content)
     M_ASSERT(content);
     hideWebView();
     elm_object_part_content_set(m_mainLayout, "web_view", content);
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
     elm_gesture_layer_attach(m_gestureLayer, content);
 #endif
-#if PROFILE_MOBILE
     evas_object_smart_callback_add(content, "mouse,down", _content_clicked, this);
-#endif
     evas_object_show(content);
 }
 
@@ -219,13 +212,10 @@ void WebPageUI::switchViewToErrorPage()
     if (!m_errorLayout)
         createErrorLayout();
     setMainContent(m_errorLayout);
-    evas_object_show(m_leftButtonBar->getContent());
+    evas_object_show(m_bottomButtonBar->getContent());
     elm_object_signal_emit(m_mainLayout, "shiftright_uri", "ui");
     elm_object_signal_emit(m_URIEntry->getContent(), "shiftright_uribg", "ui");
     setErrorButtons();
-#if !PROFILE_MOBILE
-    refreshFocusChain();
-#endif
 }
 
 void WebPageUI::switchViewToIncognitoPage()
@@ -236,18 +226,12 @@ void WebPageUI::switchViewToIncognitoPage()
     if (!m_privateLayout)
         createPrivateLayout();
     setMainContent(m_privateLayout);
-#if PROFILE_MOBILE
     orientationChanged();
-#endif
-    evas_object_show(m_leftButtonBar->getContent());
+    evas_object_show(m_bottomButtonBar->getContent());
     elm_object_signal_emit(m_mainLayout, "shiftright_uri", "ui");
     elm_object_signal_emit(m_URIEntry->getContent(), "shiftright_uribg", "ui");
     setPrivateButtons();
-#if !PROFILE_MOBILE
-    refreshFocusChain();
-#endif
     m_URIEntry->changeUri("");
-    m_URIEntry->setFocus();
 }
 
 void WebPageUI::switchViewToWebPage(Evas_Object* content, const std::string uri)
@@ -259,11 +243,7 @@ void WebPageUI::switchViewToWebPage(Evas_Object* content, const std::string uri)
         m_statesMgr->set(WPUState::MAIN_WEB_PAGE);
     }
     setMainContent(content);
-#if !PROFILE_MOBILE
-    refreshFocusChain();
-    elm_object_focus_custom_chain_append(m_mainLayout, content, NULL);
-#endif
-    evas_object_show(m_leftButtonBar->getContent());
+    evas_object_show(m_bottomButtonBar->getContent());
     elm_object_signal_emit(m_mainLayout, "shiftright_uri", "ui");
     elm_object_signal_emit(m_URIEntry->getContent(), "shiftright_uribg", "ui");
     updateURIBar(uri);
@@ -276,18 +256,12 @@ void WebPageUI::switchViewToQuickAccess(Evas_Object* content)
     m_statesMgr->set(WPUState::QUICK_ACCESS);
     toIncognito(false);
     setMainContent(content);
-    evas_object_hide(m_leftButtonBar->getContent());
+    evas_object_hide(m_bottomButtonBar->getContent());
     elm_object_signal_emit(m_mainLayout, "shiftback_uri", "ui");
     elm_object_signal_emit(m_URIEntry->getContent(), "shiftback_uribg", "ui");
     hideProgressBar();
-#if !PROFILE_MOBILE
-    refreshFocusChain();
-#endif
     m_URIEntry->changeUri("");
-#if PROFILE_MOBILE
     m_URIEntry->showSecureIcon(false, false);
-#endif
-    m_URIEntry->setFocus();
     showQuickAccess();
 }
 
@@ -318,9 +292,9 @@ void WebPageUI::setTabsNumber(int tabs)
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
     if (tabs == 0) {
-        elm_object_part_text_set(m_rightButtonBar->getContent(), "tabs_number", "");
+        elm_object_part_text_set(m_bottomButtonBar->getContent(), "tabs_number", "");
     } else {
-        elm_object_part_text_set(m_rightButtonBar->getContent(), "tabs_number", (boost::format("%1%") % tabs).str().c_str());
+        elm_object_part_text_set(m_bottomButtonBar->getContent(), "tabs_number", (boost::format("%1%") % tabs).str().c_str());
     }
 }
 
@@ -347,9 +321,6 @@ void WebPageUI::lockUrlHistoryList()
 
 void WebPageUI::unlockUrlHistoryList()
 {
-#if !PROFILE_MOBILE
-    refreshFocusChain();
-#endif
     elm_object_focus_set(m_URIEntry->getEntryWidget(), EINA_TRUE);
     getUrlHistoryList()->onListWidgetFocusChange(false);
 }
@@ -359,36 +330,6 @@ void WebPageUI::setFocusOnSuspend()
     elm_object_focus_set(m_rightButtonBar->getButton("tab_button"), EINA_TRUE);
 }
 
-#if !PROFILE_MOBILE
-void WebPageUI::onRedKeyPressed()
-{
-    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-    if(isWebPageUIvisible()) {
-        if(m_statesMgr->equals(WPUState::MAIN_WEB_PAGE)) {
-            if(m_webviewLocked) {
-                refreshFocusChain();
-                m_URIEntry->setFocus();
-                m_webviewLocked = false;
-            }
-        }
-    }
-}
-
-void WebPageUI::onYellowKeyPressed()
-{
-    if (!isWebPageUIvisible())
-        return;
-    if (!getUrlHistoryList()->getGenlistVisible())
-        return;
-    if (getUrlHistoryList()->getWidgetFocused()) {
-        unlockUrlHistoryList();
-    } else {
-        lockUrlHistoryList();
-    }
-}
-#endif
-
-#if PROFILE_MOBILE
 void WebPageUI::orientationChanged()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
@@ -418,7 +359,6 @@ void WebPageUI::orientationChanged()
         qaOrientationChanged();
     }
 }
-#endif
 
 void WebPageUI::showContextMenu()
 {
@@ -546,30 +486,26 @@ void WebPageUI::createLayout()
 
     createActions();
 
-    // left buttons
-    m_leftButtonBar = std::unique_ptr<ButtonBar>(new ButtonBar(m_mainLayout, "WebPageUI/LeftButtonBar.edj", "left_button_bar"));
-    m_leftButtonBar->addAction(m_back, "prev_button");
-    m_leftButtonBar->addAction(m_forward, "next_button");
-    m_leftButtonBar->addAction(m_reload, "refresh_stop_button");
-
-    //register action that will be used later by buttons"
-    m_leftButtonBar->registerEnabledChangedCallback(m_stopLoading, "refresh_stop_button");
+    // bottom buttons
+    m_bottomButtonBar = std::unique_ptr<ButtonBar>(new ButtonBar(m_mainLayout, "WebPageUI/BottomButtonBar.edj", "bottom_button_bar"));
+    m_bottomButtonBar->addAction(m_back, "prev_button");
+    m_bottomButtonBar->addAction(m_forward, "next_button");
+    m_bottomButtonBar->addAction(m_homePage, "home_button");
+    m_bottomButtonBar->addAction(m_bookmarks, "bookmarks_button");
+    m_bottomButtonBar->addAction(m_tabs, "tabs_button");
 
     // right buttons
     m_rightButtonBar = std::unique_ptr<ButtonBar>(new ButtonBar(m_mainLayout, "WebPageUI/RightButtonBar.edj", "right_button_bar"));
-    m_rightButtonBar->addAction(m_tab, "tab_button");
-    m_rightButtonBar->addAction(m_showMoreMenu, "setting_button");
+    m_rightButtonBar->addAction(m_addTab, "tab_button");
 
     //URL bar (Evas Object is shipped by URIEntry object)
     m_URIEntry->init(m_mainLayout);
     elm_object_part_content_set(m_mainLayout, "uri_entry", m_URIEntry->getContent());
-    elm_object_part_content_set(m_mainLayout, "uri_bar_buttons_left", m_leftButtonBar->getContent());
+    elm_object_part_content_set(m_mainLayout, "bottom_swallow", m_bottomButtonBar->getContent());
     elm_object_part_content_set(m_mainLayout, "uri_bar_buttons_right", m_rightButtonBar->getContent());
 
     elm_layout_signal_callback_add(m_URIEntry->getContent(), "slide_websearch", "elm", faviconClicked, this);
-#if PROFILE_MOBILE
     edje_object_signal_callback_add(elm_layout_edje_get(m_mainLayout), "mouse,clicked,1", "moremenu_dimmed_bg", _more_menu_background_clicked, this);
-#endif
 
 //    elm_theme_extension_add(nullptr, edjePath("WebPageUI/UrlHistoryList.edj").c_str());
 //    m_urlHistoryList->setMembers(m_mainLayout, m_URIEntry->getEntryWidget());
@@ -577,7 +513,7 @@ void WebPageUI::createLayout()
 
     connectActions();
 
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
     // will be attatch on every 'setMainContent'
     m_gestureLayer = elm_gesture_layer_add(m_mainLayout);
 #endif
@@ -652,7 +588,6 @@ void WebPageUI::_bookmark_manager_clicked(void * data, Evas_Object *, void *)
     webpageUI->bookmarkManagerClicked();
 }
 
-#if PROFILE_MOBILE
 void WebPageUI::setContentFocus()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
@@ -675,50 +610,40 @@ void WebPageUI::_more_menu_background_clicked(void* data, Evas_Object*, const ch
     WebPageUI*  webPageUI = static_cast<WebPageUI*>(data);
     webPageUI->hideMoreMenu();
 }
-#endif
 
 void WebPageUI::createActions()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
     m_back = sharedAction(new Action(_("IDS_BR_BUTTON_BACK_ABB")));
-    m_back->setIcon("browser/toolbar_prev");
+    m_back->setIcon("toolbar_prev");
 
     m_forward = sharedAction(new Action(_("IDS_BR_SK_NEXT")));
-    m_forward->setIcon("browser/toolbar_next");
-
-    m_stopLoading = sharedAction(new Action(_("IDS_BR_OPT_STOP")));
-    m_stopLoading->setIcon("browser/toolbar_stop");
-
-    m_reload = sharedAction(new Action("Reload"));
-    m_reload->setIcon("browser/toolbar_reload");
-    m_tab = sharedAction(new Action(_("IDS_BR_SK_TABS")));
-    m_tab->setIcon("browser/toolbar_tab");
-
-    m_showMoreMenu = sharedAction(new Action("More_Menu"));
-    m_showMoreMenu->setIcon("browser/toolbar_setting");
-
-#if !PROFILE_MOBILE
-    m_back->setToolTip(_("IDS_BR_SK_PREVIOUS"));
-    m_forward->setToolTip(_("IDS_BR_SK_NEXT"));
-    m_stopLoading->setToolTip(_("IDS_BR_OPT_STOP"));
-    m_reload->setToolTip("Reload");
-    m_tab->setToolTip("Tab Manager");
-    m_showMoreMenu->setToolTip("More Menu");
-#endif
+    m_forward->setIcon("toolbar_next");
+
+    m_addTab = sharedAction(new Action("Add tab"));
+    m_addTab->setIcon("add_tab");
+
+    m_homePage = sharedAction(new Action("Home"));
+    m_homePage->setIcon("toolbar_home");
+
+    m_bookmarks = sharedAction(new Action(_("IDS_BR_BODY_BOOKMARKS")));
+    m_bookmarks->setIcon("toolbar_bookmark");
+
+    m_tabs = sharedAction(new Action(_("IDS_BR_SK_TABS")));
+    m_tabs->setIcon("toolbar_tabs");
 }
 
 void WebPageUI::connectActions()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-    //left bar
+    //bottom bar
     m_back->triggered.connect(boost::bind(&WebPageUI::backPageConnect, this));
     m_forward->triggered.connect(boost::bind(&WebPageUI::forwardPageConnect, this));
-    m_stopLoading->triggered.connect(boost::bind(&WebPageUI::stopLoadingPageConnect, this));
-    m_reload->triggered.connect(boost::bind(&WebPageUI::reloadPageConnect, this));
+    m_tabs->triggered.connect(WebPageUI::showTabUI);
+    m_bookmarks->triggered.connect(WebPageUI::showBookmarksUI);
 
     //right bar
-    m_tab->triggered.connect(boost::bind(&WebPageUI::showTabUIConnect, this));
-    m_showMoreMenu->triggered.connect(boost::bind(&WebPageUI::showMoreMenuConnect, this));
+    m_addTab->triggered.connect(boost::bind(&WebPageUI::addNewTabConnect, this));
 }
 
 void WebPageUI::showProgressBar()
@@ -750,17 +675,12 @@ void WebPageUI::hideWebView()
 void WebPageUI::setErrorButtons()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-    m_leftButtonBar->setActionForButton("refresh_stop_button", m_reload);
-    m_stopLoading->setEnabled(false);
-    m_reload->setEnabled(true);
     m_forward->setEnabled(false);
 }
 
 void WebPageUI::setPrivateButtons()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-    m_stopLoading->setEnabled(false);
-    m_reload->setEnabled(false);
     m_forward->setEnabled(false);
 }
 
@@ -768,10 +688,6 @@ void WebPageUI::updateURIBar(const std::string& uri)
 {
     BROWSER_LOGD("[%s:%d] URI:%s", __PRETTY_FUNCTION__, __LINE__, uri.c_str());
     m_URIEntry->changeUri(uri);
-    m_leftButtonBar->setActionForButton("refresh_stop_button", m_reload);
-
-    m_stopLoading->setEnabled(true);
-    m_reload->setEnabled(true);
     hideProgressBar();
 }
 
@@ -780,38 +696,13 @@ std::string WebPageUI::edjePath(const std::string& file)
     return std::string(EDJE_DIR) + file;
 }
 
-void WebPageUI::showTabUIConnect()
-{
-    hideUI();
-    showTabUI();
-}
 void WebPageUI::showMoreMenuConnect()
 {
-#if !PROFILE_MOBILE
-    hideUI();
-#else
     hideFindOnPage();
-#endif
     showMoreMenu();
 }
 
-#if !PROFILE_MOBILE
-void WebPageUI::refreshFocusChain()
-{
-    // set custom focus chain
-    elm_object_focus_custom_chain_unset(m_mainLayout);
-    elm_object_focus_custom_chain_append(m_mainLayout, m_rightButtonBar->getContent(), NULL);
-    if(!m_statesMgr->equals(WPUState::QUICK_ACCESS)) {
-        elm_object_focus_custom_chain_append(m_mainLayout, m_leftButtonBar->getContent(), NULL);
-        elm_object_focus_custom_chain_append(m_mainLayout, m_bookmarkManagerButton, NULL);
-    } else {
-        m_reload->setEnabled(false);
-    }
-    elm_object_focus_custom_chain_append(m_mainLayout, m_URIEntry->getContent(), NULL);
-}
-#endif
-
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
 Evas_Event_Flags WebPageUI::_gesture_move(void* data , void* event_info)
 {
     auto info = static_cast<Elm_Gesture_Line_Info*>(event_info);
@@ -856,7 +747,6 @@ void WebPageUI::gestureDown()
 }
 #endif
 
-#if PROFILE_MOBILE
 void WebPageUI::mobileEntryFocused()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
@@ -884,7 +774,5 @@ Eina_Bool WebPageUI::_hideDelay(void *data)
     return ECORE_CALLBACK_CANCEL;
 }
 
-#endif
-
 }   // namespace tizen_browser
 }   // namespace base_ui
index 383399fe9d6cad2ed550c2b939d8c1bfe531dfac..e566995d1630a2aba1ef58d0b2dae18e6d3fbd79 100644 (file)
@@ -33,8 +33,6 @@ namespace base_ui {
 
 class WebPageUIStatesManager;
 enum class WPUState;
-typedef std::shared_ptr<WebPageUIStatesManager> WPUStatesManagerPtr;
-typedef std::shared_ptr<const WebPageUIStatesManager> WPUStatesManagerPtrConst;
 class UrlHistoryList;
 typedef std::shared_ptr<UrlHistoryList> UrlHistoryPtr;
 
@@ -42,9 +40,7 @@ class BROWSER_EXPORT WebPageUI
         : public interfaces::AbstractContextMenu
         , public tizen_browser::core::AbstractService
         , public tizen_browser::interfaces::AbstractUIComponent
-#if PROFILE_MOBILE
         , public tizen_browser::interfaces::AbstractRotatable
-#endif
 {
 public:
     WebPageUI();
@@ -56,9 +52,7 @@ public:
     virtual void showUI();
     virtual void hideUI();
     void createDummyButton();
-#if PROFILE_MOBILE
     virtual void orientationChanged() override;
-#endif
     //AbstractContextMenu interface implementation
     virtual void showContextMenu() override;
 
@@ -86,40 +80,28 @@ public:
     void setTabsNumber(int tabs);
     void setBackButtonEnabled(bool enabled) { m_back->setEnabled(enabled); }
     void setForwardButtonEnabled(bool enabled) { m_forward->setEnabled(enabled); }
-    void setReloadButtonEnabled(bool enabled) { m_reload->setEnabled(enabled); }
-    void setStopButtonEnabled(bool enabled) { m_stopLoading->setEnabled(enabled); }
-    void setMoreMenuButtonEnabled(bool enabled) { m_showMoreMenu->setEnabled(enabled); }
     void lockWebview();
     void lockUrlHistoryList();
     void unlockUrlHistoryList();
     void setFocusOnSuspend();
-#if PROFILE_MOBILE
     void mobileEntryFocused();
     void mobileEntryUnfocused();
     void setContentFocus();
     static Eina_Bool _hideDelay(void *data);
-#else
-    void onRedKeyPressed();
-    void onYellowKeyPressed();
-#endif
 
     boost::signals2::signal<void ()> backPage;
     boost::signals2::signal<void ()> forwardPage;
-    boost::signals2::signal<void ()> stopLoadingPage;
-    boost::signals2::signal<void ()> reloadPage;
     boost::signals2::signal<void ()> showTabUI;
-#if PROFILE_MOBILE
+    boost::signals2::signal<void ()> showBookmarksUI;
     boost::signals2::signal<void ()> hideMoreMenu;
     boost::signals2::signal<void ()> qaOrientationChanged;
-#else
-    boost::signals2::signal<void ()> showZoomNavigation;
-#endif
     boost::signals2::signal<void ()> showMoreMenu;
     boost::signals2::signal<void ()> hideQuickAccess;
     boost::signals2::signal<void ()> showQuickAccess;
     boost::signals2::signal<void ()> bookmarkManagerClicked;
     boost::signals2::signal<void ()> focusWebView;
     boost::signals2::signal<void ()> unfocusWebView;
+    boost::signals2::signal<void ()> addNewTab;
 
     //AbstractContextMenu signals
     boost::signals2::signal<bool ()> isBookmark;
@@ -133,11 +115,9 @@ private:
     static void _bookmark_manager_clicked(void * data, Evas_Object *, void *);
     static void _dummy_button_focused(void *data, Evas_Object *, void *);
     static void _dummy_button_unfocused(void *data, Evas_Object *, void *);
-#if PROFILE_MOBILE
     static void _more_menu_background_clicked(void* data, Evas_Object*, const char*, const char*);
     static void _content_clicked(void * data, Evas_Object *, void *);
-#endif
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
     static Evas_Event_Flags _gesture_move(void *data, void *event_info);
 #endif
     static void _cm_edit_qa_clicked(void*, Evas_Object*, void*);
@@ -162,10 +142,7 @@ private:
     void setMainContent(Evas_Object* content);
     void updateURIBar(const std::string& uri);
     std::string edjePath(const std::string& file);
-#if !PROFILE_MOBILE
-    void refreshFocusChain();
-#endif
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
     void gestureUp();
     void gestureDown();
 #endif
@@ -173,10 +150,8 @@ private:
     // wrappers to call singal as a reaction to other signal
     void backPageConnect() { backPage(); }
     void forwardPageConnect() { forwardPage(); }
-    void stopLoadingPageConnect() { stopLoadingPage(); }
-    void reloadPageConnect() { reloadPage(); }
-    void showTabUIConnect();
     void showMoreMenuConnect();
+    void addNewTabConnect() { addNewTab(); }
 
     Evas_Object* m_parent;
     Evas_Object* m_mainLayout;
@@ -185,22 +160,22 @@ private:
     Evas_Object* m_privateLayout;
     Evas_Object* m_bookmarkManagerButton;
 
-    std::unique_ptr<ButtonBar> m_leftButtonBar;
+    std::unique_ptr<ButtonBar> m_bottomButtonBar;
     std::unique_ptr<ButtonBar> m_rightButtonBar;
-    std::unique_ptr<URIEntry> m_URIEntry;
     WPUStatesManagerPtr m_statesMgr;
+    std::unique_ptr<URIEntry> m_URIEntry;
     UrlHistoryPtr m_urlHistoryList;
     bool m_webviewLocked;
     bool m_WebPageUIvisible;
 
     sharedAction m_back;
     sharedAction m_forward;
-    sharedAction m_stopLoading;
-    sharedAction m_reload;
-    sharedAction m_tab;
-    sharedAction m_showMoreMenu;
+    sharedAction m_addTab;
+    sharedAction m_homePage;
+    sharedAction m_bookmarks;
+    sharedAction m_tabs;
 
-#if PROFILE_MOBILE && GESTURE
+#if GESTURE
     Evas_Object* m_gestureLayer;
     bool m_uriBarHidden;
     static const int SINGLE_FINGER = 1;
index 050997744f6b6712743cd95eb6aa6cd13977995a..980a8f9a273acb303d640d9944beada531da1616 100644 (file)
@@ -20,6 +20,7 @@
 #include <map>
 #include <string>
 #include <initializer_list>
+#include <memory>
 
 namespace tizen_browser {
 namespace base_ui {
@@ -61,6 +62,9 @@ private:
 
 };
 
+typedef std::shared_ptr<WebPageUIStatesManager> WPUStatesManagerPtr;
+typedef std::shared_ptr<const WebPageUIStatesManager> WPUStatesManagerPtrConst;
+
 } /* namespace base_ui */
 } /* namespace tizen_browser */
 
diff --git a/services/WebPageUI/edc/BottomButtonBar.edc b/services/WebPageUI/edc/BottomButtonBar.edc
new file mode 100644 (file)
index 0000000..7043a35
--- /dev/null
@@ -0,0 +1,109 @@
+#include "ImageButton.edc"
+#include "../../../core/Tools/edc/Spacer.edc"
+
+#define BUTTON_WIDTH 120
+#define BUTTON_HEIGHT 94
+#define TOOLBAR_HEIGHT 96
+#define SPACER_SIZE 20
+
+#define ADD_BUTTON(NAME, RELATIVE_TO)                               \
+        part {                                                      \
+            name: NAME;                                             \
+            type : SWALLOW;                                         \
+            scale: 1;                                               \
+            description {                                           \
+                state: "default" 0.0;                               \
+                visible: 1;                                         \
+                align: 0.0 0.0;                                     \
+                fixed: 1 1;                                         \
+                min: BUTTON_WIDTH BUTTON_HEIGHT;                    \
+                max: BUTTON_WIDTH BUTTON_HEIGHT;                    \
+                rel1 { relative: 1.0 0.0; to: RELATIVE_TO; }        \
+                rel2 { relative: 0.0 0.0; }                         \
+            }                                                       \
+            description {                                           \
+                state: "hidden" 0.0;                                \
+                inherit: "default" 0.0;                             \
+                visible: 0;                                         \
+            }                                                       \
+            description {                                           \
+                state: "visible" 0.0;                               \
+                inherit: "default" 0.0;                             \
+                visible: 1;                                         \
+            }                                                       \
+        }
+
+collections { base_scale: 2.6;
+
+    IMAGE_BUTTON("toolbar_prev", ICON_SIZE, ICON_SIZE, "toolbar_ic_back.png")
+
+    IMAGE_BUTTON("toolbar_next", ICON_SIZE, ICON_SIZE, "toolbar_ic_forward.png")
+
+    IMAGE_BUTTON("toolbar_home", ICON_SIZE, ICON_SIZE, "toolbar_ic_home.png")
+
+    IMAGE_BUTTON("toolbar_bookmark", ICON_SIZE, ICON_SIZE, "toolbar_ic_bookmark.png")
+
+    IMAGE_BUTTON("toolbar_tabs", ICON_SIZE, ICON_SIZE, "toolbar_ic_tabs.png")
+
+    group {
+        name: "bottom_button_bar";
+
+        parts {
+            part {
+                name: "spacer_0";
+                type: SPACER;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    fixed: 1 1;
+                    align: 0.0 0.0;
+                    min: SPACER_SIZE BUTTON_HEIGHT;
+                    max: SPACER_SIZE BUTTON_HEIGHT;
+                }
+            }
+
+            ADD_BUTTON("prev_button", "spacer_0")
+
+            ADD_SPACER_NEXT_TO("spacer_1", "prev_button", SPACER_SIZE, BUTTON_HEIGHT)
+
+            ADD_BUTTON("next_button", "spacer_1")
+
+            ADD_SPACER_NEXT_TO("spacer_2", "next_button", SPACER_SIZE, BUTTON_HEIGHT)
+
+            ADD_BUTTON("home_button", "spacer_2")
+
+            ADD_SPACER_NEXT_TO("spacer_3", "home_button", SPACER_SIZE, BUTTON_HEIGHT)
+
+            ADD_BUTTON("bookmarks_button", "spacer_3")
+
+            ADD_SPACER_NEXT_TO("spacer_4", "bookmarks_button", SPACER_SIZE, BUTTON_HEIGHT)
+
+            ADD_BUTTON("tabs_button", "spacer_4")
+
+            part {
+                name: "tabs_number";
+                type: TEXT;
+                scale: 1;
+                repeat_events: 1;
+                description{
+                    state: "default" 0.0;
+                    visible: 1;
+                    fixed: 1 1;
+                    align: 0.0 0.0;
+                    color: 255 255 255 255;
+                    min: BUTTON_WIDTH BUTTON_HEIGHT*3/4;
+                    max: BUTTON_WIDTH BUTTON_HEIGHT*3/4;
+                    rel1 { relative: 0.0 0.0; to: "tabs_button"; }
+                    rel2 { relative: 1.0 1.0; to: "tabs_button"; }
+                    text {
+                        text: "";
+                        font: "Tizen:style=Bold";
+                        size: 19;
+                        align: 0.5 0.5;
+                    }
+                }
+            }
+
+        }
+    }
+}
index b3aa024f290242be566db9a1c619a6b9a978cf3c..7ece13d4b95b78fb648659ff6837fd163413c8f8 100644 (file)
@@ -1,7 +1,28 @@
 #define __CONCAT1(X,Y)          X##Y
 #define __CONCAT(X,Y)           __CONCAT1(X,Y)
 
-#if PROFILE_MOBILE
+#define ICON_SIZE 48
+
+#define IMAGE_BUTTON(NAME, W, H, IMG)                               \
+    group {                                                         \
+        name: NAME;                                                 \
+        images.image: IMG COMP;                                     \
+        parts {                                                     \
+            part {                                                  \
+                name: "image";                                      \
+                type: IMAGE;                                        \
+                mouse_events: 1;                                    \
+                repeat_events: 0;                                   \
+                description {                                       \
+                    state: "default" 0.0;                           \
+                    min: W H;                                       \
+                    max: W H;                                       \
+                    image.normal: IMG;                              \
+                    color: 105 105 105 255;                         \
+                }                                                   \
+            }                                                       \
+        }                                                           \
+    }
 
 #define FOUR_STATE_IMAGE_BUTTON(CLASS_NAME, W, H, IMG_NORMAL, R, G, B)       \
     group {                                                         \
             image: "round_rectangle_4X4.png" COMP;                  \
         }                                                           \
         parts {                                                     \
-            part { name: high_layer;                                \
-                scale:1;                                            \
-                type : IMAGE;                                       \
-                repeat_events: 1;                                   \
-                description {                                       \
-                    state: "default" 0.0;                           \
-                    visible: 0;                                     \
-                    color: R G B 255;                               \
-                    rel1 { to: "bg"; relative: 0 0; }               \
-                    rel2 { to: "bg"; relative: 1 1; }               \
-                }                                                   \
-                description { state: "highlight" 0.0;               \
-                    inherit: "default" 0.0;                         \
-                    visible: 1;                                     \
-                    image.normal: "round_rectangle_4X4.png";        \
-                    image.border: 4 4 4 4;                          \
-                    image.border_scale: 1;                          \
-                    image.middle: 1;                                \
-                }                                                   \
-                description { state: "disabled" 0.0;                \
-                    inherit: "highlight" 0.0;                       \
-                    visible: 1;                                     \
-                    color: R G B 102;                               \
-                }                                                   \
-            }                                                       \
             part {                                                  \
                 name: "bg";                                         \
                 scale: 1;                                           \
-                type: IMAGE;                                        \
+                type: RECT;                                         \
                 description { state: "default" 0.0;                 \
                     min: W H;                                       \
                     max: W H;                                       \
                     fixed: 1 1;                                     \
                     align: 0 0;                                     \
-                    image.normal: IMG_NORMAL;                       \
                     color: 255 255 255 153;                         \
                 }                                                   \
                 description { state: "disabled" 0.0;                \
                 }                                                   \
                 description { state: "highlight" 0.0;               \
                     inherit: "default" 0.0;                         \
-                    color: 255 255 255 255;                         \
-                }                                                   \
-            }                                                       \
-            part { name: "over2";                                   \
-                type: RECT;                                         \
-                scale:1;                                            \
-                mouse_events: 1;                                    \
-                repeat_events: 1;                                   \
-                ignore_flags: ON_HOLD;                              \
-                description { state: "default" 0.0;                 \
-                   color: 0 0 0 0;                                  \
-                   rel1 { relative: 0 0; to: "bg"; }                \
-                   rel2 { relative: 1 1; to: "bg"; }                \
+                    color: 0 0 255 255;                         \
                 }                                                   \
             }                                                       \
-            part { name: "over3";                                   \
+            part { name: high_layer;                                \
                 scale:1;                                            \
-                type: RECT;                                         \
-                mouse_events: 1;                                    \
+                type : IMAGE;                                       \
                 repeat_events: 1;                                   \
-                description { state: "default" 0.0;                 \
-                   color: 0 0 0 0;                                  \
-                   rel1 { relative: 0 0; to: "bg"; }                \
-                   rel2 { relative: 1 1; to: "bg"; }                \
-                }                                                   \
-            }                                                       \
-            part { name: "disabler";                                \
-                scale:1;                                            \
-                type: RECT;                                         \
-                repeat_events: 0;                                   \
-                mouse_events: 1;                                    \
-                description { state: "default" 0.0;                 \
-                    color: 0 0 0 0;                                 \
+                description {                                       \
+                    state: "default" 0.0;                           \
                     visible: 0;                                     \
-                    rel1 { relative: 0 0; to: "bg"; }               \
-                    rel2 { relative: 1 1; to: "bg"; }               \
+                    color: R G B 255;                               \
+                    rel1 { to: "bg"; relative: 0.1 0.1; }               \
+                    rel2 { to: "bg"; relative: 0.9 0.9; }               \
+                    image.normal: "round_rectangle_4X4.png";        \
+                    image.border: 14 14 14 14;                      \
+                    image.border_scale: 1;                          \
+                    image.middle: 1;                                \
                 }                                                   \
-                description { state: "disabled" 0.0;                \
+                description { state: "highlight" 0.0;               \
                     inherit: "default" 0.0;                         \
                     visible: 1;                                     \
                 }                                                   \
-            }                                                       \
-            part {                                                  \
-                name: "elm.swallow.content";                        \
-                scale:1;                                            \
-                type: SWALLOW;                                      \
-                description { state: "default" 0.0;                 \
-                    visible: 0;                                     \
+                description { state: "disabled" 0.0;                \
+                    inherit: "highlight" 0.0;                       \
+                    visible: 1;                                     \
+                    color: R G B 102;                               \
                 }                                                   \
             }                                                       \
             part {                                                  \
-                name: "elm.swallow.text";                           \
+                name: "top_spacer";                                 \
                 scale: 1;                                           \
-                type: TEXT;                                         \
-                description { state: "default" 0.0;                 \
+                type: RECT;                                         \
+                description {                                       \
                     visible: 0;                                     \
-                    text {                                          \
-                        min: 0 0;                                   \
-                    }                                               \
+                    min: 0 10;                                      \
+                    max: -1 10;                                     \
+                    align: 0 0;                                     \
+                    rel1 {to: "bg"; relative: 0 0; }                \
+                    rel2 {to: "bg"; relative: 1 1; }                \
                 }                                                   \
             }                                                       \
             part {                                                  \
-                name: "elm.swallow.end";                            \
+                name: "img";                                        \
                 scale: 1;                                           \
-                type: SWALLOW;                                      \
+                type: IMAGE;                                        \
                 description { state: "default" 0.0;                 \
-                    visible: 0;                                     \
-                }                                                   \
-            }                                                       \
-        }                                                           \
-        programs {                                                  \
-            program {                                               \
-                name: "disable";                                    \
-                signal: "elm,state,disabled";                       \
-                source: "elm";                                      \
-                action: STATE_SET "disabled" 0.0;                   \
-                target: "bg";                                       \
-                target: "disabler";                                 \
-            }                                                       \
-            program {                                               \
-                name: "enable";                                     \
-                signal: "elm,state,enabled";                        \
-                source: "elm";                                      \
-                action: STATE_SET "default" 0.0;                    \
-                target: "bg";                                       \
-                target: "disabler";                                 \
-            }                                                       \
-            program {                                               \
-                name: "mouse_down";                                 \
-                signal: "mouse,down,1";                             \
-                source: "over2";                                    \
-                script {                                            \
-                    emit("elm,action,press", "");                   \
+                    rel1 { to: "top_spacer"; relative: 0 1; }       \
+                    rel2 { to: "bg"; relative: 1 1; }               \
+                    fixed: 1 1;                                     \
+                    align: 0.5 0;                                   \
+                    min: 48 48;                                     \
+                    max: 48 48;                                     \
+                    image.normal: IMG_NORMAL;                       \
+                    color: 105 105 105 255;                         \
                 }                                                   \
-                after: "focused";                                   \
-            }                                                       \
-            program {                                               \
-                name: "mouse_up";                                   \
-                signal: "mouse,up,1";                               \
-                source: "over2";                                    \
-                script {                                            \
-                    emit("elm,action,unpress", "");                 \
+                description { state: "disabled" 0.0;                \
+                    inherit: "default" 0.0;                         \
+                    color: 0 255 0 51;                          \
                 }                                                   \
-                after: "unfocused";                                 \
-            }                                                       \
-            program {                                               \
-                name: "mouse_click";                                \
-                signal: "mouse,clicked,1";                          \
-                source: "over2";                                    \
-                script {                                            \
-                    emit("elm,action,click", "");                   \
+                description { state: "highlight" 0.0;               \
+                    inherit: "default" 0.0;                         \
+                    color: 255 0 0 255;                         \
                 }                                                   \
             }                                                       \
-            program {                                               \
-                name: "mouse_down_disabled";                        \
-                signal: "mouse,down,*";                             \
-                source: "disabler";                                 \
-                action: STATE_SET "disabled" 0.0;                   \
-                target: "high_layer";                               \
-                target: "bg";                                       \
-            }                                                       \
-            program {                                               \
-                name: "mouse_up_disabled";                          \
-                signal: "mouse,up,*";                               \
-                source: "disabler";                                 \
-                action: STATE_SET "default" 0.0;                    \
-                target: "high_layer";                               \
-            }                                                       \
-            program {                                               \
-                name: "focused";                                    \
-                action: STATE_SET "highlight" 0.0;                  \
-                target: "high_layer";                               \
-                target: "bg";                                       \
-            }                                                       \
-            program {                                               \
-                name: "unfocused";                                  \
-                action: STATE_SET "default" 0.0;                    \
-                target: "high_layer";                               \
-                target: "bg";                                       \
-            }                                                       \
-        }                                                           \
-    }
-
-#else
-
-#define FOUR_STATE_IMAGE_BUTTON(CLASS_NAME, W, H, IMG_NORMAL, R, G, B)       \
-    group {                                                         \
-        name: __CONCAT("elm/button/base/", CLASS_NAME);             \
-        min: W H;                                                   \
-        max: W H;                                                   \
-        data { item: "focus_highlight" "off"; }                     \
-        images {                                                    \
-            image: IMG_NORMAL COMP;                                 \
-            image: "round_rectangle_4X4.png" COMP;                  \
-        }                                                           \
-        parts {                                                     \
-            part { name: high_layer;                                \
-                scale:1;                                            \
-                type : IMAGE;                                       \
+            part {                                                  \
+                name: "text_spacer";                                \
+                scale: 1;                                           \
+                type: RECT;                                         \
                 repeat_events: 1;                                   \
                 description {                                       \
-                    state: "default" 0.0;                           \
                     visible: 0;                                     \
-                    color: R G B 255;                          \
-                    rel1 { to: "bg"; relative: 0 0; }               \
-                    rel2 { to: "bg"; relative: 1 1; }               \
-                }                                                   \
-                description { state: "highlight" 0.0;               \
-                    inherit: "default" 0.0;                         \
-                    visible: 1;                                     \
-                    image.normal: "round_rectangle_4X4.png";        \
-                    image.border: 4 4 4 4;                          \
-                    image.border_scale: 1;                          \
-                    image.middle: 1;                                \
-                }                                                   \
-                description { state: "disabled" 0.0;                \
-                    inherit: "highlight" 0.0;                       \
-                    visible: 1;                                     \
-                    color: R G B 102;                          \
+                    min: 0 60;                                      \
+                    max: -1 60;                                     \
+                    align: 0 0;                                     \
+                    rel1 {to: "bg"; relative: 0 0; }                \
+                    rel2 {to: "bg"; relative: 1 1; }                \
                 }                                                   \
             }                                                       \
             part {                                                  \
-                name: "bg";                                         \
+                name: "elm.swallow.text";                           \
                 scale: 1;                                           \
-                type: IMAGE;                                        \
+                type: TEXT;                                         \
+                repeat_events: 1;                                   \
                 description { state: "default" 0.0;                 \
-                    min: W H;                                       \
-                    max: W H;                                       \
+                    visible: 1;                                     \
+                    rel1 { to: "text_spacer"; relative: 0 1; }      \
+                    rel2 { to: "bg"; relative: 1 1; }               \
                     fixed: 1 1;                                     \
                     align: 0 0;                                     \
-                    image.normal: IMG_NORMAL;                       \
-                    color: 255 255 255 153;                         \
-                }                                                   \
-                description { state: "disabled" 0.0;                \
-                    inherit: "default" 0.0;                         \
-                    color: 255 255 255 51;                          \
-                }                                                   \
-                description { state: "highlight" 0.0;               \
-                    inherit: "default" 0.0;                         \
-                    color: 255 255 255 255;                         \
+                    color: 0 0 0 255;                               \
+                    text {                                          \
+                        text: "Bookmarks";  \
+                        font: "ATO005";                             \
+                        size: 24;                                   \
+                        align: 0.0 0.0;                             \
+                    }                                               \
                 }                                                   \
             }                                                       \
             part { name: "over2";                                   \
                     visible: 1;                                     \
                 }                                                   \
             }                                                       \
-            part {                                                  \
-                name: "elm.swallow.content";                        \
-                scale:1;                                            \
-                type: SWALLOW;                                      \
-                description { state: "default" 0.0;                 \
-                    visible: 0;                                     \
-                }                                                   \
-            }                                                       \
-            part {                                                  \
-                name: "elm.swallow.text";                           \
-                scale: 1;                                           \
-                type: TEXT;                                         \
-                description { state: "default" 0.0;                 \
-                    visible: 0;                                     \
-                    text {                                          \
-                        min: 0 0;                                   \
-                    }                                               \
-                }                                                   \
-            }                                                       \
-            part {                                                  \
-                name: "elm.swallow.end";                            \
-                scale: 1;                                           \
-                type: SWALLOW;                                      \
-                description { state: "default" 0.0;                 \
-                    visible: 0;                                     \
-                }                                                   \
-            }                                                       \
         }                                                           \
         programs {                                                  \
             program {                                               \
                 }                                                   \
             }                                                       \
             program {                                               \
-                name: "mouse_in_disabled";                          \
-                signal: "mouse,in";                                 \
+                name: "mouse_down_disabled";                        \
+                signal: "mouse,down,*";                             \
                 source: "disabler";                                 \
                 action: STATE_SET "disabled" 0.0;                   \
                 target: "high_layer";                               \
                 target: "bg";                                       \
             }                                                       \
             program {                                               \
-                name: "mouse_out_disabled";                         \
-                signal: "mouse,out";                                \
+                name: "mouse_up_disabled";                          \
+                signal: "mouse,up,*";                               \
                 source: "disabler";                                 \
                 action: STATE_SET "default" 0.0;                    \
                 target: "high_layer";                               \
             }                                                       \
             program {                                               \
                 name: "focused";                                    \
-                signal: "elm,action,focus";                         \
-                source: "elm";                                      \
                 action: STATE_SET "highlight" 0.0;                  \
                 target: "high_layer";                               \
                 target: "bg";                                       \
             }                                                       \
             program {                                               \
                 name: "unfocused";                                  \
-                signal: "elm,action,focus";                         \
-                source: "elm";                                      \
                 action: STATE_SET "default" 0.0;                    \
                 target: "high_layer";                               \
                 target: "bg";                                       \
             }                                                       \
         }                                                           \
     }
-
-#endif
diff --git a/services/WebPageUI/edc/LeftButtonBar.edc b/services/WebPageUI/edc/LeftButtonBar.edc
deleted file mode 100644 (file)
index 4ea80cc..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#include "ImageButton.edc"
-#include "../../../core/Tools/edc/Spacer.edc"
-
-collections { base_scale: 2.0;
-
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_prev", 82, 102, "btn_bar_back_nor.png", 69, 149, 255)
-
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_next", 82, 102, "btn_bar_forward_nor.png", 69, 149, 255)
-
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_reload", 82, 102, "btn_bar_reload_nor.png", 69, 149, 255)
-
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_stop", 82, 102, "btn_bar_stop_nor.png", 69, 149, 255)
-
-    group {
-        name: "left_button_bar";
-
-        parts {
-
-            part {
-                name: "prev_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 1 1;
-                min: 70 70;
-                max: 70 70;
-                rel1 { relative: 0.0 0.0; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-
-        ADD_SPACER("spacer_1", "prev_button", 10, 70)
-
-            part {
-                name: "next_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 1 1;
-                min: 70 70;
-                max: 70 70;
-                rel1 { relative: 1.0 0.0; to: "spacer_1"; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-
-        ADD_SPACER("spacer_2", "next_button", 10, 70)
-
-            part {
-                name: "refresh_stop_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 1 1;
-                min: 70 70;
-                max: 70 70;
-                rel1 { relative: 1.0 0.0; to: "spacer_2"; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-
-    }
-}
-}
diff --git a/services/WebPageUI/edc/LeftButtonBar_mob.edc b/services/WebPageUI/edc/LeftButtonBar_mob.edc
deleted file mode 100644 (file)
index fb58c82..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#include "ImageButton.edc"
-#include "../../../core/Tools/edc/Spacer.edc"
-
-collections { base_scale: 2.6;
-
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_prev", 64, 64, "btn_bar_back_nor.png", 224, 237, 251)
-
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_next", 64, 64, "btn_bar_forward_nor.png", 224, 237, 251)
-
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_reload", 64, 64, "btn_bar_reload_nor.png", 224, 237, 251)
-
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_stop", 64, 64, "btn_bar_stop_nor.png", 224, 237, 251)
-
-    group {
-        name: "left_button_bar";
-
-        parts {
-
-            part {
-                name: "prev_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 1 1;
-                min: 64 64;
-                max: 64 64;
-                rel1 { relative: 0.0 0.0; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-
-        ADD_SPACER("spacer_1", "prev_button", 2, 64)
-
-        part {
-                name: "next_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 1 1;
-                min: 64 64;
-                max: 64 64;
-                rel1 { relative: 1.0 0.0; to: "spacer_1"; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-
-        ADD_SPACER("spacer_2", "next_button", 2, 64)
-
-        part {
-                name: "refresh_stop_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 1 1;
-                min: 64 64;
-                max: 64 64;
-                rel1 { relative: 1.0 0.0; to: "spacer_2"; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-
-    }
-}
-}
index c156b5863e9e1157ea8ed484ebb58454b62eb397..268dc26062692cfa03ae26904dac42d7f3f6d219 100644 (file)
@@ -1,14 +1,42 @@
-#include "../../../core/Tools/edc/InvisibleButton.edc"
+#define PARAGRAPH_SPACER(NAME, RELATIVE_TO, HEIGHT)                 \
+part {  name: NAME;                                                 \
+        type: SPACER;                                               \
+        scale: 1;                                                   \
+        description {                                               \
+            state: "default" 0.0;                                   \
+            rel1 { relative: 0.0 1.0; to: RELATIVE_TO; }            \
+            rel2 { relative: 1.0 1.0; to: RELATIVE_TO; }            \
+            fixed: 1 1;                                             \
+            align: 0 0;                                             \
+            min: 0 HEIGHT;                                          \
+            max: 0 HEIGHT;                                          \
+            }                                                       \
+    }
+
+#define CORNER_SPACER(NAME, RELATIVE_TO, WIDTH, HEIGHT)             \
+part {  name: NAME;                                                 \
+        type: SPACER;                                               \
+        scale: 1;                                                   \
+        description {                                               \
+            state: "default" 0.0;                                   \
+            rel1 { relative: 0.0 0.0; to: RELATIVE_TO; }            \
+            rel2 { relative: 1.0 1.0; to: RELATIVE_TO; offset: WIDTH 0; }\
+            fixed: 1 1;                                             \
+            align: 0 0;                                             \
+            min: WIDTH HEIGHT;                                      \
+            max: WIDTH HEIGHT;                                      \
+            }                                                       \
+    }
 
-collections { base_scale: 2.0;
+collections { base_scale: 2.6;
     styles {
         style {
             name: "message_style";
-            base: "font=Sans font_size=36 color=#676767 wrap=word align=0.5 ellipsis=1.0";
+            base: "font=Sans font_size=36 color=#333333 wrap=word align=0.5";
         }
         style {
             name: "message_hint_style";
-            base: "font=Sans font_size=28 color=#676767 wrap=word align=0.0 ellipsis=1.0";
+            base: "font=Sans font_size=31 color=#747474 wrap=word align=0.0";
         }
     }
     group {
@@ -16,321 +44,415 @@ collections { base_scale: 2.0;
         parts {
             part {
                 name: "message_background";
+                scale: 1;
                 type: RECT;
                 mouse_events: 1;
                 description{
                     state: "default" 0.0;
                     visible: 1;
+                    color: 242 242 242 255;
                     rel1.relative: 0 0;
                     rel2.relative: 1 1;
                 }
             }
             part {
                 name: "inco_message_background";
+                scale: 1;
                 type:RECT;
                 description{
                     state: "default" 0.0;
                     visible: 1;
-                    min: 920 356;
-                    max: 920 356;
+                    color: 242 242 242 255;
+                    min: 580 0;
+                    max: 580 -1;
+                    align: 0.5 0.0;
+                    rel1 {
+                        to: "message_background";
+                        relative: 0 0.2;
+                    }
+                    rel2 {
+                        to: "message_background";
+                        relative: 1 1;
+                    }
+                }
+                description {
+                    state: "landscape" 0.0;
+                    inherit: "default";
+                    min: 916 410;
+                    max: 916 -1;
+                    rel1 {
+                        to: "message_background";
+                        relative: 0 0.1;
+                    }
+                }
+                description {
+                    state: "vertical" 0.0;
+                    inherit: "default";
+                }
+            }
+            part {
+                name: "inco_text";
+                scale: 1;
+                type: TEXTBLOCK;
+                description {
+                    state: "default" 0.0;
+                    visible: 1;
                     fixed: 1 1;
-                    align: 0.5 0.5;
+                    min: 580 38;
+                    max: 580 38;
+                    align: 0.5 0;
+                    rel1 {
+                        relative: 0 0;
+                        to: "inco_message_background";
+                    }
+                    rel2 {
+                        relative: 1 1;
+                        to: "inco_message_background";
+                    }
+                    text {
+                        min: 0 1;
+                        max: 0 1;
+                        style: "message_style";
+                        text: "You've gone incognito.";
+                    }
+                }
+                description {
+                    state: "landscape" 0.0;
+                    inherit: "default";
+                    visible: 1;
+                    min: 916 38;
+                    max: 916 38;
+                }
+                description {
+                    state: "vertical" 0.0;
+                    inherit: "default";
+                    visible: 1;
+                    min: 580 38;
+                    max: 580 38;
+                }
             }
-        }
+
+        PARAGRAPH_SPACER("spacer_1", "inco_text", 38)
+
         part {
-            name: "inco_dot";
-            images {
-                image: "ic_text_form.png" COMP;
-            }
-            type: "IMAGE";
+            name: content_1;
+            type: RECT;
+            scale: 1;
             description {
                 state: "default" 0.0;
-                visible: 1;
-                min: 20 28;
-                max: 20 28;
+                rel1 { relative: 0.0 1.0; to: "spacer_1";}
+                rel2 { relative: 1.0 1.0;}
+                fixed: 1 1;
                 align: 0 0;
-                image.normal: "ic_text_form.png";
-                rel1 {
-                    offset:  0 100;
-                    relative: 0 0;
-                    to: "inco_message_background";
-                }
-                rel2 {
-                    relative: 1 1;
-                    to: "inco_message_background";
+                visible: 0;
+                color: 255 255 255 0;
+                min: 580 160;
+                max: 580 160;
                 }
+            description {
+                state: "landscape" 0.0;
+                inherit: "default";
+                visible: 1;
+                min: 916 84;
+                max: 916 84;
             }
-        }
-        part {
-            name: "inco_dot2";
-            images {
-                image: "ic_text_form.png" COMP;
-            }
-            type: "IMAGE";
             description {
-                state: "default" 0.0;
+                state: "vertical" 0.0;
+                inherit: "default";
                 visible: 1;
-                min: 20 28;
-                max: 20 28;
-                align: 0 0;
-                image.normal: "ic_text_form.png";
-                rel1 {
-                    offset:  0 216;
-                    relative: 0 0;
-                    to: "inco_message_background";
-                }
-                rel2 {
-                    relative: 1 1;
-                    to: "inco_message_background";
-                }
+                min: 580 160;
+                max: 580 160;
             }
         }
+        CORNER_SPACER("corner_1", "content_1", 26, 20)
         part {
-            name: "inco_dot3";
+            name: "inco_dot";
+            scale: 1;
             images {
-                image: "ic_text_form.png" COMP;
+                image: "text_bullet.png" COMP;
             }
             type: "IMAGE";
             description {
                 state: "default" 0.0;
                 visible: 1;
-                min: 20 28;
-                max: 20 28;
+                min: 6 6;
+                max: 6 6;
                 align: 0 0;
-                image.normal: "ic_text_form.png";
+                image.normal: "text_bullet.png";
                 rel1 {
-                    offset:  0 298;
-                    relative: 0 0;
-                    to: "inco_message_background";
+                    relative: 0 1;
+                    to: "corner_1";
                 }
                 rel2 {
                     relative: 1 1;
-                    to: "inco_message_background";
                 }
             }
         }
         part {
-            name: "inco_text";
+            name: "inco_hint";
+            scale: 1;
             type: TEXTBLOCK;
             description {
                 state: "default" 0.0;
                 visible: 1;
                 fixed: 1 1;
-                min: 864 36;
-                max: 864 36;
-                align: 0.5 0;
-                color: 103 103 103 255;
+                min: 554 160;
+                max: 554 160;
+                align: 0 0;
                 rel1 {
-                    relative: 0 0;
-                    to: "inco_message_background";
+                    relative: 1 0;
+                    to: "corner_1";
                 }
                 rel2 {
                     relative: 1 1;
-                    to: "inco_message_background";
                 }
                 text {
                     min: 0 1;
                     max: 0 1;
-                    style: "message_style";
-                    text: "You've gone incognito";
+                    style: "message_hint_style";
+                    text: "You can browse internet in incognito tabs without any traces including browsing history, cookie or search history.";
                 }
             }
+            description {
+                state: "landscape" 0.0;
+                inherit: "default";
+                visible: 1;
+                min: 890 84;
+                max: 890 84;
+            }
+            description {
+                state: "vertical" 0.0;
+                inherit: "default";
+                visible: 1;
+                min: 554 160;
+                max: 554 160;
+            }
         }
+
+        PARAGRAPH_SPACER("spacer_2", "content_1", 66)
+
         part {
-            name: "inco_hint";
-            type: TEXTBLOCK;
+            name: content_2;
+            type: RECT;
+            scale: 1;
             description {
                 state: "default" 0.0;
-                visible: 1;
-                fixed: 0 1;
-                min: 864 68;
-                max: 864 68;
-                color: 103 103 103 179;
+                rel1 { relative: 0.0 1.0; to: "spacer_2";}
+                rel2 { relative: 1.0 1.0;}
+                fixed: 1 1;
                 align: 0 0;
-                rel1 {
-                    relative: 0 0;
-                    offset:  28 90;
-                    to_y: "inco_message_background";
-                    to_x: "inco_dot";
-                }
-                rel2 {
-                    relative: 1 1;
-                    to_y: "inco_message_background";
-                }
-                text {
-                    min: 0 1;
-                    max: 0 1;
-                    style: "message_hint_style";
-                    text: "You can browse internet in incognito tabs without any traces including browsing history, cookie or search history.";
+                visible: 1;
+                color: 255 255 255 0;
+                min: 580 84;
+                max: 580 84;
                 }
+            description {
+                state: "landscape" 0.0;
+                inherit: "default";
+                visible: 1;
+                min: 916 34;
+                max: 916 34;
+            }
+            description {
+                state: "vertical" 0.0;
+                inherit: "default";
+                visible: 1;
+                min: 580 84;
+                max: 580 84;
             }
         }
+        CORNER_SPACER("corner_2", "content_2", 26, 20)
         part {
-            name: "inco_hint2";
-            type: TEXTBLOCK;
+            name: "inco_dot2";
+            scale: 1;
+            images {
+                image: "text_bullet.png" COMP;
+            }
+            type: "IMAGE";
             description {
                 state: "default" 0.0;
                 visible: 1;
-                fixed: 1 1;
-                min: 864 28;
-                max: 864 28;
-                color: 103 103 103 179;
-                align: 0.0 0;
+                min: 6 6;
+                max: 6 6;
+                align: 0 0;
+                image.normal: "text_bullet.png";
                 rel1 {
-                    relative: 0 0;
-                    offset:  28 206;
-                    to_y: "inco_message_background";
-                    to_x: "inco_dot2";
+                    relative: 0 1;
+                    to: "corner_2";
                 }
                 rel2 {
                     relative: 1 1;
-                    to_y: "inco_message_background";
-                }
-                text {
-                    min: 0 1;
-                    max: 0 1;
-                    style: "message_hint_style";
-                    text: "Bookmarks or downloaded files will not be removed.";
                 }
             }
         }
         part {
-            name: "inco_hint3";
+            name: "inco_hint2";
+            scale: 1;
             type: TEXTBLOCK;
             description {
                 state: "default" 0.0;
                 visible: 1;
                 fixed: 1 1;
-                min: 864 68;
-                max: 864 68;
-                color: 103 103 103 179;
-                align: 0.0 0;
+                min: 554 84;
+                max: 554 84;
+                align: 0 0;
                 rel1 {
-                    relative: 0 0;
-                    offset:  28 288;
-                    to_y: "inco_message_background";
-                    to_x: "inco_dot3";
+                    relative: 1 0;
+                    to: "corner_2";
                 }
                 rel2 {
                     relative: 1 1;
-                    to_y: "inco_message_background";
                 }
                 text {
                     min: 0 1;
                     max: 0 1;
                     style: "message_hint_style";
-                    text: "You can not remove traces from your employer, internet service provider or websites you visit even you go incognito.";
+                    text: "Bookmarks or downloaded files will not be removed.";
                 }
             }
+            description {
+                state: "landscape" 0.0;
+                inherit: "default";
+                visible: 1;
+                min: 890 34;
+                max: 890 34;
+            }
+            description {
+                state: "vertical" 0.0;
+                inherit: "default";
+                visible: 1;
+                min: 554 84;
+                max: 554 84;
+            }
         }
+
+        PARAGRAPH_SPACER("spacer_3", "content_2", 66)
+
         part {
-            name: "bookmarkmanager_button";
-            scale:1;
-            mouse_events: 1;
+            name: content_3;
             type: RECT;
+            scale: 1;
             description {
                 state: "default" 0.0;
-                visible: 1;
+                rel1 { relative: 0.0 1.0; to: "spacer_3";}
+                rel2 { relative: 1.0 1.0;}
                 fixed: 1 1;
-                align: 0.5 1.0;
-                min: 348 65;
-                max: 348 65;
-                color: 192 192 192 255;
-                rel1 { relative: 0.0 0.0; to: "message_background";}
-                rel2 { relative: 1.0 1.0; to: "message_background"; offset: 0 -60;}
-            }
+                align: 0 0;
+                visible: 1;
+                color: 255 255 255 0;
+                min: 580 160;
+                max: 580 160;
+                }
             description {
-                state: "highlight" 0.0;
-                inherit: "default" 0.0;
-                color_class: focusBgColor;
+                state: "landscape" 0.0;
+                inherit: "default";
                 visible: 1;
+                min: 916 84;
+                max: 916 84;
             }
             description {
-                state: "focus" 0.0;
-                inherit: "default" 0.0;
-                color_class: focusbtBgColor;
+                state: "vertical" 0.0;
+                inherit: "default";
                 visible: 1;
+                min: 580 160;
+                max: 580 160;
             }
         }
+        CORNER_SPACER("corner_3", "content_3", 26, 20)
         part {
-            name: "bookmarkmanager_text";
-            type: TEXT;
+            name: "inco_dot3";
             scale: 1;
+            images {
+                image: "text_bullet.png" COMP;
+            }
+            type: "IMAGE";
             description {
                 state: "default" 0.0;
                 visible: 1;
-                fixed: 1 1;
-                rel1 { relative: 0.0 0.0;to: "bookmarkmanager_button";}
-                rel2 { relative: 1.0 1.0;to: "bookmarkmanager_button";}
-                color: 0 0 0 255;
-                text {
-                    text: "Bookmark Manager";
-                    font: "Sans";
-                    size: 27;
-                    align: 0.5 0.5;
+                min: 6 6;
+                max: 6 6;
+                align: 0 0;
+                image.normal: "text_bullet.png";
+                rel1 {
+                    relative: 0 1;
+                    to: "corner_3";
+                }
+                rel2 {
+                    relative: 1 1;
                 }
             }
         }
         part {
-            name: "bookmarkmanager_over";
-            scale:1;
-            type: SWALLOW;
-            mouse_events: 1;
+            name: "inco_hint3";
+            scale: 1;
+            type: TEXTBLOCK;
             description {
                 state: "default" 0.0;
                 visible: 1;
-                align: 0 0;
                 fixed: 1 1;
-                min: 348 65;
-                max: 348 65;
-                rel1 { relative: 0.0 0.0; to: "bookmarkmanager_button";}
-                rel2 { relative: 1.0 1.0; to: "bookmarkmanager_button";}
-                color_class: transparent;
+                min: 554 160;
+                max: 554 160;
+                align: 0.0 0;
+                rel1 {
+                    relative: 1 0;
+                    to: "corner_3";
+                }
+                rel2 {
+                    relative: 1 1;
+                }
+                text {
+                    min: 0 1;
+                    max: 0 1;
+                    style: "message_hint_style";
+                    text: "You can not remove traces from your employer, internet service provider or websites you visit even you go incognito.";
+                }
             }
-        }
-        part {
-            name: "bookmarkmanager_click";
-            scale:1;
-            type: SWALLOW;
-            mouse_events: 1;
             description {
-                state: "default" 0.0;
+                state: "landscape" 0.0;
+                inherit: "default";
                 visible: 1;
-                align: 0 0;
-                fixed: 1 1;
-                min: 348 65;
-                max: 348 65;
-                rel1 { relative: 0.0 0.0; to: "bookmarkmanager_over";}
-                rel2 { relative: 1.0 1.0; to: "bookmarkmanager_over";}
+                min: 890 84;
+                max: 890 84;
             }
-        }
-    }//parts
-    programs{
-        program {
-            name: "mouse_click_bookmarkmanager";
-            signal: "mouse,clicked,1";
-            source: "bookmarkmanager_over";
-            script {
-              emit("elm,action,click", "");
+            description {
+                state: "vertical" 0.0;
+                inherit: "default";
+                visible: 1;
+                min: 554 160;
+                max: 554 160;
             }
         }
-        program {
-            name: "mouse_in_bookmarkmanager_click";
-            signal: "mouse,in";
-            source: "bookmarkmanager_*";
-            action: STATE_SET "highlight" 0.0;
-            target: "bookmarkmanager_button";
-            target: "bookmarkmanager_over";
-            target: "bookmarkmanager_text";
         }
-        program {
-            name: "mouse_out_bookmarkmanager_click";
-            signal: "mouse,out";
-            source: "bookmarkmanager_*";
-            action: STATE_SET "default" 0.0;
-            target: "bookmarkmanager_button";
-            target: "bookmarkmanager_over";
-            target: "bookmarkmanager_text";
+
+        programs {
+            program {
+                name: "show_incognito_landscape";
+                signal: "show_incognito_landscape";
+                source: "ui";
+                action: STATE_SET "landscape" 0.0;
+                target: "inco_message_background";
+                target: "inco_text";
+                target: "content_1";
+                target: "content_2";
+                target: "content_3";
+                target: "inco_hint";
+                target: "inco_hint2";
+                target: "inco_hint3";
+            }
+            program {
+                name: "show_incognito_vertical";
+                signal: "show_incognito_vertical";
+                source: "ui";
+                action: STATE_SET "vertical" 0.0;
+                target: "inco_message_background";
+                target: "inco_text";
+                target: "content_1";
+                target: "content_2";
+                target: "content_3";
+                target: "inco_hint";
+                target: "inco_hint2";
+                target: "inco_hint3";
+            }
         }
     }
 }
diff --git a/services/WebPageUI/edc/PrivateMode_mob.edc b/services/WebPageUI/edc/PrivateMode_mob.edc
deleted file mode 100644 (file)
index 268dc26..0000000
+++ /dev/null
@@ -1,458 +0,0 @@
-#define PARAGRAPH_SPACER(NAME, RELATIVE_TO, HEIGHT)                 \
-part {  name: NAME;                                                 \
-        type: SPACER;                                               \
-        scale: 1;                                                   \
-        description {                                               \
-            state: "default" 0.0;                                   \
-            rel1 { relative: 0.0 1.0; to: RELATIVE_TO; }            \
-            rel2 { relative: 1.0 1.0; to: RELATIVE_TO; }            \
-            fixed: 1 1;                                             \
-            align: 0 0;                                             \
-            min: 0 HEIGHT;                                          \
-            max: 0 HEIGHT;                                          \
-            }                                                       \
-    }
-
-#define CORNER_SPACER(NAME, RELATIVE_TO, WIDTH, HEIGHT)             \
-part {  name: NAME;                                                 \
-        type: SPACER;                                               \
-        scale: 1;                                                   \
-        description {                                               \
-            state: "default" 0.0;                                   \
-            rel1 { relative: 0.0 0.0; to: RELATIVE_TO; }            \
-            rel2 { relative: 1.0 1.0; to: RELATIVE_TO; offset: WIDTH 0; }\
-            fixed: 1 1;                                             \
-            align: 0 0;                                             \
-            min: WIDTH HEIGHT;                                      \
-            max: WIDTH HEIGHT;                                      \
-            }                                                       \
-    }
-
-collections { base_scale: 2.6;
-    styles {
-        style {
-            name: "message_style";
-            base: "font=Sans font_size=36 color=#333333 wrap=word align=0.5";
-        }
-        style {
-            name: "message_hint_style";
-            base: "font=Sans font_size=31 color=#747474 wrap=word align=0.0";
-        }
-    }
-    group {
-        name: "inco_message";
-        parts {
-            part {
-                name: "message_background";
-                scale: 1;
-                type: RECT;
-                mouse_events: 1;
-                description{
-                    state: "default" 0.0;
-                    visible: 1;
-                    color: 242 242 242 255;
-                    rel1.relative: 0 0;
-                    rel2.relative: 1 1;
-                }
-            }
-            part {
-                name: "inco_message_background";
-                scale: 1;
-                type:RECT;
-                description{
-                    state: "default" 0.0;
-                    visible: 1;
-                    color: 242 242 242 255;
-                    min: 580 0;
-                    max: 580 -1;
-                    align: 0.5 0.0;
-                    rel1 {
-                        to: "message_background";
-                        relative: 0 0.2;
-                    }
-                    rel2 {
-                        to: "message_background";
-                        relative: 1 1;
-                    }
-                }
-                description {
-                    state: "landscape" 0.0;
-                    inherit: "default";
-                    min: 916 410;
-                    max: 916 -1;
-                    rel1 {
-                        to: "message_background";
-                        relative: 0 0.1;
-                    }
-                }
-                description {
-                    state: "vertical" 0.0;
-                    inherit: "default";
-                }
-            }
-            part {
-                name: "inco_text";
-                scale: 1;
-                type: TEXTBLOCK;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    fixed: 1 1;
-                    min: 580 38;
-                    max: 580 38;
-                    align: 0.5 0;
-                    rel1 {
-                        relative: 0 0;
-                        to: "inco_message_background";
-                    }
-                    rel2 {
-                        relative: 1 1;
-                        to: "inco_message_background";
-                    }
-                    text {
-                        min: 0 1;
-                        max: 0 1;
-                        style: "message_style";
-                        text: "You've gone incognito.";
-                    }
-                }
-                description {
-                    state: "landscape" 0.0;
-                    inherit: "default";
-                    visible: 1;
-                    min: 916 38;
-                    max: 916 38;
-                }
-                description {
-                    state: "vertical" 0.0;
-                    inherit: "default";
-                    visible: 1;
-                    min: 580 38;
-                    max: 580 38;
-                }
-            }
-
-        PARAGRAPH_SPACER("spacer_1", "inco_text", 38)
-
-        part {
-            name: content_1;
-            type: RECT;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                rel1 { relative: 0.0 1.0; to: "spacer_1";}
-                rel2 { relative: 1.0 1.0;}
-                fixed: 1 1;
-                align: 0 0;
-                visible: 0;
-                color: 255 255 255 0;
-                min: 580 160;
-                max: 580 160;
-                }
-            description {
-                state: "landscape" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 916 84;
-                max: 916 84;
-            }
-            description {
-                state: "vertical" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 580 160;
-                max: 580 160;
-            }
-        }
-        CORNER_SPACER("corner_1", "content_1", 26, 20)
-        part {
-            name: "inco_dot";
-            scale: 1;
-            images {
-                image: "text_bullet.png" COMP;
-            }
-            type: "IMAGE";
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                min: 6 6;
-                max: 6 6;
-                align: 0 0;
-                image.normal: "text_bullet.png";
-                rel1 {
-                    relative: 0 1;
-                    to: "corner_1";
-                }
-                rel2 {
-                    relative: 1 1;
-                }
-            }
-        }
-        part {
-            name: "inco_hint";
-            scale: 1;
-            type: TEXTBLOCK;
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                fixed: 1 1;
-                min: 554 160;
-                max: 554 160;
-                align: 0 0;
-                rel1 {
-                    relative: 1 0;
-                    to: "corner_1";
-                }
-                rel2 {
-                    relative: 1 1;
-                }
-                text {
-                    min: 0 1;
-                    max: 0 1;
-                    style: "message_hint_style";
-                    text: "You can browse internet in incognito tabs without any traces including browsing history, cookie or search history.";
-                }
-            }
-            description {
-                state: "landscape" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 890 84;
-                max: 890 84;
-            }
-            description {
-                state: "vertical" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 554 160;
-                max: 554 160;
-            }
-        }
-
-        PARAGRAPH_SPACER("spacer_2", "content_1", 66)
-
-        part {
-            name: content_2;
-            type: RECT;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                rel1 { relative: 0.0 1.0; to: "spacer_2";}
-                rel2 { relative: 1.0 1.0;}
-                fixed: 1 1;
-                align: 0 0;
-                visible: 1;
-                color: 255 255 255 0;
-                min: 580 84;
-                max: 580 84;
-                }
-            description {
-                state: "landscape" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 916 34;
-                max: 916 34;
-            }
-            description {
-                state: "vertical" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 580 84;
-                max: 580 84;
-            }
-        }
-        CORNER_SPACER("corner_2", "content_2", 26, 20)
-        part {
-            name: "inco_dot2";
-            scale: 1;
-            images {
-                image: "text_bullet.png" COMP;
-            }
-            type: "IMAGE";
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                min: 6 6;
-                max: 6 6;
-                align: 0 0;
-                image.normal: "text_bullet.png";
-                rel1 {
-                    relative: 0 1;
-                    to: "corner_2";
-                }
-                rel2 {
-                    relative: 1 1;
-                }
-            }
-        }
-        part {
-            name: "inco_hint2";
-            scale: 1;
-            type: TEXTBLOCK;
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                fixed: 1 1;
-                min: 554 84;
-                max: 554 84;
-                align: 0 0;
-                rel1 {
-                    relative: 1 0;
-                    to: "corner_2";
-                }
-                rel2 {
-                    relative: 1 1;
-                }
-                text {
-                    min: 0 1;
-                    max: 0 1;
-                    style: "message_hint_style";
-                    text: "Bookmarks or downloaded files will not be removed.";
-                }
-            }
-            description {
-                state: "landscape" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 890 34;
-                max: 890 34;
-            }
-            description {
-                state: "vertical" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 554 84;
-                max: 554 84;
-            }
-        }
-
-        PARAGRAPH_SPACER("spacer_3", "content_2", 66)
-
-        part {
-            name: content_3;
-            type: RECT;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                rel1 { relative: 0.0 1.0; to: "spacer_3";}
-                rel2 { relative: 1.0 1.0;}
-                fixed: 1 1;
-                align: 0 0;
-                visible: 1;
-                color: 255 255 255 0;
-                min: 580 160;
-                max: 580 160;
-                }
-            description {
-                state: "landscape" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 916 84;
-                max: 916 84;
-            }
-            description {
-                state: "vertical" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 580 160;
-                max: 580 160;
-            }
-        }
-        CORNER_SPACER("corner_3", "content_3", 26, 20)
-        part {
-            name: "inco_dot3";
-            scale: 1;
-            images {
-                image: "text_bullet.png" COMP;
-            }
-            type: "IMAGE";
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                min: 6 6;
-                max: 6 6;
-                align: 0 0;
-                image.normal: "text_bullet.png";
-                rel1 {
-                    relative: 0 1;
-                    to: "corner_3";
-                }
-                rel2 {
-                    relative: 1 1;
-                }
-            }
-        }
-        part {
-            name: "inco_hint3";
-            scale: 1;
-            type: TEXTBLOCK;
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                fixed: 1 1;
-                min: 554 160;
-                max: 554 160;
-                align: 0.0 0;
-                rel1 {
-                    relative: 1 0;
-                    to: "corner_3";
-                }
-                rel2 {
-                    relative: 1 1;
-                }
-                text {
-                    min: 0 1;
-                    max: 0 1;
-                    style: "message_hint_style";
-                    text: "You can not remove traces from your employer, internet service provider or websites you visit even you go incognito.";
-                }
-            }
-            description {
-                state: "landscape" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 890 84;
-                max: 890 84;
-            }
-            description {
-                state: "vertical" 0.0;
-                inherit: "default";
-                visible: 1;
-                min: 554 160;
-                max: 554 160;
-            }
-        }
-        }
-
-        programs {
-            program {
-                name: "show_incognito_landscape";
-                signal: "show_incognito_landscape";
-                source: "ui";
-                action: STATE_SET "landscape" 0.0;
-                target: "inco_message_background";
-                target: "inco_text";
-                target: "content_1";
-                target: "content_2";
-                target: "content_3";
-                target: "inco_hint";
-                target: "inco_hint2";
-                target: "inco_hint3";
-            }
-            program {
-                name: "show_incognito_vertical";
-                signal: "show_incognito_vertical";
-                source: "ui";
-                action: STATE_SET "vertical" 0.0;
-                target: "inco_message_background";
-                target: "inco_text";
-                target: "content_1";
-                target: "content_2";
-                target: "content_3";
-                target: "inco_hint";
-                target: "inco_hint2";
-                target: "inco_hint3";
-            }
-        }
-    }
-}
index ba91fc94637c2f94f54e8b2b1da82a215fd57f3f..6fd236b19411d916fc812393aac10323fb8fe979 100644 (file)
@@ -1,8 +1,9 @@
 #include "ImageButton.edc"
 #include "../../../core/Tools/edc/Spacer.edc"
-collections { base_scale: 2.0;
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_tab", 82, 102, "btn_bar_manager_nor.png", 69, 149, 255)
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_setting", 82, 102, "btn_bar_more_nor.png", 69, 149, 255)
+collections { base_scale: 2.6;
+
+    IMAGE_BUTTON("add_tab", 50, 50, "internet_ic_add.png")
+
     group {
         name: "right_button_bar";
         parts {
@@ -14,73 +15,12 @@ collections { base_scale: 2.0;
                     state: "default" 0.0;
                     visible: 1;
                     fixed: 1 1;
-                align: 0.0 0.0;
-                min: 70 70;
-                max: 70 70;
-                rel1 { relative: 0.0 0.0; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-        part {
-            name: "tabs_number";
-            type: TEXT;
-            scale: 1;
-            repeat_events: 1;
-            description{
-                state: "default" 0.0;
-                visible: 1;
-                fixed: 1 1;
-                align: 0.0 0.0;
-                min: 70 70;
-                max: 70 70;
-                color: 86 86 86 255;
-                rel1 { relative: 0.0 0.0; to: "tab_button"; offset: 5 13; }
-                rel2 { relative: 1.0 1.0; to: "tab_button"; }
-                text {
-                    text: "";
-                    font: "Tizen:style=Bold";
-                    size: 19;
-                    align: 0.5 0.5;
+                    align: 0.0 0.0;
+                    min: 100 106;
+                    max: 100 106;
+                    rel1 { relative: 0.0 0.0; }
                 }
             }
         }
-        ADD_SPACER("spacer_1", "tab_button", 10, 70)
-            part {
-                name: "setting_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    fixed: 1 1;
-                align: 0.0 0.0;
-                min: 70 70;
-                max: 70 70;
-                fixed: 1 1;
-                rel1 { relative: 1.0 0.0; to: "spacer_1"; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
     }
 }
-}
diff --git a/services/WebPageUI/edc/RightButtonBar_mob.edc b/services/WebPageUI/edc/RightButtonBar_mob.edc
deleted file mode 100644 (file)
index 2cc431b..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-#include "ImageButton.edc"
-#include "../../../core/Tools/edc/Spacer.edc"
-collections { base_scale: 2.6;
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_tab", 64, 64, "btn_bar_manager_nor.png", 224, 237, 251)
-    FOUR_STATE_IMAGE_BUTTON("browser/toolbar_setting", 64, 64, "btn_bar_more_nor.png", 224, 237, 251)
-    group {
-        name: "right_button_bar";
-        parts {
-            part {
-                name: "tab_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    fixed: 1 1;
-                align: 0.0 0.0;
-                min: 64 64;
-                max: 64 64;
-                rel1 { relative: 0.0 0.0; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-        part {
-            name: "tabs_number";
-            type: TEXT;
-            scale: 1;
-            repeat_events: 1;
-            description{
-                state: "default" 0.0;
-                visible: 1;
-                fixed: 1 1;
-                align: 0.0 0.0;
-                min: 64 64;
-                max: 64 64;
-                color: 86 86 86 255;
-                rel1 { relative: 0.0 0.0; to: "tab_button"; }
-                rel2 { relative: 1.0 1.0; to: "tab_button"; }
-                text {
-                    text: "";
-                    font: "Tizen:style=Bold";
-                    size: 19;
-                    align: 0.5 0.5;
-                }
-            }
-        }
-
-        ADD_SPACER("spacer_1", "tab_button", 2, 64)
-
-        part {
-                name: "setting_button";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    fixed: 1 1;
-                align: 0.0 0.0;
-                min: 64 64;
-                max: 64 64;
-                fixed: 1 1;
-                rel1 { relative: 1.0 0.0; to: "spacer_1"; }
-                rel2 { relative: 0.0 0.0; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-    }
-}
-}
index efb86c4937615e08f4a7821059dcd1c45915063e..17403b4c68c8aa83345e8b0bf1814fb49e6b655c 100755 (executable)
@@ -1,7 +1,31 @@
-#define URI_INPUTBOX_LENGTH 1720
-#define URI_INPUTBOX_LENGTH_SMALL 1460
-#define URI_INPUTBOX_WIDTH 82
-collections { base_scale: 2.0;
+#define URI_INPUTBOX_LENGTH 518
+#define URI_INPUTBOX_LENGTH_ENLARGED 656
+#define URI_INPUTBOX_LENGTH_SMALL 320
+#define URI_INPUTBOX_HEIGHT 80
+#define BORDER_WIDTH 5
+
+#define RESOURCE_IMAGE_LOSSY( FILE_NAME ) \
+   group { \
+      name: FILE_NAME; \
+      images.image: FILE_NAME LOSSY 100; \
+      parts { \
+         part { name: "image"; \
+            description { \
+               state: "default" 0.0; \
+               image.normal: FILE_NAME; \
+               aspect: 1 1; \
+               aspect_preference: BOTH; \
+            } \
+         } \
+      } \
+   }
+
+collections { base_scale: 2.6;
+RESOURCE_IMAGE_LOSSY("input_ic_incognito.png")
+RESOURCE_IMAGE_LOSSY("toolbar_input_ic_cancel.png")
+RESOURCE_IMAGE_LOSSY("ic_lock.png")
+RESOURCE_IMAGE_LOSSY("ic_lock_unsecure.png")
+RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
     group {
         name: "elm/entry/selection/browser_entry";
         parts {
@@ -12,7 +36,7 @@ collections { base_scale: 2.0;
                 mouse_events: 0;
                 description {
                     state: "default" 0.0;
-                    color: 255 255 255 255;
+                    color: 224 237 251 255;
                 }
             }
         }
@@ -27,9 +51,9 @@ collections { base_scale: 2.0;
                 mouse_events: 0;
                 description {
                     state: "default" 0.0;
-                    color: 22 120 237 255;
-                    min: 2 36;
-                    max: 2 36;
+                    color: 10 132 229 255;
+                    min: 3 38;
+                    max: 3 38;
                     visible: 0;
                 }
                 description {
@@ -46,6 +70,7 @@ collections { base_scale: 2.0;
                 source: "elm";
                 action: STATE_SET "focused" 0.0;
                 target: "bg";
+                after: "cursor_show";
             }
             program {
                 name: "unfocused";
@@ -53,31 +78,68 @@ collections { base_scale: 2.0;
                 source: "elm";
                 action: STATE_SET "default" 0.0;
                 target: "bg";
+                after: "stop_action";
+            }
+            program { name: "cursor_show";
+                action: STATE_SET "focused" 0.0;
+                target: "bg";
+                after: "cursor_show_timer";
+            }
+            program { name: "cursor_hide";
+                action: STATE_SET "default" 0.0;
+                target: "bg";
+                transition: SINUSOIDAL 0.2;
+                after: "cursor_hide_timer";
+            }
+            program { name: "cursor_show_timer";
+                in: 0.4 0.0;
+                after: "cursor_hide";
+            }
+            program { name: "cursor_hide_timer";
+                in: 0.3 0.0;
+                after: "cursor_show";
+            }
+            program {
+                name: "stop_action";
+                action: ACTION_STOP;
+                target: "cursor_show";
+                target: "cursor_hide";
+                target: "cursor_show_timer";
+                target: "cursor_hide_timer";
             }
         }
     }
     group {
         name: "elm/entry/base-single/uri_entry";
+        color_classes {
+            color_class {
+                name: "guide_text_unselected_color";
+                color: 51 51 51 0.5;
+            }
+        }
         styles {
             style {
                 name: "browser-entry-uri-style-unselected";
-                base: "font=Sans:style=SVD_Medium font_size="42" wrap=none color=#969696";
+                base: "font=Sans:style=SVD_Medium font_size="40" wrap=none color=#969696";
                 tag:  "br" "";
             }
             style {
                 name: "browser-entry-uri-style-selected";
-                base: "font=Sans:style=SVD_Medium font_size="42" wrap=none ellipsis="0.0" color=#4088d3";
+                base: "font=Sans:style=SVD_Medium font_size="40" wrap=none color=#4088d3";
                 tag:  "br" "";
             }
             style {
                 name: "browser-entry-uri-style-selected-incognito";
-                base: "font=Sans:style=SVD_Medium font_size="42" wrap=none ellipsis="0.0" right_margin="60" color=#4088d3";
+                base: "font=Sans:style=SVD_Medium font_size="40" wrap=none color=#4088d3";
                 tag:  "br" "";
             }
         }
         data {
             item: focus_highlight "off";
         }
+        images {
+            image: "input_ic_incognito.png" COMP;
+        }
         parts {
 
             part {
@@ -87,29 +149,11 @@ collections { base_scale: 2.0;
                 mouse_events: 0;
                 description {
                     state: "default" 0.0;
-                    color: 255 255 255 255;
-                }
-            }
-
-            part {
-                name: "elm.guide";
-                scale:1;
-                type: TEXTBLOCK;
-                mouse_events: 0;
-                description {
-                    state: "default" 0.0;
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
+                    color: 0 0 0 0;
+                    fixed: 0 1;
+                    min: 0 URI_INPUTBOX_HEIGHT;
+                    max: -1 URI_INPUTBOX_HEIGHT;
                     align: 0.0 0.0;
-                    text {
-                        style: "browser-entry-uri-style-unselected";
-                        min: 0 1;
-                    }
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
                 }
             }
             part {
@@ -122,19 +166,19 @@ collections { base_scale: 2.0;
             }
             part {
                 name: "elm.text";
-                scale:1;
+                scale: 1;
                 multiline: 0;
                 entry_mode: EDITABLE;
                 select_mode: DEFAULT;
                 cursor_mode: BEFORE;
                 type: TEXTBLOCK;
-                clip_to: "label.text.clip";
                 source: "elm/entry/selection/browser_entry";
                 source4: "elm/entry/cursor/browser_entry";
                 description {
                     state: "default" 0.0;
-                    max: -1 82;
+                    rel1.to: "bg";
                     rel1.relative: 0.0 0.0;
+                    rel2.to: "bg";
                     rel2.relative: 1.0 1.0;
                     align: 0.0 0.0;
                     text {
@@ -144,9 +188,6 @@ collections { base_scale: 2.0;
                 }
                 description {
                     state: "incognito" 0.0;
-                    max: -1 82;
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
                     align: 0.0 0.0;
                     text {
                         style: "browser-entry-uri-style-selected-incognito";
@@ -154,6 +195,31 @@ collections { base_scale: 2.0;
                     }
                 }
             }
+            part {
+                name: "elm.guide";
+                scale:1;
+                type: TEXTBLOCK;
+                mouse_events: 0;
+                clip_to: "label.text.clip";
+                source4: "elm/entry/cursor/browser_entry";
+                description {
+                    state: "default" 0.0;
+                    rel1.to: "bg";
+                    rel1.relative: 0.0 0.0;
+                    rel1.offset: BORDER_WIDTH 0;
+                    rel2.relative: 1.0 1.0;
+                    max: -1 URI_INPUTBOX_HEIGHT;
+                    text {
+                        style: "browser-entry-uri-style-unselected";
+                        min: 0 1;
+                    }
+                }
+                description {
+                    state: "hidden" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 0;
+                }
+            }
         }
         programs {
             program {
@@ -181,8 +247,6 @@ collections { base_scale: 2.0;
                 name: "normal_mode_uri_entry";
                 source: "ui";
                 signal: "uri_entry_normal";
-                action: STATE_SET "default" 0.0;
-                target: "elm.text";
             }
             program {
                 name: "incognito_mode_uri_entry";
@@ -195,97 +259,388 @@ collections { base_scale: 2.0;
     }//group
 
     group {
-        name: "elm/button/base/entry_btn";
+        name: "uri_entry_layout";
         parts {
             part {
-                name: "bg";
+                name: "uri_entry_space";
+                type : RECT;
+                repeat_events: 1;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 1;
+                    align: 0.0 0.0;
+                    min: 0 URI_INPUTBOX_HEIGHT;
+                    max: -1 URI_INPUTBOX_HEIGHT;
+                    fixed: 0 1;
+                    color: 244 244 244 255;
+                    rel1 { relative: 0.0 0.0; }
+                    rel2 { relative: 1.0 1.0; }
+                }
+                description {
+                    state: "moveright" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
+                description {
+                    state: "hidden" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 0;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
+            }
+            part {
+                name: "over_icon";
+                scale: 1;
                 type: RECT;
+                mouse_events: 0;
                 description {
                     state: "default" 0.0;
-                    color: 0 0 0 0;
+                    min: 0 0;
+                    max: 0 0;
+                    rel1.to: "uri_entry_space";
+                    rel1.relative: 0.0 0.0;
+                    rel2.to: "uri_entry_space";
+                    rel2.relative: 1.0 1.0;
+                    align: 0 0;
+                    color: 244 244 244 255;
+                }
+                description {
+                    state: "incognito" 0.0;
+                    inherit: "default" 0.0;
+                    min: 38 URI_INPUTBOX_HEIGHT;
+                    max: 38 URI_INPUTBOX_HEIGHT;
+                }
+            }
+            part {
+                name: "incognito_icon";
+                type: IMAGE;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    min: 0 0;
+                    max: 0 0;
+                    rel1 {
+                        to: "over_icon";
+                        relative: 0.0 0.0;
+                    }
+                    rel2 {
+                        relative: 1.0 1.0;
+                    }
+                    image.normal: "input_ic_incognito.png";
+                    align: 0 0.5;
+                }
+                description {
+                    state: "incognito" 0.0;
+                    inherit: "default" 0.0;
+                    min: 38 38;
+                    max: 38 38;
                     visible: 1;
                 }
             }
-        }
-        programs {
-            program {
-                name: "mouse_click";
-                signal: "mouse,clicked,1";
-                source: "bg";
-                script {
-                    emit("elm,action,click", "");
+            part {
+                name: "over";
+                type: RECT;
+                mouse_events: 1;
+                repeat_events: 1;
+                description {
+                    state: "default" 0.0;
+                    color: 0 0 0 0;
+                    rel1 { relative: 0 0; }
+                    rel2 { relative: 1 1; }
+                }
+            }
+            part {
+                name: "right_icon_bg";
+                scale:1;
+                type: RECT;
+                mouse_events: 1;
+                description {
+                    state: "default" 0.0;
+                    min: 0 URI_INPUTBOX_HEIGHT;
+                    max: 0 URI_INPUTBOX_HEIGHT;
+                    visible: 0;
+                    color: 0 0 0 0;
+                    fixed: 0 1;
+                    align: 1 0;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    fixed: 0 1;
+                    align: 1 1;
+                    min: URI_INPUTBOX_HEIGHT URI_INPUTBOX_HEIGHT;
+                    max: URI_INPUTBOX_HEIGHT URI_INPUTBOX_HEIGHT;
+                    rel1 {
+                        to: "uri_entry_space";
+                        relative: 0.0 0.0;
+                    }
+                    rel2 {
+                        to: "uri_entry_space";
+                        relative: 1.0 1.0;
+                    }
+                    visible: 1;
+                    color: 244 244 244 255;
+                }
+                description {
+                    state: "focused" 0.0;
+                    inherit: "visible" 0.0;
+                    visible: 1;
+                    color: 224 237 251 255;
+                }
+                description {
+                    state: "moveright" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 0;
                 }
             }
-        }
-    }
-
-
-    group {
-        name: "uri_entry_layout";
-        parts {
             part {
-                name: "spacer_1";
-                type: SPACER;
+                name: "uri_entry_swallow";
+                type : SWALLOW;
+                mouse_events: 1;
                 scale: 1;
                 description {
                     state: "default" 0.0;
-                    rel1 { relative: 0.0 0.0; }
-                    rel2 { relative: 0.0 0.0; offset: 15 0; }
+                    visible: 1;
                     align: 0.0 0.0;
                     fixed: 1 1;
-                min: 1 102;
-                max: 1 102;
+                    rel1 { relative: 1.0 0.0; to: "over_icon"; }
+                    rel2 { relative: 0.0 1.0; to: "right_icon_bg"; }
+                    min: 0 URI_INPUTBOX_HEIGHT;
+                    max: -1 URI_INPUTBOX_HEIGHT;
+                }
+                description {
+                    state: "moveright" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
+                description {
+                    state: "hidden" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 0;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
             }
-        }
-        part {
-            name: "uri_entry_swallow";
-            type : SWALLOW;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                color: 255 255 255 255;
-                align: 0.0 0.0;
-                min: URI_INPUTBOX_LENGTH URI_INPUTBOX_WIDTH;
-                max: URI_INPUTBOX_LENGTH URI_INPUTBOX_WIDTH;
-                fixed: 1 1;
-                rel1 { relative: 1 0; to: "spacer_1"; }
-                rel2 { relative: 1 1; to: "spacer_1"; }
-            }
-            description {
-                state: "moveright" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-                min: URI_INPUTBOX_LENGTH_SMALL URI_INPUTBOX_WIDTH;
-                max: URI_INPUTBOX_LENGTH_SMALL URI_INPUTBOX_WIDTH;
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
+            part {
+                name: "right_icon";
+                type: IMAGE;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    min: 0 0;
+                    max: 0 0;
+                    color: 105 105 105 255;
+                    rel1 {
+                        to: "right_icon_bg";
+                        relative: 0.0 0.0;
+                    }
+                    rel2 {
+                        to: "right_icon_bg";
+                        relative: 1.0 1.0;
+                    }
+                    image.border_scale: 1;
+                    align: 0.5 0.5;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    min: 50 50;
+                    max: 50 50;
+                    visible: 1;
+                }
+                description {
+                    state: "cancel" 0.0;
+                    inherit: "visible" 0.0;
+                    image.normal: "toolbar_input_ic_cancel.png";
+                }
+                description {
+                    state: "secure" 0.0;
+                    inherit: "visible" 0.0;
+                    image.normal: "ic_lock.png";
+                }
+                description {
+                    state: "unsecure" 0.0;
+                    inherit: "visible" 0.0;
+                    image.normal: "ic_lock_unsecure.png";
+                }
+                description {
+                    state: "reload" 0.0;
+                    inherit: "visible" 0.0;
+                    image.normal: "toolbar_input_ic_refresh.png";
+                }
+            }
+            part {
+                name: "cancel_over";
+                scale:1;
+                type: RECT;
+                mouse_events: 1;
+                description {
+                    state: "default" 0.0;
+                    min: URI_INPUTBOX_HEIGHT URI_INPUTBOX_HEIGHT;
+                    max: URI_INPUTBOX_HEIGHT URI_INPUTBOX_HEIGHT;
+                    visible: 0;
+                    rel1 {
+                        to: "right_icon_bg";
+                        relative: 0.0 0.0;
+                    }
+                    rel2 {
+                        to: "right_icon_bg";
+                        relative: 1.0 1.0;
+                    }
+                    color: 0 0 0 0;
+                }
+                description {
+                    state: "moveright" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 0;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
+            }
+            part {
+                name: "cancel_click";
+                scale:1;
+                mouse_events: 1;
+                repeat_events: 1;
+                type: SWALLOW;
+                description {
+                    state: "default" 0.0;
+                    visible: 1;
+                    align: 0 0;
+                    fixed: 1 1;
+                    min: URI_INPUTBOX_HEIGHT URI_INPUTBOX_HEIGHT;
+                    max: URI_INPUTBOX_HEIGHT URI_INPUTBOX_HEIGHT;
+                    rel1 { relative: 0.0 0.0; to: "cancel_over";}
+                    rel2 { relative: 1.0 1.0; to: "cancel_over";}
+                    color: 0 0 0 0;
+                }
             }
         }
-    }
-    programs {
-        program {
-            name: "shiftright_uribarbg";
-            signal: "shiftright_uribg";
-            source: "ui";
-            action: STATE_SET "moveright" 0.0;
-            target: "uri_entry_swallow";
-        }
-        program {
-            name: "shiftback_uribarbg";
-            signal: "shiftback_uribg";
-            source: "ui";
-            action: STATE_SET "default" 0.0;
-            target: "uri_entry_swallow";
+        programs {
+            program {
+                name: "shiftright_uribarbg";
+                signal: "shiftright_uribg";
+                source: "ui";
+                action: STATE_SET "moveright" 0.0;
+                target: "uri_entry_swallow";
+                target: "right_icon";
+                target: "cancel_over";
+                target: "right_icon_bg";
+                target: "uri_entry_space";
+            }
+            program {
+                name: "shiftback_uribarbg";
+                signal: "shiftback_uribg";
+                source: "ui";
+                action: STATE_SET "default" 0.0;
+                target: "uri_entry_swallow";
+                target: "right_icon";
+                target: "cancel_over";
+                target: "uri_entry_space";
+            }
+            program {
+                name: "mouse_in_right_icon";
+                signal: "mouse,down,*";
+                source: "cancel_over";
+                action: STATE_SET "focused" 0.0;
+                target: "right_icon_bg";
+            }
+            program {
+                name: "mouse_out_right_icon";
+                signal: "mouse,up,*";
+                source: "cancel_over";
+                action: STATE_SET "visible" 0.0;
+                target: "right_icon_bg";
+            }
+            program {
+                name: "show_secure_icon";
+                signal: "show,secure,icon";
+                source: "";
+                action: STATE_SET "secure" 0.0;
+                target: "right_icon";
+                after: "show_icon_bg";
+            }
+            program {
+                name: "show_unsecure_icon";
+                signal: "show,unsecure,icon";
+                source: "";
+                action: STATE_SET "unsecure" 0.0;
+                target: "right_icon";
+                after: "show_icon_bg";
+            }
+            program {
+                name: "show_reload_icon";
+                signal: "show,reload,icon";
+                source: "";
+                action: STATE_SET "reload" 0.0;
+                target: "right_icon";
+                after: "show_icon_bg";
+            }
+            program {
+                name: "mouse_clicked_right_icon";
+                signal: "mouse,clicked,*";
+                source: "cancel_over";
+                after: "call_on_right_icon_clicked_cb";
+            }
+            program {
+                name: "call_on_right_icon_clicked_cb";
+                signal: "call_on_right_icon_clicked_cb";
+                source: "ui";
+                action: SIGNAL_EMIT "right_icon_clicked" "ui";
+            }
+            program {
+                name: "normal_mode_uri_entry";
+                source: "ui";
+                signal: "uri_entry_normal";
+                action: STATE_SET "default" 0.0;
+                target: "incognito_icon";
+                target: "over_icon";
+            }
+            program {
+                name: "incognito_mode_uri_entry";
+                source: "ui";
+                signal: "uri_entry_incognito";
+                action: STATE_SET "incognito" 0.0;
+                target: "incognito_icon";
+                target: "over_icon";
+            }
+            program {
+                name: "show_cancel_icon";
+                source: "ui";
+                signal: "show_cancel_icon";
+                action: STATE_SET "cancel" 0.0;
+                target: "right_icon";
+                after: "show_icon_bg";
+            }
+            program {
+                name: "show_icon_bg";
+                signal: "show_icon_bg";
+                action: STATE_SET "visible" 0.0;
+                target: "right_icon_bg";
+                target: "cancel_over";
+            }
+            program {
+                name: "hide_icon";
+                source: "ui";
+                signal: "hide_icon";
+                action: STATE_SET "default" 0.0;
+                target: "right_icon";
+                target: "right_icon_bg";
+                target: "cancel_over";
+            }
         }
     }
 }
-}
diff --git a/services/WebPageUI/edc/URIEntry_mob.edc b/services/WebPageUI/edc/URIEntry_mob.edc
deleted file mode 100755 (executable)
index 9837bfc..0000000
+++ /dev/null
@@ -1,638 +0,0 @@
-#define URI_INPUTBOX_LENGTH 518
-#define URI_INPUTBOX_LENGTH_ENLARGED 656
-#define URI_INPUTBOX_LENGTH_SMALL 320
-#define URI_INPUTBOX_WIDTH 64
-#define CANCEL_ICON_FIELD_SIZE 64
-#define SECURE_ICON_FIELD_SIZE 48
-#define BORDER_WIDTH 5
-
-#define RESOURCE_IMAGE_LOSSY( FILE_NAME ) \
-   group { \
-      name: FILE_NAME; \
-      images.image: FILE_NAME LOSSY 100; \
-      parts { \
-         part { name: "image"; \
-            description { \
-               state: "default" 0.0; \
-               image.normal: FILE_NAME; \
-               aspect: 1 1; \
-               aspect_preference: BOTH; \
-            } \
-         } \
-      } \
-   }
-
-collections { base_scale: 2.6;
-RESOURCE_IMAGE_LOSSY("input_ic_incognito.png")
-RESOURCE_IMAGE_LOSSY("navi_input_ic_cancel.png")
-RESOURCE_IMAGE_LOSSY("ic_lock.png")
-RESOURCE_IMAGE_LOSSY("ic_lock_unsecure.png")
-    group {
-        name: "elm/entry/selection/browser_entry";
-        parts {
-            part {
-                name: "bg";
-                scale:1;
-                type: RECT;
-                mouse_events: 0;
-                description {
-                    state: "default" 0.0;
-                    color: 224 237 251 255;
-                }
-            }
-        }
-    }
-    group {
-        name: "elm/entry/cursor/browser_entry";
-        parts {
-            part {
-                name: "bg";
-                scale:1;
-                type: RECT;
-                mouse_events: 0;
-                description {
-                    state: "default" 0.0;
-                    color: 10 132 229 255;
-                    min: 3 38;
-                    max: 3 38;
-                    visible: 0;
-                }
-                description {
-                    state: "focused" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-            }
-        }
-        programs {
-            program {
-                name: "focused";
-                signal: "elm,action,focus";
-                source: "elm";
-                action: STATE_SET "focused" 0.0;
-                target: "bg";
-                after: "cursor_show";
-            }
-            program {
-                name: "unfocused";
-                signal: "elm,action,unfocus";
-                source: "elm";
-                action: STATE_SET "default" 0.0;
-                target: "bg";
-                after: "stop_action";
-            }
-            program { name: "cursor_show";
-                action: STATE_SET "focused" 0.0;
-                target: "bg";
-                after: "cursor_show_timer";
-            }
-            program { name: "cursor_hide";
-                action: STATE_SET "default" 0.0;
-                target: "bg";
-                transition: SINUSOIDAL 0.2;
-                after: "cursor_hide_timer";
-            }
-            program { name: "cursor_show_timer";
-                in: 0.4 0.0;
-                after: "cursor_hide";
-            }
-            program { name: "cursor_hide_timer";
-                in: 0.3 0.0;
-                after: "cursor_show";
-            }
-            program {
-                name: "stop_action";
-                action: ACTION_STOP;
-                target: "cursor_show";
-                target: "cursor_hide";
-                target: "cursor_show_timer";
-                target: "cursor_hide_timer";
-            }
-        }
-    }
-    group {
-        name: "elm/entry/base-single/uri_entry";
-        color_classes {
-            color_class {
-                name: "guide_text_unselected_color";
-                color: 51 51 51 0.5;
-            }
-        }
-        styles {
-            style {
-                name: "browser-entry-uri-style-unselected";
-                base: "font=Sans:style=SVD_Medium font_size="40" wrap=none color=#969696";
-                tag:  "br" "";
-            }
-            style {
-                name: "browser-entry-uri-style-selected";
-                base: "font=Sans:style=SVD_Medium font_size="40" wrap=none color=#4088d3";
-                tag:  "br" "";
-            }
-            style {
-                name: "browser-entry-uri-style-selected-incognito";
-                base: "font=Sans:style=SVD_Medium font_size="40" wrap=none color=#4088d3";
-                tag:  "br" "";
-            }
-        }
-        data {
-            item: focus_highlight "off";
-        }
-        images {
-            image: "input_ic_incognito.png" COMP;
-        }
-        parts {
-
-            part {
-                name: "bg";
-                scale:1;
-                type: RECT;
-                mouse_events: 0;
-                description {
-                    state: "default" 0.0;
-                    color: 244 244 244 255;
-                    fixed: 0 1;
-                    max: -1 URI_INPUTBOX_WIDTH;
-                    align: 0.0 0.0;
-                }
-            }
-            part {
-                name: "label.text.clip";
-                scale:1;
-                type: RECT;
-                description {
-                    state: "default" 0.0;
-                }
-            }
-            part {
-                name: "elm.text";
-                scale: 1;
-                multiline: 0;
-                entry_mode: EDITABLE;
-                select_mode: DEFAULT;
-                cursor_mode: BEFORE;
-                type: TEXTBLOCK;
-                clip_to: "label.text.clip";
-                source: "elm/entry/selection/browser_entry";
-                source4: "elm/entry/cursor/browser_entry";
-                description {
-                    state: "default" 0.0;
-                    rel1.to: "bg";
-                    rel1.relative: 0.0 0.0;
-                    rel1.offset: BORDER_WIDTH 0;
-                    rel2.to: "bg";
-                    rel2.relative: 1.0 1.0;
-                    align: 0.0 0.0;
-                    fixed: 0 1;
-                    text {
-                        style: "browser-entry-uri-style-selected";
-                        min: 0 1;
-                    }
-                }
-                description {
-                    state: "incognito" 0.0;
-                    align: 0.0 0.0;
-                    text {
-                        style: "browser-entry-uri-style-selected-incognito";
-                        min: 0 1;
-                    }
-                }
-            }
-            part {
-                name: "elm.guide";
-                scale:1;
-                type: TEXTBLOCK;
-                mouse_events: 0;
-                clip_to: "label.text.clip";
-                source4: "elm/entry/cursor/browser_entry";
-                description {
-                    state: "default" 0.0;
-                    rel1.to: "bg";
-                    rel1.relative: 0.0 0.0;
-                    rel1.offset: BORDER_WIDTH 0;
-                    rel2.relative: 1.0 1.0;
-                    max: -1 URI_INPUTBOX_WIDTH;
-                    text {
-                        style: "browser-entry-uri-style-unselected";
-                        min: 0 1;
-                    }
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-            }
-        }
-        programs {
-            program {
-                name: "focus";
-                signal: "load";
-                source: "";
-                action: FOCUS_SET;
-                target: "elm.text";
-            }
-            program {
-                name: "gdisabled";
-                signal: "elm,guide,disabled";
-                source: "elm";
-                action: STATE_SET "hidden" 0.0;
-                target: "elm.guide";
-            }
-            program {
-                name: "genabled";
-                signal: "elm,guide,enabled";
-                source: "elm";
-                action: STATE_SET "default" 0.0;
-                target: "elm.guide";
-            }
-            program {
-                name: "normal_mode_uri_entry";
-                source: "ui";
-                signal: "uri_entry_normal";
-            }
-            program {
-                name: "incognito_mode_uri_entry";
-                source: "ui";
-                signal: "uri_entry_incognito";
-                action: STATE_SET "incognito" 0.0;
-                target: "elm.text";
-            }
-        }
-    }//group
-
-    group {
-        name: "uri_entry_layout";
-        parts {
-            part {
-                name: "uri_entry_space";
-                type : RECT;
-                repeat_events: 1;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    min: 0 URI_INPUTBOX_WIDTH;
-                    max: -1 URI_INPUTBOX_WIDTH;
-                    fixed: 0 1;
-                    color: 244 244 244 255;
-                    rel1 { relative: 0.0 0.0; }
-                    rel2 { relative: 1.0 1.0; }
-                }
-                description {
-                    state: "moveright" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-            }
-            part {
-                name: "over_icon";
-                scale: 1;
-                type: RECT;
-                mouse_events: 0;
-                description {
-                    state: "default" 0.0;
-                    min: 0 0;
-                    max: 0 0;
-                    rel1.to: "uri_entry_space";
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
-                    align: 0 0;
-                    color: 244 244 244 255;
-                }
-                description {
-                    state: "incognito" 0.0;
-                    inherit: "default" 0.0;
-                    min: 38 URI_INPUTBOX_WIDTH;
-                    max: 38 URI_INPUTBOX_WIDTH;
-                }
-            }
-            part {
-                name: "incognito_icon";
-                type: IMAGE;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 0;
-                    min: 0 0;
-                    max: 0 0;
-                    rel1 {
-                        to: "over_icon";
-                        relative: 0.0 0.0;
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                    }
-                    image.normal: "input_ic_incognito.png";
-                    align: 0 0.5;
-                }
-                description {
-                    state: "incognito" 0.0;
-                    inherit: "default" 0.0;
-                    min: 38 38;
-                    max: 38 38;
-                    visible: 1;
-                }
-            }
-            part {
-                name: "over";
-                type: RECT;
-                mouse_events: 1;
-                repeat_events: 1;
-                description {
-                    state: "default" 0.0;
-                    color: 0 0 0 0;
-                    rel1 { relative: 0 0; }
-                    rel2 { relative: 1 1; }
-                }
-            }
-            part {
-                name: "right_icon_bg";
-                scale:1;
-                type: RECT;
-                mouse_events: 1;
-                description {
-                    state: "default" 0.0;
-                    min: 0 64;
-                    max: 0 64;
-                    visible: 0;
-                    color: 0 0 0 0;
-                    fixed: 0 1;
-                    align: 1 0;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    fixed: 0 1;
-                    align: 1 1;
-                    min: 64 64;
-                    max: 64 64;
-                    rel1 {
-                        to: "uri_entry_space";
-                        relative: 0.0 0.0;
-                    }
-                    rel2 {
-                        to: "uri_entry_space";
-                        relative: 1.0 1.0;
-                    }
-                    visible: 1;
-                    color: 244 244 244 255;
-                }
-                description {
-                    state: "focused" 0.0;
-                    inherit: "visible" 0.0;
-                    visible: 1;
-                    color: 224 237 251 255;
-                }
-                description {
-                    state: "moveright" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-            }
-            part {
-                name: "uri_entry_swallow";
-                type : SWALLOW;
-                mouse_events: 1;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 1 1;
-                    rel1 { relative: 1.0 0.0; to: "over_icon"; }
-                    rel2 { relative: 0.0 1.0; to: "right_icon_bg"; }
-                }
-                description {
-                    state: "moveright" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-            }
-            part {
-                name: "right_icon";
-                type: IMAGE;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 0;
-                    min: 0 0;
-                    max: 0 0;
-                    rel1 {
-                        to: "right_icon_bg";
-                        relative: 0.0 0.0;
-                    }
-                    rel2 {
-                        to: "right_icon_bg";
-                        relative: 1.0 1.0;
-                    }
-                    image.border: 8 8 8 8;
-                    image.border_scale: 1;
-                    align: 0.5 0.5;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    min: 46 46;
-                    max: 46 46;
-                    visible: 1;
-                }
-                description {
-                    state: "moveright" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-                description {
-                    state: "cancel" 0.0;
-                    inherit: "visible" 0.0;
-                    image.normal: "navi_input_ic_cancel.png";
-                }
-                description {
-                    state: "secure" 0.0;
-                    inherit: "visible" 0.0;
-                    image.normal: "ic_lock.png";
-                }
-                description {
-                    state: "unsecure" 0.0;
-                    inherit: "visible" 0.0;
-                    image.normal: "ic_lock_unsecure.png";
-                }
-            }
-            part {
-                name: "cancel_over";
-                scale:1;
-                type: RECT;
-                mouse_events: 1;
-                description {
-                    state: "default" 0.0;
-                    min: 64 64;
-                    max: 64 64;
-                    visible: 0;
-                    rel1 {
-                        to: "right_icon_bg";
-                        relative: 0.0 0.0;
-                    }
-                    rel2 {
-                        to: "right_icon_bg";
-                        relative: 1.0 1.0;
-                    }
-                    color: 0 0 0 0;
-                }
-                description {
-                    state: "moveright" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-            }
-            part {
-                name: "cancel_click";
-                scale:1;
-                mouse_events: 1;
-                repeat_events: 1;
-                type: SWALLOW;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0 0;
-                    fixed: 1 1;
-                    min: 64 64;
-                    max: 64 64;
-                    rel1 { relative: 0.0 0.0; to: "cancel_over";}
-                    rel2 { relative: 1.0 1.0; to: "cancel_over";}
-                    color: 0 0 0 0;
-                }
-            }
-        }
-        programs {
-            program {
-                name: "shiftright_uribarbg";
-                signal: "shiftright_uribg";
-                source: "ui";
-                action: STATE_SET "moveright" 0.0;
-                target: "uri_entry_swallow";
-                target: "right_icon";
-                target: "cancel_over";
-                target: "right_icon_bg";
-                target: "uri_entry_space";
-            }
-            program {
-                name: "shiftback_uribarbg";
-                signal: "shiftback_uribg";
-                source: "ui";
-                action: STATE_SET "default" 0.0;
-                target: "uri_entry_swallow";
-                target: "right_icon";
-                target: "cancel_over";
-                target: "uri_entry_space";
-            }
-            program {
-                name: "mouse_in_right_icon";
-                signal: "mouse,down,*";
-                source: "cancel_over";
-                action: STATE_SET "focused" 0.0;
-                target: "right_icon_bg";
-            }
-            program {
-                name: "mouse_out_right_icon";
-                signal: "mouse,up,*";
-                source: "cancel_over";
-                action: STATE_SET "visible" 0.0;
-                target: "right_icon_bg";
-            }
-            program {
-                name: "show_secure_icon";
-                signal: "show,secure,icon";
-                source: "";
-                action: STATE_SET "secure" 0.0;
-                target: "right_icon";
-                after: "show_icon_bg";
-            }
-            program {
-                name: "show_unsecure_icon";
-                signal: "show,unsecure,icon";
-                source: "";
-                action: STATE_SET "unsecure" 0.0;
-                target: "right_icon";
-                after: "show_icon_bg";
-            }
-            program {
-                name: "mouse_clicked_right_icon";
-                signal: "mouse,clicked,*";
-                source: "cancel_over";
-                after: "call_on_right_icon_clicked_cb";
-            }
-            program {
-                name: "call_on_right_icon_clicked_cb";
-                signal: "call_on_right_icon_clicked_cb";
-                source: "ui";
-                action: SIGNAL_EMIT "right_icon_clicked" "ui";
-            }
-            program {
-                name: "normal_mode_uri_entry";
-                source: "ui";
-                signal: "uri_entry_normal";
-                action: STATE_SET "default" 0.0;
-                target: "incognito_icon";
-                target: "over_icon";
-            }
-            program {
-                name: "incognito_mode_uri_entry";
-                source: "ui";
-                signal: "uri_entry_incognito";
-                action: STATE_SET "incognito" 0.0;
-                target: "incognito_icon";
-                target: "over_icon";
-            }
-            program {
-                name: "show_cancel_icon";
-                source: "ui";
-                signal: "show_cancel_icon";
-                action: STATE_SET "cancel" 0.0;
-                target: "right_icon";
-                after: "show_icon_bg";
-            }
-            program {
-                name: "show_icon_bg";
-                signal: "show_icon_bg";
-                action: STATE_SET "visible" 0.0;
-                target: "right_icon_bg";
-                target: "cancel_over";
-            }
-            program {
-                name: "hide_icon";
-                source: "ui";
-                signal: "hide_icon";
-                action: STATE_SET "default" 0.0;
-                target: "right_icon";
-                target: "right_icon_bg";
-                target: "cancel_over";
-            }
-        }
-    }
-}
index 79ee5acc6a1e316f61736651e5146dcd96e6bdee..f9855621236004e0005cba9add6ab5fa633e2341 100644 (file)
-#define URI_LENGTH 1720
-#define URI_LENGTH_SHORT 1460
-#define URI_WIDTH 82
+#define URI_LENGTH 518
+#define URI_WIDTH 80
+#define URI_BG_HEIGHT 108
+#define URI_BG_WIDTH 720
+#define BOTTOM_TOOLBAR_HEIGHT 96
+#define MORE_HEIGHT_VERTICAL 586
+#define MORE_HEIGHT_LANDSCAPE 373
+#define FINDONPAGE_HEIGHT 104
+#define FINDONPAGE_WIDTH 720
+#define SPACER_SIZE 16
 #include "../../../core/Tools/edc/Spacer.edc"
-#define DEBUG_RECT_OVER(over_part, r, g, b)                         \
-    part { name: __CONCAT("dbg_rect_at_", __stringify(__LINE__));   \
-                                                                    \
-scale:1;                                                            \
-        type : RECT;                                                \
-        repeat_events: 1;                                           \
-        description {                                               \
-            state: "default" 0.0;                                   \
-            visible: 1;                                             \
-            color: r g b 255;                                 \
-            rel1 { to: over_part; relative: 0 0; }                  \
-            rel2 { to: over_part; relative: 1 1; }                  \
-        }                                                           \
+
+#define PROGRESS_DESCRIPTIONS\
+    PROGRESS_DESCRIPTION(0.00)\
+    PROGRESS_DESCRIPTION(0.05)\
+    PROGRESS_DESCRIPTION(0.10)\
+    PROGRESS_DESCRIPTION(0.15)\
+    PROGRESS_DESCRIPTION(0.20)\
+    PROGRESS_DESCRIPTION(0.25)\
+    PROGRESS_DESCRIPTION(0.30)\
+    PROGRESS_DESCRIPTION(0.35)\
+    PROGRESS_DESCRIPTION(0.40)\
+    PROGRESS_DESCRIPTION(0.45)\
+    PROGRESS_DESCRIPTION(0.50)\
+    PROGRESS_DESCRIPTION(0.55)\
+    PROGRESS_DESCRIPTION(0.60)\
+    PROGRESS_DESCRIPTION(0.65)\
+    PROGRESS_DESCRIPTION(0.70)\
+    PROGRESS_DESCRIPTION(0.75)\
+    PROGRESS_DESCRIPTION(0.80)\
+    PROGRESS_DESCRIPTION(0.85)\
+    PROGRESS_DESCRIPTION(0.90)\
+    PROGRESS_DESCRIPTION(0.95)\
+    PROGRESS_DESCRIPTION(1.00)
+
+#define PROGRESS_DESCRIPTION(RATE)\
+    description { state: "progress" RATE;\
+        inherit: "default" 0.0;\
+        visible: 1;\
+        rel1 { relative: 0.0 0.0; to: "progressbar_bg"; }\
+        rel2 { relative: RATE 1.0; to: "progressbar_bg"; }\
     }
-collections { base_scale: 2.0;
+
+#define PROGRESS_PROGRAMS\
+    PROGRESS_PROGRAM(0.10)\
+    PROGRESS_PROGRAM(0.15)\
+    PROGRESS_PROGRAM(0.20)\
+    PROGRESS_PROGRAM(0.25)\
+    PROGRESS_PROGRAM(0.30)\
+    PROGRESS_PROGRAM(0.35)\
+    PROGRESS_PROGRAM(0.40)\
+    PROGRESS_PROGRAM(0.45)\
+    PROGRESS_PROGRAM(0.50)\
+    PROGRESS_PROGRAM(0.55)\
+    PROGRESS_PROGRAM(0.60)\
+    PROGRESS_PROGRAM(0.65)\
+    PROGRESS_PROGRAM(0.70)\
+    PROGRESS_PROGRAM(0.75)\
+    PROGRESS_PROGRAM(0.80)\
+    PROGRESS_PROGRAM(0.85)\
+    PROGRESS_PROGRAM(0.90)\
+    PROGRESS_PROGRAM(0.95)
+
+#define PROGRESS_PROGRAM(RATE)\
+    program { name: "update,progress,"RATE;\
+        signal: "update,progress,"RATE",signal";\
+        transition: DECELERATE 0.1;\
+        action: STATE_SET "progress" RATE;\
+        target: "progress_bar";\
+    }
+
+#define PROGRESS_BG_IMAGE "I01_toolbar_progress_bg.#.png"
+#define PROGRESS_BAR_IMAGE "I01_toolbar_progress.#.png"
+
+collections { base_scale: 2.6;
     group {
         name: "main_layout";
         images {
-            image: "web_shadow.png" COMP;
-            image: "btn_bar_incognito.png" COMP;
+            image: PROGRESS_BG_IMAGE COMP;
+            image: PROGRESS_BAR_IMAGE COMP;
         }
         parts {
             part {
-                name: "uri_bar_bg";
-                type : RECT;
+                name: "bg";
+                type: RECT;
                 scale: 1;
                 description {
                     state: "default" 0.0;
-                    visible: 1;
-                    fixed: 1 1;
-                align: 0 0;
-                min: 1920 104;
-                max: 1920 104;
-                color: 255 255 255 255;
-                rel1 { relative: 0.0 0.0; }
-                rel2 { relative: 1.0 0.0; }
+                    color: 0 0 0 0;
+                    rel1 {
+                        relative: 0.0 0.0;
+                    }
+                    rel2 {
+                        relative: 1.0 1.0;
+                    }
+                }
             }
-        }
-        ADD_SPACER_OVER("left_spacer", "uri_bar_bg", 7, 104)
             part {
-                name: "uri_bar_buttons_left";
-                type : SWALLOW;
+                name: "uri_bar_bg";
+                type : RECT;
                 scale: 1;
                 description {
                     state: "default" 0.0;
                     visible: 1;
-                    align: 0 0.5;
-                    min: 246 102;
-                    max: 246 102;
-                    fixed: 1 1;
-                rel1 { relative: 1.0 1.0; to: "left_spacer"; }
-                rel2 { relative: 0.0 0.0; to: "left_spacer"; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
+                    fixed: 0 1;
+                    align: 0 0;
+                    min: 0 URI_BG_HEIGHT;
+                    max: -1 URI_BG_HEIGHT;
+                    color: 240 240 240 255;
+                    rel1 {relative: 0.0 0.0; to:"bg";}
+                    rel2 {relative: 1.0 1.0; to:"bg";}
+                }
+                description {
+                    state: "hidden_vertical" 0.0;
+                    inherit: "default" 0.0;
+                    rel1 {relative: 0.0 -URI_BG_HEIGHT/1228; to:"bg";}
+                }
+                description {
+                    state: "hidden_landscape" 0.0;
+                    inherit: "default" 0.0;
+                    rel1 {relative: 0.0 -URI_BG_HEIGHT/668; to:"bg";}
+                }
             }
-        }
-        ADD_SPACER("left_buttons_spacer", "uri_bar_buttons_left", 0.5, 102)
+            ADD_SPACER_OVER("left_spacer", "uri_bar_bg", SPACER_SIZE, SPACER_SIZE)
+
             part {
                 name: "uri_entry";
                 type : SWALLOW;
@@ -74,34 +130,62 @@ collections { base_scale: 2.0;
                 description {
                     state: "default" 0.0;
                     visible: 1;
-                    align: 0.0 0.5;
-                    min: URI_LENGTH URI_WIDTH;
-                    max: URI_LENGTH URI_WIDTH;
-                    fixed: 1 1;
-                rel1 { relative: 1.0 0.5; to: "left_spacer"; }
-                rel2 { relative: 1.0 0.5; to: "left_spacer"; }
-            }
-            description {
-                state: "moveright" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-                min: URI_LENGTH_SHORT URI_WIDTH;
-                max: URI_LENGTH_SHORT URI_WIDTH;
-                rel1 { relative: 1.0 0.5; to: "left_buttons_spacer"; }
-                rel2 { relative: 1.0 0.5; to: "left_buttons_spacer"; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
+                    align: 0.0 0.0;
+                    min: 0 URI_WIDTH;
+                    max: -1 URI_WIDTH;
+                    fixed: 0 1;
+                    rel1 { relative: 1.0 1.0; to: "left_spacer"; }
+                    rel2 { relative: 0.0 1.0; to: "spacer_after_uri_entry"; }
+                }
+                description {
+                    state: "moveright" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                    rel1 { relative: 1.0 1.0; to: "left_spacer"; }
+                    rel2 { relative: 0.0 1.0; to: "spacer_after_uri_entry"; }
+                }
+                description {
+                    state: "entry_enlarged" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                    max: -1 URI_WIDTH;
+                    rel2 {
+                        to: "spacer_after_uri_entry";
+                        relative: 0.0 1.0;
+                    }
+                }
+                description {
+                    state: "hidden" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 0;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
+                description {
+                    state: "entry_decreased_wp" 0.0;
+                    inherit: "moveright" 0.0;
+                }
             }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
+
+            part {
+                name: "spacer_after_uri_entry";
+                type: RECT;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    fixed: 0 1;
+                    align: 1 1;
+                    min: SPACER_SIZE URI_BG_HEIGHT;
+                    max: SPACER_SIZE URI_BG_HEIGHT;
+                    rel1 { relative: 0.0 0.0; to: "uri_bar_bg"; }
+                    rel2 { relative: 0.0 1.0; to: "uri_bar_buttons_right"; }
+                }
             }
-        }
-        ADD_SPACER("right_buttons_spacer", "uri_entry", 26, 102)
+
             part {
                 name: "uri_bar_buttons_right";
                 type : SWALLOW;
@@ -109,227 +193,404 @@ collections { base_scale: 2.0;
                 description {
                     state: "default" 0.0;
                     visible: 1;
-                    align: 0.0 0.5;
-                    min: 164 102;
-                    max: 164 102;
+                    align: 1.0 1.0;
+                    min: 100 URI_BG_HEIGHT;
+                    max: 100 URI_BG_HEIGHT;
                     fixed: 1 1;
-                rel1 { relative: 1.0 0.5; to: "right_buttons_spacer"; }
-                rel2 { relative: 1.0 0.5; to: "right_buttons_spacer"; }
-            }
-            description {
-                state: "hidden" 0.0;
-                inherit: "default" 0.0;
-                visible: 0;
-            }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-        ADD_SPACER("right_spacer", "uri_bar_buttons_right", 74, 102)
-        part {
-            name: "web_view";
-            type : SWALLOW;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                align: 0.0 0.0;
-                fixed: 0 0;
-                rel1 { relative: 0.0 1.0; to: "uri_bar_bg"; }
-                rel2 { relative: 1.0 1.0; }
-            }
-        }
-        part {
-            name: "shadow";
-            type: IMAGE;
-            scale: 1;
-            repeat_events: 1;
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                align: 0.0 0.0;
-                fixed: 0 0;
-                min: 1920 14;
-                max: 1920 14;
-                image.normal: "web_shadow.png";
-                rel1 { relative: 0.0 0.0; to: "web_view"; }
-                rel2 { relative: 1.0 1.0; }
+                    rel1 { relative: 0.0 0.0; to: "uri_bar_bg"; }
+                    rel2 { relative: 1.0 1.0; to: "uri_bar_bg"; }
+                }
+                description {
+                    state: "hidden" 0.0;
+                    inherit: "default" 0.0;
+                    min: 0 URI_BG_HEIGHT;
+                    max: 0 URI_BG_HEIGHT;
+                    visible: 0;
+                }
+                description {
+                    state: "entry_enlarged" 0.0;
+                    inherit: "default" 0.0;
+                    min: 0 URI_BG_HEIGHT;
+                    max: 0 URI_BG_HEIGHT;
+                    visible: 0;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
+                description {
+                    state: "entry_decreased_wp" 0.0;
+                    inherit: "default" 0.0;
+                }
             }
-        }
-        part {
-            name: "incognito";
-            type: IMAGE;
-            repeat_events: 1;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                visible: 0;
-                rel1 {
-                    relative: 0.0 0.0;
-                    to: "uri_bar_bg";
-                    offset: 1623 0;
-                }
-                rel2 {
-                    relative: 0.0 0.0;
-                    to: "uri_bar_bg";
-                    offset: 1623+82 0+102;
-                }
-                align: 0.5 0.5;
-                image.normal: "btn_bar_incognito.png";
+
+            part {
+                name: "bottom_toolbar";
+                type: RECT;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 1;
+                    align: 0.0 1.0;
+                    min: 0 0;
+                    max: -1 BOTTOM_TOOLBAR_HEIGHT;
+                    color: 240 240 240 255;
+                    rel1 { relative: 0.0 0.0; to: "bg"; }
+                    rel2 { relative: 1.0 1.0; to: "bg"; }
+                }
+                description {
+                    state: "hidden_vertical" 0.0;
+                    inherit: "default" 0.0;
+                    rel1 {relative: 0.0 1.0; to:"bg";}
+                }
+                description {
+                    state: "hidden_landscape" 0.0;
+                    inherit: "default" 0.0;
+                    rel1 {relative: 0.0 1.0; to:"bg";}
+                }
             }
-            description {
-                state: "visible" 1.0;
-                inherit: "default" 0.0;
-                visible: 1;
+            part {
+                name: "bottom_swallow";
+                type: SWALLOW;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 1;
+                    rel1 { relative: 0.0 0.0; to: "bottom_toolbar"; }
+                    rel2 { relative: 1.0 1.0; to: "bottom_toolbar"; }
+                }
             }
-        }
-        part {
-            name: "progress_bar";
-            type: SWALLOW;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                align: 0.0 0.0;
-                fixed: 0 0;
-                min: 1920 2;
-                max: 1920 2;
-                rel1 {
-                    relative: 0.0 0.0;
-                    offset: 0 1;
-                    to: "web_view";
-                }
-                rel2 { relative: 1.0 1.0; }
+
+            part {
+                name: "web_view";
+                type: SWALLOW;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 1;
+                    align: 0.0 0.0;
+                    fixed: 0 0;
+                    min: 0 0;
+                    max: -1 -1;
+                    rel1 { relative: 0.0 1.0; to: "uri_bar_bg"; }
+                    rel2 { relative: 1.0 0.0; to: "bottom_toolbar"; }
+                }
             }
-        }
-        part {
-            name: "progress_bar_light_bg";
-            type: RECT;
-            repeat_events: 1;
-            description {
-                state: "default" 0.0;
-                fixed: 1 1;
-                min: 0 8;
-                max: 1920 8;
-                align: 0 0;
-                visible: 0;
-                rel1.to: "web_view";
-                rel1.relative: 0.0 0.0;
-                rel2.relative: 1.0 0.0;
-                color: 69 143 255 55;
+            part {
+                name: "web_view_dummy_button";
+                type: SWALLOW;
+                mouse_events: 1;
+                repeat_events: 1;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 1;
+                    align: 0.0 0.0;
+                    fixed: 0 0;
+                    min: 0 0;
+                    max: -1 -1;
+                    rel1 { relative: 0.0 0.0; to: "web_view"; }
+                    rel2 { relative: 1.0 1.0; to: "web_view"; }
+                }
             }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
+            part { name: "progressbar_bg";
+                type: IMAGE;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    fixed: 0 1;
+                    min: 0 5;
+                    max: -1 5;
+                    align: 0.5 1;
+                    image.normal: PROGRESS_BG_IMAGE;
+                    rel1 { relative: 0.0 0.0; to: "uri_bar_bg";}
+                    rel2 { relative: 1.0 1.0; to: "uri_bar_bg";}
+                }
+                description {
+                    state: "progress" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
             }
-        }
-        #include "WebPageUIUrlHistoryList.edc"
-        part {
-            name: "popup_bg";
-            type: RECT;
-            scale: 1;
-            mouse_events: 1;
-            description {
-                state: "default" 0.0;
-                visible: 0;
-                min: 1920 1080;
-                fixed: 1 1;
-                color: 100 100 100 128;
-                rel1 {relative: 0.0 0.0; }
-                rel2 {relative: 1.0 1.0; }
+            part { name: "progress_bar";
+                type: IMAGE;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    align: 0.0 0.0;
+                    image.normal: PROGRESS_BAR_IMAGE;
+                    rel1 { relative: 0.0 0.0; to: "progressbar_bg"; }
+                    rel2 { relative: 1.0 1.0; to: "progressbar_bg"; }
+                }
+                PROGRESS_DESCRIPTIONS
             }
-            description {
-                state: "visible" 0.0;
-                inherit: "default" 0.0;
-                visible: 1;
+            programs {
+                program { name: "hide,progress";
+                    signal: "hide,progress,signal";
+                    transition: DECELERATE 0.1;
+                    action: STATE_SET "default" 0.0;
+                    target: "progress_bar";
+                    target: "bg";
+                }
+                program { name: "show,progress";
+                    signal: "show,progress,signal";
+                    action: STATE_SET "progress" 0.0;
+                    target: "bg";
+                }
+                program { name: "update,progress,0.00";
+                    signal: "update,progress,0.00,signal";
+                    action: STATE_SET "progress" 0.05;
+                    target: "progress_bar";
+                }
+                PROGRESS_PROGRAMS
+                program { name: "update,progress,1.0";
+                    signal: "update,progress,1.00,signal";
+                    transition: DECELERATE 0.05;
+                    action: STATE_SET "progress" 1.00;
+                    target: "progress_bar";
+                }
             }
+
+            #include "WebPageUIUrlHistoryList.edc"
             part {
-                name: "popup";
-                type: SWALLOW;
+                name: "moremenu_dimmed_bg";
+                type: RECT;
                 scale: 1;
+                mouse_events: 1;
                 description {
                     state: "default" 0.0;
                     visible: 0;
+                    align: 0.0 0.0;
                     min: 0 0;
-                    max: 700 800;
-                    align: 0.5 0.5;
-                    rel1 { relative: 0.0 0.0; to: "web_view";}
-                    rel2 { relative: 1.0 1.0; to: "web_view";}
-                    fixed: 1 1;
+                    max: -1 -1;
+                    fixed: 0 0;
+                    color: 0 0 0 102.4;
+                    rel1 {
+                        relative: 0.0 0.0;
+                        to: "web_view";
+                    }
+                    rel2 {
+                        relative: 1.0 1.0;
+                        to: "web_view";
+                    }
                 }
                 description {
                     state: "visible" 0.0;
-                    inherit: "default" 0.0;
+                    inherit: "default";
                     visible: 1;
-                    max: 1920 1080;
                 }
             }
+            part {
+                name: "moremenu_bg";
+                type: RECT;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    align: 0.0 0.0;
+                    min: 0 MORE_HEIGHT_VERTICAL;
+                    max: -1 MORE_HEIGHT_VERTICAL;
+                    fixed: 0 1;
+                    color: 244 244 244 255;
+                    rel1 {
+                        relative: 0.0 0.0;
+                        to: "web_view";
+                    }
+                    rel2.relative: 1.0 1.0;
+                }
+                description { state: "landscape" 0.0;
+                              inherit: "default";
+                              visible: 1;
+                              min: 0 MORE_HEIGHT_LANDSCAPE;
+                              max: -1 MORE_HEIGHT_LANDSCAPE;
+                            }
+                description { state: "vertical" 0.0;
+                              inherit: "default";
+                              visible: 1;
+                              min: 0 MORE_HEIGHT_VERTICAL;
+                              max: -1 MORE_HEIGHT_VERTICAL;
+                            }
+            }
+            part {
+                name: "moremenu";
+                type: SWALLOW;
+                scale: 1;
+                mouse_events: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    align: 0.0 0.0;
+                    min: 0 MORE_HEIGHT_VERTICAL;
+                    max: -1 MORE_HEIGHT_VERTICAL;
+                    fixed: 0 1;
+                    rel1 {
+                        relative: 0.0 0.0;
+                        to: "moremenu_bg";
+                    }
+                    rel2 {
+                        relative: 1.0 1.0;
+                        to: "moremenu_bg";
+                    }
+                }
+                description { state: "landscape" 0.0;
+                              inherit: "default";
+                              visible: 1;
+                              min: 0 MORE_HEIGHT_LANDSCAPE;
+                              max: -1 MORE_HEIGHT_LANDSCAPE;
+                            }
+                description { state: "vertical" 0.0;
+                              inherit: "default";
+                              visible: 1;
+                              min: 0 MORE_HEIGHT_VERTICAL;
+                              max: -1 MORE_HEIGHT_VERTICAL;
+                            }
+            }
+            part {
+               name: "findonpage";
+               type: SWALLOW;
+               scale: 1;
+               mouse_events: 1;
+               description {
+                  state: "default" 0.0;
+                  visible: 0;
+                  align: 0 0;
+                  fixed: 1 1;
+                  color: 244 244 244 255;
+                  min: 0 FINDONPAGE_HEIGHT;
+                  max: -1 FINDONPAGE_HEIGHT;
+                  rel1 {
+                      relative: 0 0;
+                      to: "web_view";
+                  }
+                  rel2 {
+                      relative: 1 1;
+                      to: "web_view";
+                  }
+               }
+               description {
+                   state: "visible" 0.0;
+                   inherit: "default";
+                   visible: 1;
+               }
+            }
         }
-    }
-    programs {
-        program {
-            name: "shiftright_uribar";
-            signal: "shiftright_uri";
-            source: "ui";
-            action: STATE_SET "moveright" 0.0;
-            target: "uri_entry";
-        }
-        program {
-            name: "shiftback_uribar";
-            signal: "shiftback_uri";
-            source: "ui";
-            action: STATE_SET "default" 0.0;
-            target: "uri_entry";
-        }
-        program {
-            name: "hide_progress";
-            signal: "hide_progressbar_bg";
-            source: "ui";
-            action: STATE_SET "default" 0.0;
-            target: "progress_bar_light_bg";
-        }
-        program {
-            name: "show_progress";
-            signal: "show_progressbar_bg";
-            source: "ui";
-            action: STATE_SET "visible" 0.0;
-            target: "progress_bar_light_bg";
-        }
-        program {
-            name: "show_incognito_ico";
-            signal: "incognito,true";
-            source: "ui";
-            action: STATE_SET "visible" 1.0;
-            target: "incognito";
-        }
-        program {
-            name: "hide_incognito_ico";
-            signal: "incognito,false";
-            source: "ui";
-            action: STATE_SET "default" 0.0;
-            target: "incognito";
-        }
-        program {
-            name: "show_popup";
-            signal: "elm,state,show";
-            source: "elm";
-            action: STATE_SET "visible" 0.0;
-            transition: LINEAR 0.0;
-            target: "popup";
-            target: "popup_bg";
-        }
-        program {
-            name: "hide_popup";
-            signal: "elm,state,hide";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            transition: LINEAR 0.0;
-            target: "popup";
-            target: "popup_bg";
+        programs {
+            program {
+                name: "shiftright_uribar";
+                signal: "shiftright_uri";
+                source: "ui";
+                action: STATE_SET "moveright" 0.0;
+                target: "uri_entry";
+            }
+            program {
+                name: "shiftback_uribar";
+                signal: "shiftback_uri";
+                source: "ui";
+                action: STATE_SET "default" 0.0;
+                target: "uri_entry";
+            }
+            program {
+                name: "enlarge_focused_uribar";
+                signal: "enlarge_focused_uri";
+                source: "ui";
+                action: STATE_SET "entry_enlarged" 0.0;
+                target: "uri_entry";
+                target: "uri_bar_buttons_right";
+            }
+            program {
+                name: "decrease_unfocused_uribar";
+                signal: "decrease_unfocused_uri";
+                source: "ui";
+                action: STATE_SET "default" 0.0;
+                target: "uri_entry";
+                target: "uri_bar_buttons_right";
+            }
+            program {
+                name: "decrease_unfocused_uribar_wp";
+                signal: "decrease_unfocused_uri_wp";
+                source: "ui";
+                action: STATE_SET "entry_decreased_wp" 0.0;
+                target: "uri_entry";
+                target: "uri_bar_buttons_right";
+            }
+            program {
+                name: "hide_uri_bar_landscape";
+                signal: "hide_uri_bar_landscape";
+                source: "ui";
+                in: 0.01 0.0;
+                action: STATE_SET "hidden_landscape" 0.0;
+                target: "uri_bar_bg";
+                target: "bottom_toolbar";
+                transition: LINEAR 0.15;
+            }
+            program {
+                name: "hide_uri_bar_vertical";
+                signal: "hide_uri_bar_vertical";
+                source: "ui";
+                in: 0.01 0.0;
+                action: STATE_SET "hidden_vertical" 0.0;
+                target: "uri_bar_bg";
+                target: "bottom_toolbar";
+                transition: LINEAR 0.15;
+            }
+            program {
+                name: "show_uri_bar";
+                signal: "show_uri_bar";
+                source: "ui";
+                action: STATE_SET "default" 0.0;
+                target: "uri_bar_bg";
+                target: "bottom_toolbar";
+                transition: LINEAR 0.15;
+            }
+            program {
+                name: "hide_moremenu";
+                signal: "hide_moremenu";
+                source: "ui";
+                action: STATE_SET "default" 0.0;
+                target: "moremenu";
+                target: "moremenu_bg";
+                target: "moremenu_dimmed_bg";
+            }
+            program {
+                name: "show_moremenu_landscape";
+                signal: "show_moremenu_landscape";
+                source: "ui";
+                action: STATE_SET "landscape" 0.0;
+                target: "moremenu";
+                target: "moremenu_bg";
+                after: "show_moremenu_dimmed_bg";
+            }
+            program {
+                name: "show_moremenu_vertical";
+                signal: "show_moremenu_vertical";
+                source: "ui";
+                action: STATE_SET "vertical" 0.0;
+                target: "moremenu";
+                target: "moremenu_bg";
+                after: "show_moremenu_dimmed_bg";
+            }
+            program {
+                name: "show_moremenu_dimmed_bg";
+                action: STATE_SET "visible" 0.0;
+                target: "moremenu_dimmed_bg";
+            }
+            program {
+                name: "hide_findonpage";
+                signal: "hide_findonpage";
+                source: "ui";
+                action: STATE_SET "default" 0.0;
+                target: "findonpage";
+            }
+            program {
+                name: "show_findonpage";
+                signal: "show_findonpage";
+                source: "ui";
+                action: STATE_SET "visible" 0.0;
+                target: "findonpage";
+            }
         }
     }
 }
-}
diff --git a/services/WebPageUI/edc/WebPageUI_mob.edc b/services/WebPageUI/edc/WebPageUI_mob.edc
deleted file mode 100644 (file)
index f6e4179..0000000
+++ /dev/null
@@ -1,618 +0,0 @@
-#define URI_LENGTH 518
-#define URI_WIDTH 64
-#define URI_BG_HEIGHT 108
-#define URI_BG_WIDTH 720
-#define MORE_HEIGHT_VERTICAL 586
-#define MORE_HEIGHT_LANDSCAPE 373
-#define FINDONPAGE_HEIGHT 104
-#define FINDONPAGE_WIDTH 720
-#include "../../../core/Tools/edc/Spacer.edc"
-
-#define PROGRESS_DESCRIPTIONS\
-    PROGRESS_DESCRIPTION(0.00)\
-    PROGRESS_DESCRIPTION(0.05)\
-    PROGRESS_DESCRIPTION(0.10)\
-    PROGRESS_DESCRIPTION(0.15)\
-    PROGRESS_DESCRIPTION(0.20)\
-    PROGRESS_DESCRIPTION(0.25)\
-    PROGRESS_DESCRIPTION(0.30)\
-    PROGRESS_DESCRIPTION(0.35)\
-    PROGRESS_DESCRIPTION(0.40)\
-    PROGRESS_DESCRIPTION(0.45)\
-    PROGRESS_DESCRIPTION(0.50)\
-    PROGRESS_DESCRIPTION(0.55)\
-    PROGRESS_DESCRIPTION(0.60)\
-    PROGRESS_DESCRIPTION(0.65)\
-    PROGRESS_DESCRIPTION(0.70)\
-    PROGRESS_DESCRIPTION(0.75)\
-    PROGRESS_DESCRIPTION(0.80)\
-    PROGRESS_DESCRIPTION(0.85)\
-    PROGRESS_DESCRIPTION(0.90)\
-    PROGRESS_DESCRIPTION(0.95)\
-    PROGRESS_DESCRIPTION(1.00)
-
-#define PROGRESS_DESCRIPTION(RATE)\
-    description { state: "progress" RATE;\
-        inherit: "default" 0.0;\
-        visible: 1;\
-        rel1 { relative: 0.0 0.0; to: "progressbar_bg"; }\
-        rel2 { relative: RATE 1.0; to: "progressbar_bg"; }\
-    }
-
-#define PROGRESS_PROGRAMS\
-    PROGRESS_PROGRAM(0.10)\
-    PROGRESS_PROGRAM(0.15)\
-    PROGRESS_PROGRAM(0.20)\
-    PROGRESS_PROGRAM(0.25)\
-    PROGRESS_PROGRAM(0.30)\
-    PROGRESS_PROGRAM(0.35)\
-    PROGRESS_PROGRAM(0.40)\
-    PROGRESS_PROGRAM(0.45)\
-    PROGRESS_PROGRAM(0.50)\
-    PROGRESS_PROGRAM(0.55)\
-    PROGRESS_PROGRAM(0.60)\
-    PROGRESS_PROGRAM(0.65)\
-    PROGRESS_PROGRAM(0.70)\
-    PROGRESS_PROGRAM(0.75)\
-    PROGRESS_PROGRAM(0.80)\
-    PROGRESS_PROGRAM(0.85)\
-    PROGRESS_PROGRAM(0.90)\
-    PROGRESS_PROGRAM(0.95)
-
-#define PROGRESS_PROGRAM(RATE)\
-    program { name: "update,progress,"RATE;\
-        signal: "update,progress,"RATE",signal";\
-        transition: DECELERATE 0.1;\
-        action: STATE_SET "progress" RATE;\
-        target: "progress_bar";\
-    }
-
-#define PROGRESS_BG_IMAGE "I01_toolbar_progress_bg.#.png"
-#define PROGRESS_BAR_IMAGE "I01_toolbar_progress.#.png"
-
-collections { base_scale: 2.6;
-    group {
-        name: "main_layout";
-        images {
-            image: PROGRESS_BG_IMAGE COMP;
-            image: PROGRESS_BAR_IMAGE COMP;
-        }
-        parts {
-            part {
-                name: "bg";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    color: 0 0 0 0;
-                    rel1 {
-                        relative: 0.0 0.0;
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                    }
-                }
-            }
-            part {
-                name: "uri_bar_bg";
-                type : RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    fixed: 0 1;
-                    align: 0 0;
-                    min: 0 URI_BG_HEIGHT;
-                    max: -1 URI_BG_HEIGHT;
-                    color: 255 255 255 255;
-                    rel1 {relative: 0.0 0.0; to:"bg";}
-                    rel2 {relative: 1.0 0.0; to:"bg";}
-                }
-                description {
-                    state: "hidden_vertical" 0.0;
-                    inherit: "default" 0.0;
-                    rel1 {relative: 0.0 -URI_BG_HEIGHT/1228; to:"bg";}
-                }
-                description {
-                    state: "hidden_landscape" 0.0;
-                    inherit: "default" 0.0;
-                    rel1 {relative: 0.0 -URI_BG_HEIGHT/668; to:"bg";}
-                }
-            }
-            ADD_SPACER_OVER("left_spacer", "uri_bar_bg", 16, URI_BG_HEIGHT)
-            part {
-                name: "uri_bar_buttons_left";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 0;
-                    align: 0 0.5;
-                    min: 0 64;
-                    max: 0 64;
-                    fixed: 0 1;
-                    rel1 { relative: 1.0 0.0; to: "left_spacer"; }
-                    rel2 { relative: 1.0 1.0; to: "uri_bar_bg"; }
-                }
-                description {
-                    state: "moveright" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                    min: 196 64;
-                    max: 196 64;
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                }
-                description {
-                    state: "entry_enlarged" 0.0;
-                    inherit: "default" 0.0;
-                }
-                description {
-                    state: "entry_decreased_wp" 0.0;
-                    inherit: "moveright" 0.0;
-                    visible: 1;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "moveright" 0.0;
-                    visible: 1;
-                }
-            }
-
-            ADD_SPACER("left_buttons_spacer", "uri_bar_buttons_left", 18, URI_BG_HEIGHT)
-
-            part {
-                name: "uri_entry";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 1.0;
-                    min: 0 URI_WIDTH;
-                    max: -1 URI_WIDTH;
-                    fixed: 0 1;
-                    rel1 { relative: 1.0 0.0; to: "left_buttons_spacer"; }
-                    rel2 { relative: 0.0 1.0; to: "spacer_after_uri_entry"; }
-                }
-                description {
-                    state: "moveright" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                    rel1 { relative: 1.0 0.0; to: "left_buttons_spacer"; }
-                    rel2 { relative: 0.0 1.0; to: "spacer_after_uri_entry"; }
-                }
-                description {
-                    state: "entry_enlarged" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                    max: -1 URI_WIDTH;
-                    rel2 {
-                        to: "spacer_after_uri_entry";
-                        relative: 0.0 1.0;
-                    }
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-                description {
-                    state: "entry_decreased_wp" 0.0;
-                    inherit: "moveright" 0.0;
-                }
-            }
-
-            part {
-                name: "spacer_after_uri_entry";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    fixed: 0 1;
-                    align: 1 1;
-                    color: 0 0 0 0;
-                    min: 18 URI_BG_HEIGHT;
-                    max: 18 URI_BG_HEIGHT;
-                    rel1 { relative: 0.0 0.0; to: "uri_bar_bg"; }
-                    rel2 { relative: 0.0 1.0; to: "uri_bar_buttons_right"; }
-                }
-            }
-
-            part {
-                name: "uri_bar_buttons_right";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 1.0 0.5;
-                    min: 130 64;
-                    max: 130 64;
-                    fixed: 1 1;
-                    rel1 { relative: 0.0 0.0; to: "uri_bar_bg"; }
-                    rel2 { relative: 0.0 1.0; to: "spacer_after_right_bar_buttons"; }
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                    min: 0 64;
-                    max: 0 64;
-                    visible: 0;
-                }
-                description {
-                    state: "entry_enlarged" 0.0;
-                    inherit: "default" 0.0;
-                    min: 0 64;
-                    max: 0 64;
-                    visible: 0;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-                description {
-                    state: "entry_decreased_wp" 0.0;
-                    inherit: "default" 0.0;
-                }
-            }
-
-            part {
-                name: "spacer_after_right_bar_buttons";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    fixed: 0 1;
-                    align: 1 0.5;
-                    color: 0 0 0 0;
-                    min: 16 URI_BG_HEIGHT;
-                    max: 16 URI_BG_HEIGHT;
-                    rel1 { relative: 0.0 0.0; to: "uri_bar_bg"; }
-                    rel2 { relative: 1.0 1.0; to: "uri_bar_bg"; }
-                }
-            }
-            part {
-                name: "web_view";
-                type: SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 0 0;
-                    min: 0 0;
-                    max: -1 -1;
-                    rel1 { relative: 0.0 1.0; to: "uri_bar_bg"; }
-                    rel2 { relative: 1.0 1.0; to: "bg"; }
-                }
-            }
-            part {
-                name: "web_view_dummy_button";
-                type: SWALLOW;
-                mouse_events: 1;
-                repeat_events: 1;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    align: 0.0 0.0;
-                    fixed: 0 0;
-                    min: 0 0;
-                    max: -1 -1;
-                    rel1 { relative: 0.0 0.0; to: "web_view"; }
-                    rel2 { relative: 1.0 1.0; to: "web_view"; }
-                }
-            }
-            part { name: "progressbar_bg";
-                type: IMAGE;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 0;
-                    fixed: 0 1;
-                    min: 0 5;
-                    max: -1 5;
-                    align: 0.5 1;
-                    image.normal: PROGRESS_BG_IMAGE;
-                    rel1 { relative: 0.0 0.0; to: "uri_bar_bg";}
-                    rel2 { relative: 1.0 1.0; to: "uri_bar_bg";}
-                }
-                description {
-                    state: "progress" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-            }
-            part { name: "progress_bar";
-                type: IMAGE;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 0;
-                    align: 0.0 0.0;
-                    image.normal: PROGRESS_BAR_IMAGE;
-                    rel1 { relative: 0.0 0.0; to: "progressbar_bg"; }
-                    rel2 { relative: 1.0 1.0; to: "progressbar_bg"; }
-                }
-                PROGRESS_DESCRIPTIONS
-            }
-            programs {
-                program { name: "hide,progress";
-                    signal: "hide,progress,signal";
-                    transition: DECELERATE 0.1;
-                    action: STATE_SET "default" 0.0;
-                    target: "progress_bar";
-                    target: "bg";
-                }
-                program { name: "show,progress";
-                    signal: "show,progress,signal";
-                    action: STATE_SET "progress" 0.0;
-                    target: "bg";
-                }
-                program { name: "update,progress,0.00";
-                    signal: "update,progress,0.00,signal";
-                    action: STATE_SET "progress" 0.05;
-                    target: "progress_bar";
-                }
-                PROGRESS_PROGRAMS
-                program { name: "update,progress,1.0";
-                    signal: "update,progress,1.00,signal";
-                    transition: DECELERATE 0.05;
-                    action: STATE_SET "progress" 1.00;
-                    target: "progress_bar";
-                }
-            }
-
-            #include "WebPageUIUrlHistoryList.edc"
-            part {
-                name: "moremenu_dimmed_bg";
-                type: RECT;
-                scale: 1;
-                mouse_events: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 0;
-                    align: 0.0 0.0;
-                    min: 0 0;
-                    max: -1 -1;
-                    fixed: 0 0;
-                    color: 0 0 0 102.4;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "web_view";
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                        to: "web_view";
-                    }
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default";
-                    visible: 1;
-                }
-            }
-            part {
-                name: "moremenu_bg";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 0;
-                    align: 0.0 0.0;
-                    min: 0 MORE_HEIGHT_VERTICAL;
-                    max: -1 MORE_HEIGHT_VERTICAL;
-                    fixed: 0 1;
-                    color: 244 244 244 255;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "web_view";
-                    }
-                    rel2.relative: 1.0 1.0;
-                }
-                description { state: "landscape" 0.0;
-                              inherit: "default";
-                              visible: 1;
-                              min: 0 MORE_HEIGHT_LANDSCAPE;
-                              max: -1 MORE_HEIGHT_LANDSCAPE;
-                            }
-                description { state: "vertical" 0.0;
-                              inherit: "default";
-                              visible: 1;
-                              min: 0 MORE_HEIGHT_VERTICAL;
-                              max: -1 MORE_HEIGHT_VERTICAL;
-                            }
-            }
-            part {
-                name: "moremenu";
-                type: SWALLOW;
-                scale: 1;
-                mouse_events: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 0;
-                    align: 0.0 0.0;
-                    min: 0 MORE_HEIGHT_VERTICAL;
-                    max: -1 MORE_HEIGHT_VERTICAL;
-                    fixed: 0 1;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "moremenu_bg";
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                        to: "moremenu_bg";
-                    }
-                }
-                description { state: "landscape" 0.0;
-                              inherit: "default";
-                              visible: 1;
-                              min: 0 MORE_HEIGHT_LANDSCAPE;
-                              max: -1 MORE_HEIGHT_LANDSCAPE;
-                            }
-                description { state: "vertical" 0.0;
-                              inherit: "default";
-                              visible: 1;
-                              min: 0 MORE_HEIGHT_VERTICAL;
-                              max: -1 MORE_HEIGHT_VERTICAL;
-                            }
-            }
-            part {
-               name: "findonpage";
-               type: SWALLOW;
-               scale: 1;
-               mouse_events: 1;
-               description {
-                  state: "default" 0.0;
-                  visible: 0;
-                  align: 0 0;
-                  fixed: 1 1;
-                  color: 244 244 244 255;
-                  min: 0 FINDONPAGE_HEIGHT;
-                  max: -1 FINDONPAGE_HEIGHT;
-                  rel1 {
-                      relative: 0 0;
-                      to: "web_view";
-                  }
-                  rel2 {
-                      relative: 1 1;
-                      to: "web_view";
-                  }
-               }
-               description {
-                   state: "visible" 0.0;
-                   inherit: "default";
-                   visible: 1;
-               }
-            }
-        }
-        programs {
-            program {
-                name: "shiftright_uribar";
-                signal: "shiftright_uri";
-                source: "ui";
-                action: STATE_SET "moveright" 0.0;
-                target: "uri_entry";
-                target: "uri_bar_buttons_left";
-            }
-            program {
-                name: "shiftback_uribar";
-                signal: "shiftback_uri";
-                source: "ui";
-                action: STATE_SET "default" 0.0;
-                target: "uri_entry";
-                target: "uri_bar_buttons_left";
-            }
-            program {
-                name: "enlarge_focused_uribar";
-                signal: "enlarge_focused_uri";
-                source: "ui";
-                action: STATE_SET "entry_enlarged" 0.0;
-                target: "uri_entry";
-                target: "uri_bar_buttons_left";
-                target: "uri_bar_buttons_right";
-            }
-            program {
-                name: "decrease_unfocused_uribar";
-                signal: "decrease_unfocused_uri";
-                source: "ui";
-                action: STATE_SET "default" 0.0;
-                target: "uri_entry";
-                target: "uri_bar_buttons_left";
-                target: "uri_bar_buttons_right";
-            }
-            program {
-                name: "decrease_unfocused_uribar_wp";
-                signal: "decrease_unfocused_uri_wp";
-                source: "ui";
-                action: STATE_SET "entry_decreased_wp" 0.0;
-                target: "uri_entry";
-                target: "uri_bar_buttons_left";
-                target: "uri_bar_buttons_right";
-            }
-            program {
-                name: "hide_uri_bar_landscape";
-                signal: "hide_uri_bar_landscape";
-                source: "ui";
-                in: 0.01 0.0;
-                action: STATE_SET "hidden_landscape" 0.0;
-                target: "uri_bar_bg";
-                transition: LINEAR 0.15;
-            }
-            program {
-                name: "hide_uri_bar_vertical";
-                signal: "hide_uri_bar_vertical";
-                source: "ui";
-                in: 0.01 0.0;
-                action: STATE_SET "hidden_vertical" 0.0;
-                target: "uri_bar_bg";
-                transition: LINEAR 0.15;
-            }
-            program {
-                name: "show_uri_bar";
-                signal: "show_uri_bar";
-                source: "ui";
-                action: STATE_SET "default" 0.0;
-                target: "uri_bar_bg";
-                transition: LINEAR 0.15;
-            }
-            program {
-                name: "hide_moremenu";
-                signal: "hide_moremenu";
-                source: "ui";
-                action: STATE_SET "default" 0.0;
-                target: "moremenu";
-                target: "moremenu_bg";
-                target: "moremenu_dimmed_bg";
-            }
-            program {
-                name: "show_moremenu_landscape";
-                signal: "show_moremenu_landscape";
-                source: "ui";
-                action: STATE_SET "landscape" 0.0;
-                target: "moremenu";
-                target: "moremenu_bg";
-                after: "show_moremenu_dimmed_bg";
-            }
-            program {
-                name: "show_moremenu_vertical";
-                signal: "show_moremenu_vertical";
-                source: "ui";
-                action: STATE_SET "vertical" 0.0;
-                target: "moremenu";
-                target: "moremenu_bg";
-                after: "show_moremenu_dimmed_bg";
-            }
-            program {
-                name: "show_moremenu_dimmed_bg";
-                action: STATE_SET "visible" 0.0;
-                target: "moremenu_dimmed_bg";
-            }
-            program {
-                name: "hide_findonpage";
-                signal: "hide_findonpage";
-                source: "ui";
-                action: STATE_SET "default" 0.0;
-                target: "findonpage";
-            }
-            program {
-                name: "show_findonpage";
-                signal: "show_findonpage";
-                source: "ui";
-                action: STATE_SET "visible" 0.0;
-                target: "findonpage";
-            }
-        }
-    }
-}
diff --git a/services/WebPageUI/images/btn_bar_back_nor.png b/services/WebPageUI/images/btn_bar_back_nor.png
deleted file mode 100644 (file)
index e4e7da9..0000000
Binary files a/services/WebPageUI/images/btn_bar_back_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images/btn_bar_forward_nor.png b/services/WebPageUI/images/btn_bar_forward_nor.png
deleted file mode 100644 (file)
index ef0b78d..0000000
Binary files a/services/WebPageUI/images/btn_bar_forward_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images/btn_bar_incognito.png b/services/WebPageUI/images/btn_bar_incognito.png
deleted file mode 100644 (file)
index 1f5d11c..0000000
Binary files a/services/WebPageUI/images/btn_bar_incognito.png and /dev/null differ
diff --git a/services/WebPageUI/images/btn_bar_manager_nor.png b/services/WebPageUI/images/btn_bar_manager_nor.png
deleted file mode 100644 (file)
index 3a96d3c..0000000
Binary files a/services/WebPageUI/images/btn_bar_manager_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images/btn_bar_more_nor.png b/services/WebPageUI/images/btn_bar_more_nor.png
deleted file mode 100644 (file)
index f51cb54..0000000
Binary files a/services/WebPageUI/images/btn_bar_more_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images/btn_bar_reload_nor.png b/services/WebPageUI/images/btn_bar_reload_nor.png
deleted file mode 100644 (file)
index 7f840cb..0000000
Binary files a/services/WebPageUI/images/btn_bar_reload_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images/btn_bar_stop_nor.png b/services/WebPageUI/images/btn_bar_stop_nor.png
deleted file mode 100644 (file)
index c5cdc11..0000000
Binary files a/services/WebPageUI/images/btn_bar_stop_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images/btn_bar_vertical_settings.png b/services/WebPageUI/images/btn_bar_vertical_settings.png
deleted file mode 100644 (file)
index 64488c3..0000000
Binary files a/services/WebPageUI/images/btn_bar_vertical_settings.png and /dev/null differ
diff --git a/services/WebPageUI/images/ic_text_form.png b/services/WebPageUI/images/ic_text_form.png
deleted file mode 100644 (file)
index af49e26..0000000
Binary files a/services/WebPageUI/images/ic_text_form.png and /dev/null differ
diff --git a/services/WebPageUI/images/input_ic_cancel.png b/services/WebPageUI/images/input_ic_cancel.png
deleted file mode 100644 (file)
index 9506772..0000000
Binary files a/services/WebPageUI/images/input_ic_cancel.png and /dev/null differ
diff --git a/services/WebPageUI/images/input_ic_incognito.png b/services/WebPageUI/images/input_ic_incognito.png
deleted file mode 100644 (file)
index cf6c9d3..0000000
Binary files a/services/WebPageUI/images/input_ic_incognito.png and /dev/null differ
diff --git a/services/WebPageUI/images/round_rectangle_4X4.png b/services/WebPageUI/images/round_rectangle_4X4.png
deleted file mode 100644 (file)
index 5a1f51d..0000000
Binary files a/services/WebPageUI/images/round_rectangle_4X4.png and /dev/null differ
diff --git a/services/WebPageUI/images/web_browsing_icon_error.png b/services/WebPageUI/images/web_browsing_icon_error.png
deleted file mode 100644 (file)
index 3afcd75..0000000
Binary files a/services/WebPageUI/images/web_browsing_icon_error.png and /dev/null differ
diff --git a/services/WebPageUI/images/web_shadow.png b/services/WebPageUI/images/web_shadow.png
deleted file mode 100644 (file)
index f9018b0..0000000
Binary files a/services/WebPageUI/images/web_shadow.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/btn_bar_back_nor.png b/services/WebPageUI/images_mob/btn_bar_back_nor.png
deleted file mode 100644 (file)
index 3293745..0000000
Binary files a/services/WebPageUI/images_mob/btn_bar_back_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/btn_bar_forward_nor.png b/services/WebPageUI/images_mob/btn_bar_forward_nor.png
deleted file mode 100644 (file)
index e1c95ed..0000000
Binary files a/services/WebPageUI/images_mob/btn_bar_forward_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/btn_bar_manager_nor.png b/services/WebPageUI/images_mob/btn_bar_manager_nor.png
deleted file mode 100644 (file)
index 542b127..0000000
Binary files a/services/WebPageUI/images_mob/btn_bar_manager_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/btn_bar_reload_nor.png b/services/WebPageUI/images_mob/btn_bar_reload_nor.png
deleted file mode 100644 (file)
index 28a77ee..0000000
Binary files a/services/WebPageUI/images_mob/btn_bar_reload_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/btn_bar_stop_nor.png b/services/WebPageUI/images_mob/btn_bar_stop_nor.png
deleted file mode 100644 (file)
index 7c4cc8e..0000000
Binary files a/services/WebPageUI/images_mob/btn_bar_stop_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/internet_ic_add.png b/services/WebPageUI/images_mob/internet_ic_add.png
new file mode 100644 (file)
index 0000000..17dd91f
Binary files /dev/null and b/services/WebPageUI/images_mob/internet_ic_add.png differ
diff --git a/services/WebPageUI/images_mob/navi_ic_back_dis.png b/services/WebPageUI/images_mob/navi_ic_back_dis.png
deleted file mode 100644 (file)
index 7217387..0000000
Binary files a/services/WebPageUI/images_mob/navi_ic_back_dis.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/navi_ic_back_nor.png b/services/WebPageUI/images_mob/navi_ic_back_nor.png
deleted file mode 100644 (file)
index 3293745..0000000
Binary files a/services/WebPageUI/images_mob/navi_ic_back_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/navi_ic_forward_dis.png b/services/WebPageUI/images_mob/navi_ic_forward_dis.png
deleted file mode 100644 (file)
index 0e8cbab..0000000
Binary files a/services/WebPageUI/images_mob/navi_ic_forward_dis.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/navi_ic_forward_nor.png b/services/WebPageUI/images_mob/navi_ic_forward_nor.png
deleted file mode 100644 (file)
index e1c95ed..0000000
Binary files a/services/WebPageUI/images_mob/navi_ic_forward_nor.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/navi_ic_reload.png b/services/WebPageUI/images_mob/navi_ic_reload.png
deleted file mode 100644 (file)
index 28a77ee..0000000
Binary files a/services/WebPageUI/images_mob/navi_ic_reload.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/navi_ic_stop.png b/services/WebPageUI/images_mob/navi_ic_stop.png
deleted file mode 100644 (file)
index 7c4cc8e..0000000
Binary files a/services/WebPageUI/images_mob/navi_ic_stop.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/navi_input_ic_cancel.png b/services/WebPageUI/images_mob/navi_input_ic_cancel.png
deleted file mode 100644 (file)
index bb58612..0000000
Binary files a/services/WebPageUI/images_mob/navi_input_ic_cancel.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/toolbar_ic_back.png b/services/WebPageUI/images_mob/toolbar_ic_back.png
new file mode 100644 (file)
index 0000000..296f0ca
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_ic_back.png differ
diff --git a/services/WebPageUI/images_mob/toolbar_ic_bookmark.png b/services/WebPageUI/images_mob/toolbar_ic_bookmark.png
new file mode 100644 (file)
index 0000000..8841d55
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_ic_bookmark.png differ
diff --git a/services/WebPageUI/images_mob/toolbar_ic_forward.png b/services/WebPageUI/images_mob/toolbar_ic_forward.png
new file mode 100644 (file)
index 0000000..f85e61a
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_ic_forward.png differ
diff --git a/services/WebPageUI/images_mob/toolbar_ic_home.png b/services/WebPageUI/images_mob/toolbar_ic_home.png
new file mode 100644 (file)
index 0000000..0ab2a0a
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_ic_home.png differ
diff --git a/services/WebPageUI/images_mob/toolbar_ic_tabs.png b/services/WebPageUI/images_mob/toolbar_ic_tabs.png
new file mode 100644 (file)
index 0000000..ac9ab84
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_ic_tabs.png differ
diff --git a/services/WebPageUI/images_mob/toolbar_input_ic_cancel.png b/services/WebPageUI/images_mob/toolbar_input_ic_cancel.png
new file mode 100644 (file)
index 0000000..f374ad8
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_input_ic_cancel.png differ
diff --git a/services/WebPageUI/images_mob/toolbar_input_ic_refresh.png b/services/WebPageUI/images_mob/toolbar_input_ic_refresh.png
new file mode 100644 (file)
index 0000000..d473f20
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_input_ic_refresh.png differ