URI bar icons improvement 48/81648/5
authorMaciej Skrzypkowski <m.skrzypkows@samsung.com>
Thu, 28 Jul 2016 14:12:40 +0000 (16:12 +0200)
committerMaciej Skrzypkowski <m.skrzypkows@samsung.com>
Thu, 28 Jul 2016 14:12:40 +0000 (16:12 +0200)
[Issue]    N/A
[Problem]  Wrong icons were displayed on URI entry.
[Solution] Improved showing reload, stop loading, secure,
           unsecure icons.
[Verify]   Browse secure and unsecure pages check if icons are
           properly displayed.

Change-Id: Ib24f6343180f6829e49393bcca3d62ae5f8bf759
Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
services/WebPageUI/URIEntry.cpp
services/WebPageUI/URIEntry.h
services/WebPageUI/WebPageUI.cpp
services/WebPageUI/edc/URIEntry.edc
services/WebPageUI/edc/WebPageUI.edc
services/WebPageUI/images_mob/ic_lock.png [deleted file]
services/WebPageUI/images_mob/ic_lock_unsecure.png [deleted file]
services/WebPageUI/images_mob/input_ic_incognito.png [deleted file]
services/WebPageUI/images_mob/toolbar_input_ic_security.png [new file with mode: 0644]
services/WebPageUI/images_mob/toolbar_input_ic_security_off.png [new file with mode: 0644]

index 37a6cf45a42526315f8d38dc5bfde7f98591f73d..3ae16c70cc6bdc2a432538130d47e32dba977945 100644 (file)
@@ -82,7 +82,8 @@ 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);
-        elm_object_signal_callback_add(m_entry_layout,  "right_icon_clicked", "ui", _uri_right_icon_clicked, this);
+        elm_object_signal_callback_add(m_entry_layout,  "left,icon,clicked", "ui", _uri_left_icon_clicked, this);
+        elm_object_signal_callback_add(m_entry_layout,  "right,icon,clicked", "ui", _uri_right_icon_clicked, this);
 
         setUrlGuideText(GUIDE_TEXT_UNFOCUSED);
 
@@ -116,8 +117,10 @@ void URIEntry::changeUri(const std::string& newUri)
         if (!m_URI.empty()) {
             elm_entry_entry_set(m_entry, elm_entry_utf8_to_markup(m_URI.c_str()));
             m_rightIconType = RightIconType::NONE;
-        } else
+        } else {
             elm_entry_entry_set(m_entry, elm_entry_utf8_to_markup(""));
+            hideRightIcon();
+        }
     }
     updateSecureIcon();
 }
@@ -252,6 +255,7 @@ void URIEntry::focused(void* data, Evas_Object* /* obj */, void* /* event_info *
         self->m_first_click = false;
         self->m_entrySelectionState = SelectionState::SELECTION_NONE;
     }
+    self->hideLeftIcon();
 }
 
 void URIEntry::_fixed_entry_key_down_handler(void* data, Evas* /*e*/, Evas_Object* /*obj*/, void* event_info)
@@ -319,7 +323,6 @@ void URIEntry::editingCanceled()
 void URIEntry::loadStarted()
 {
     m_isPageLoading = true;
-    elm_object_signal_emit(m_entry_layout, "shiftright_uribg", "ui");
     showStopIcon();
 }
 
@@ -383,6 +386,13 @@ void URIEntry::_uri_entry_longpressed(void* data, Evas_Object* /*obj*/, void* /*
 
 }
 
+void URIEntry::_uri_left_icon_clicked(void* data, Evas_Object*, const char*, const char*)
+{
+    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
+    auto self = static_cast<URIEntry*>(data);
+    self->secureIconClicked();
+}
+
 void URIEntry::_uri_right_icon_clicked(void* data, Evas_Object* /*obj*/, const char* /*emission*/, const char* /*source*/)
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
@@ -390,7 +400,7 @@ void URIEntry::_uri_right_icon_clicked(void* data, Evas_Object* /*obj*/, const c
     switch (self->m_rightIconType) {
     case RightIconType::CANCEL:
         elm_entry_entry_set(self->m_entry, "");
-        elm_object_signal_emit(self->m_entry_layout, "hide_icon", "ui");
+        self->hideRightIcon();
         break;
     case RightIconType::RELOAD:
         self->reloadPage();
@@ -409,9 +419,9 @@ void URIEntry::showCancelIcon()
     m_rightIconType = RightIconType::CANCEL;
     bool isEntryEmpty = elm_entry_is_empty(m_entry);
     if(!isEntryEmpty)
-        elm_object_signal_emit(m_entry_layout, "show_cancel_icon", "ui");
+        elm_object_signal_emit(m_entry_layout, "show,cancel,icon", "ui");
     else
-        elm_object_signal_emit(m_entry_layout, "hide_icon", "ui");
+        hideRightIcon();
 }
 
 void URIEntry::updateSecureIcon()
@@ -434,7 +444,7 @@ 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");
+    elm_object_signal_emit(m_entry_layout, "show,cancel,icon", "ui");
 }
 
 void URIEntry::showReloadIcon()
@@ -447,7 +457,13 @@ void URIEntry::showReloadIcon()
 void URIEntry::hideRightIcon()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-    elm_object_signal_emit(m_entry_layout, "hide_icon", "ui");
+    elm_object_signal_emit(m_entry_layout, "hide,right,icon", "ui");
+}
+
+void URIEntry::hideLeftIcon()
+{
+    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
+    elm_object_signal_emit(m_entry_layout,"hide,left,icon", "ui");
 }
 
 void URIEntry::showSecureIcon(bool show, bool secure)
@@ -461,9 +477,8 @@ void URIEntry::showSecureIcon(bool show, bool secure)
             elm_object_signal_emit(m_entry_layout, "show,secure,icon", "");
         else
             elm_object_signal_emit(m_entry_layout, "show,unsecure,icon", "");
-    }
-    else {
-        // TODO: new signal for left side secure icon needed
+    } else {
+        hideLeftIcon();
     }
 }
 
index c59725c2be438dc1d3a4dd4a8b06d8abbabecfa7..14d703b101bcd78c163735a182fcb1336d19e5d7 100644 (file)
@@ -125,11 +125,13 @@ private:
         STOP_LOADING
     };
 
+    static void _uri_left_icon_clicked(void* data, Evas_Object*, const char*, const char*);
     static void _uri_right_icon_clicked(void* data, Evas_Object*, const char*, const char*);
     void showCancelIcon();
     void showStopIcon();
     void showReloadIcon();
     void hideRightIcon();
+    void hideLeftIcon();
 
 private:
     Evas_Object* m_parent;
index 29a59e4e8022236eea9d9b8e70945ac1bce821e4..cb7e7d309f55a2f48c42d28328d0a6e6fe21184a 100755 (executable)
@@ -95,7 +95,6 @@ void WebPageUI::showUI()
     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_bottomButtonBar->getContent());
         elm_object_signal_emit(m_mainLayout, "shiftback_uri", "ui");
         showQuickAccess();
     }
@@ -183,13 +182,9 @@ void WebPageUI::toIncognito(bool incognito)
     BROWSER_LOGD("[%s:%d,%d] ", __PRETTY_FUNCTION__, __LINE__, incognito);
     if (incognito) {
         elm_object_signal_emit(m_mainLayout, "incognito,true", "ui");
-        elm_object_signal_emit(m_URIEntry->getEntryWidget(), "uri_entry_incognito", "ui");
-        elm_object_signal_emit(m_URIEntry->getContent(), "uri_entry_incognito", "ui");
     }
     else {
         elm_object_signal_emit(m_mainLayout, "incognito,false", "ui");
-        elm_object_signal_emit(m_URIEntry->getEntryWidget(), "uri_entry_normal", "ui");
-        elm_object_signal_emit(m_URIEntry->getContent(), "uri_entry_normal", "ui");
     }
 }
 
@@ -215,7 +210,6 @@ void WebPageUI::switchViewToErrorPage()
     setMainContent(m_errorLayout);
     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();
 }
 
@@ -228,9 +222,7 @@ void WebPageUI::switchViewToIncognitoPage()
         createPrivateLayout();
     setMainContent(m_privateLayout);
     orientationChanged();
-    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();
     m_URIEntry->changeUri("");
 }
@@ -244,9 +236,7 @@ void WebPageUI::switchViewToWebPage(Evas_Object* content, const std::string uri)
         m_statesMgr->set(WPUState::MAIN_WEB_PAGE);
     }
     setMainContent(content);
-    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);
 }
 
@@ -257,9 +247,7 @@ void WebPageUI::switchViewToQuickAccess(Evas_Object* content)
     m_statesMgr->set(WPUState::QUICK_ACCESS);
     toIncognito(false);
     setMainContent(content);
-    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();
     m_URIEntry->changeUri("");
     m_URIEntry->showSecureIcon(false, false);
@@ -639,7 +627,7 @@ void WebPageUI::createActions()
     m_forward = sharedAction(new Action(_("IDS_BR_SK_NEXT")));
     m_forward->setIcon("toolbar_next");
 
-    m_addTab = sharedAction(new Action("Add tab"));
+    m_addTab = sharedAction(new Action("New tab"));
     m_addTab->setIcon("add_tab");
 
     m_homePage = sharedAction(new Action("Home"));
@@ -775,11 +763,7 @@ void WebPageUI::mobileEntryFocused()
 void WebPageUI::mobileEntryUnfocused()
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
-    if (m_statesMgr->equals(WPUState::QUICK_ACCESS)) {
-        elm_object_signal_emit(m_mainLayout, "decrease_unfocused_uri", "ui");
-    } else {
-        elm_object_signal_emit(m_mainLayout, "decrease_unfocused_uri_wp", "ui");
-    }
+    elm_object_signal_emit(m_mainLayout, "decrease_unfocused_uri", "ui");
 
     // delay hiding on one efl loop iteration to enable genlist item selected callback to come
     ecore_timer_add(0.0, _hideDelay, this);
index 17403b4c68c8aa83345e8b0bf1814fb49e6b655c..848fbd2fc7a202fa0913019bc7c67eeb6f33e9d5 100755 (executable)
    }
 
 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_security.png")
+RESOURCE_IMAGE_LOSSY("toolbar_input_ic_security_off.png")
 RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
     group {
         name: "elm/entry/selection/browser_entry";
@@ -137,9 +136,6 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
         data {
             item: focus_highlight "off";
         }
-        images {
-            image: "input_ic_incognito.png" COMP;
-        }
         parts {
 
             part {
@@ -243,11 +239,6 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                 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";
@@ -273,15 +264,10 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                     min: 0 URI_INPUTBOX_HEIGHT;
                     max: -1 URI_INPUTBOX_HEIGHT;
                     fixed: 0 1;
-                    color: 244 244 244 255;
+                    color: 255 255 255 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;
@@ -293,31 +279,53 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                     visible: 1;
                 }
             }
-            part {
-                name: "over_icon";
+            rect {
+                name: "left_spacer";
                 scale: 1;
-                type: RECT;
                 mouse_events: 0;
                 description {
                     state: "default" 0.0;
+                    min: 16 URI_INPUTBOX_HEIGHT;
+                    max: 16 URI_INPUTBOX_HEIGHT;
+                    rel1.to: "left_spacer";
+                    rel1.relative: 0.0 0.0;
+                    rel2.to: "uri_entry_space";
+                    rel2.relative: 1.0 1.0;
+                    align: 0 0;
+                    visible: 0;
+                }
+                description {
+                    state: "hidden" 0.0;
+                    inherit: "default" 0.0;
                     min: 0 0;
                     max: 0 0;
-                    rel1.to: "uri_entry_space";
-                    rel1.relative: 0.0 0.0;
+                }
+            }
+            rect {
+                name: "left_icon_bg";
+                scale: 1;
+                mouse_events: 0;
+                description {
+                    state: "default" 0.0;
+                    min: 0 0;
+                    max: 0 0;
+                    rel1.to: "left_spacer";
+                    rel1.relative: 1.0 0.0;
                     rel2.to: "uri_entry_space";
                     rel2.relative: 1.0 1.0;
                     align: 0 0;
-                    color: 244 244 244 255;
+                    color: 255 255 255 255;
                 }
                 description {
-                    state: "incognito" 0.0;
+                    state: "visible" 0.0;
                     inherit: "default" 0.0;
-                    min: 38 URI_INPUTBOX_HEIGHT;
-                    max: 38 URI_INPUTBOX_HEIGHT;
+                    min: 82 URI_INPUTBOX_HEIGHT;
+                    max: 82 URI_INPUTBOX_HEIGHT;
                 }
+
             }
             part {
-                name: "incognito_icon";
+                name: "left_icon";
                 type: IMAGE;
                 scale: 1;
                 description {
@@ -325,23 +333,48 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                     visible: 0;
                     min: 0 0;
                     max: 0 0;
+                    color: 105 105 105 255;
                     rel1 {
-                        to: "over_icon";
+                        to: "left_icon_bg";
                         relative: 0.0 0.0;
                     }
                     rel2 {
+                        to: "left_icon_bg";
                         relative: 1.0 1.0;
                     }
-                    image.normal: "input_ic_incognito.png";
-                    align: 0 0.5;
+                    align: 0.5 0.5;
                 }
                 description {
-                    state: "incognito" 0.0;
+                    state: "visible" 0.0;
                     inherit: "default" 0.0;
-                    min: 38 38;
-                    max: 38 38;
+                    min: 50 50;
+                    max: 50 50;
                     visible: 1;
                 }
+                description {
+                    state: "secure" 0.0;
+                    inherit: "visible" 0.0;
+                    image.normal: "toolbar_input_ic_security.png";
+                }
+                description {
+                    state: "unsecure" 0.0;
+                    inherit: "visible" 0.0;
+                    image.normal: "toolbar_input_ic_security_off.png";
+                }
+            }
+            rect {
+                name: "left_icon_over";
+                scale: 1;
+                mouse_events: 1;
+                description {
+                    state: "default" 0.0;
+                    rel1.to: "left_icon_bg";
+                    rel1.relative: 0.0 0.0;
+                    rel2.to: "left_icon_bg";
+                    rel2.relative: 1.0 1.0;
+                    align: 0 0;
+                    color: 0 0 0 0;
+                }
             }
             part {
                 name: "over";
@@ -385,7 +418,7 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                         relative: 1.0 1.0;
                     }
                     visible: 1;
-                    color: 244 244 244 255;
+                    color: 255 255 255 255;
                 }
                 description {
                     state: "focused" 0.0;
@@ -393,11 +426,6 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                     visible: 1;
                     color: 224 237 251 255;
                 }
-                description {
-                    state: "moveright" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
             }
             part {
                 name: "uri_entry_swallow";
@@ -409,16 +437,11 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                     visible: 1;
                     align: 0.0 0.0;
                     fixed: 1 1;
-                    rel1 { relative: 1.0 0.0; to: "over_icon"; }
+                    rel1 { relative: 1.0 0.0; to: "left_icon_bg"; }
                     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;
@@ -463,16 +486,6 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                     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;
@@ -480,7 +493,7 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                 }
             }
             part {
-                name: "cancel_over";
+                name: "right_icon_over";
                 scale:1;
                 type: RECT;
                 mouse_events: 1;
@@ -499,69 +512,25 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                     }
                     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";
-                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";
+                source: "right_icon_over";
                 action: STATE_SET "focused" 0.0;
                 target: "right_icon_bg";
             }
             program {
                 name: "mouse_out_right_icon";
                 signal: "mouse,up,*";
-                source: "cancel_over";
+                source: "right_icon_over";
                 action: STATE_SET "visible" 0.0;
                 target: "right_icon_bg";
             }
@@ -570,16 +539,16 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                 signal: "show,secure,icon";
                 source: "";
                 action: STATE_SET "secure" 0.0;
-                target: "right_icon";
-                after: "show_icon_bg";
+                target: "left_icon";
+                after: "show_left_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";
+                target: "left_icon";
+                after: "show_left_icon_bg";
             }
             program {
                 name: "show_reload_icon";
@@ -587,59 +556,67 @@ RESOURCE_IMAGE_LOSSY("toolbar_input_ic_refresh.png")
                 source: "";
                 action: STATE_SET "reload" 0.0;
                 target: "right_icon";
-                after: "show_icon_bg";
+                after: "show_right_icon_bg";
+            }
+            program {
+                name: "mouse_clicked_left_icon";
+                signal: "mouse,clicked,*";
+                source: "left_icon_over";
+                action: SIGNAL_EMIT "left,icon,clicked" "ui";
             }
             program {
                 name: "mouse_clicked_right_icon";
                 signal: "mouse,clicked,*";
-                source: "cancel_over";
+                source: "right_icon_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";
+                action: SIGNAL_EMIT "right,icon,clicked" "ui";
             }
             program {
-                name: "normal_mode_uri_entry";
+                name: "hide_left_icon";
                 source: "ui";
-                signal: "uri_entry_normal";
+                signal: "hide,left,icon";
                 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";
+                target: "left_icon";
+                target: "left_icon_bg";
+                target: "left_spacer";
             }
             program {
                 name: "show_cancel_icon";
                 source: "ui";
-                signal: "show_cancel_icon";
+                signal: "show,cancel,icon";
                 action: STATE_SET "cancel" 0.0;
                 target: "right_icon";
-                after: "show_icon_bg";
+                after: "show_right_icon_bg";
             }
             program {
-                name: "show_icon_bg";
-                signal: "show_icon_bg";
+                name: "show_right_icon_bg";
                 action: STATE_SET "visible" 0.0;
                 target: "right_icon_bg";
-                target: "cancel_over";
+                target: "right_icon_over";
             }
             program {
-                name: "hide_icon";
+                name: "hide_right_icon";
                 source: "ui";
-                signal: "hide_icon";
+                signal: "hide,right,icon";
                 action: STATE_SET "default" 0.0;
                 target: "right_icon";
                 target: "right_icon_bg";
-                target: "cancel_over";
+                target: "right_icon_over";
+            }
+            program {
+                name: "show_left_icon_bg";
+                action: STATE_SET "visible" 0.0;
+                target: "left_icon_bg";
+                after: "hide_left_spacer";
+            }
+            program {
+                name: "hide_left_spacer";
+                action: STATE_SET "hidden" 0.0;
+                target: "left_spacer";
             }
         }
     }
index f9855621236004e0005cba9add6ab5fa633e2341..778be88747e994d0bf8eef31c579354cd23a8735 100644 (file)
@@ -164,10 +164,6 @@ collections { base_scale: 2.6;
                     inherit: "default" 0.0;
                     visible: 1;
                 }
-                description {
-                    state: "entry_decreased_wp" 0.0;
-                    inherit: "moveright" 0.0;
-                }
             }
 
             part {
@@ -219,10 +215,6 @@ collections { base_scale: 2.6;
                     inherit: "default" 0.0;
                     visible: 1;
                 }
-                description {
-                    state: "entry_decreased_wp" 0.0;
-                    inherit: "default" 0.0;
-                }
             }
 
             part {
@@ -508,14 +500,6 @@ collections { base_scale: 2.6;
                 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";
diff --git a/services/WebPageUI/images_mob/ic_lock.png b/services/WebPageUI/images_mob/ic_lock.png
deleted file mode 100644 (file)
index b8545e4..0000000
Binary files a/services/WebPageUI/images_mob/ic_lock.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/ic_lock_unsecure.png b/services/WebPageUI/images_mob/ic_lock_unsecure.png
deleted file mode 100644 (file)
index 273cefd..0000000
Binary files a/services/WebPageUI/images_mob/ic_lock_unsecure.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/input_ic_incognito.png b/services/WebPageUI/images_mob/input_ic_incognito.png
deleted file mode 100644 (file)
index cf6c9d3..0000000
Binary files a/services/WebPageUI/images_mob/input_ic_incognito.png and /dev/null differ
diff --git a/services/WebPageUI/images_mob/toolbar_input_ic_security.png b/services/WebPageUI/images_mob/toolbar_input_ic_security.png
new file mode 100644 (file)
index 0000000..75674bd
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_input_ic_security.png differ
diff --git a/services/WebPageUI/images_mob/toolbar_input_ic_security_off.png b/services/WebPageUI/images_mob/toolbar_input_ic_security_off.png
new file mode 100644 (file)
index 0000000..f5ee432
Binary files /dev/null and b/services/WebPageUI/images_mob/toolbar_input_ic_security_off.png differ