[Title] Initial upload the browser for tizen 2.0
[profile/ivi/org.tizen.browser.git] / edc / browser-view-url-layout.edc
index f89a6d1..04b427c 100755 (executable)
@@ -1,18 +1,19 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  *
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  *
-  *    http://www.tizenopensource.org/license
-  *
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
+ * Copyright 2012  Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *    http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
 
 #include "browser-macro.edc"
 
@@ -23,7 +24,7 @@ collections {
 #define EDITFIELD_TITLE_SIZE_INC 32
 //#define EDITFIELD_DEFAULT_MINH_INC 112
 // Customize - edit field height
-#define EDITFIELD_DEFAULT_MINH_INC 72
+#define EDITFIELD_DEFAULT_MINH_INC 64
 //#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 20
 // Customize - entry top margin
 // Strangely - (Edit field entry is aligned to top a little, so make the top margin more then bottom)
@@ -36,8 +37,9 @@ collections {
 
 #define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0 // browser customize
 
-// width of erase icon width and string witdh of "xx/xx"
-#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC_FOR_FIND_WORD (EDITFIELD_DEFAULT_ERASER_MINW_INC + 80)
+// width of erase icon width and string witdh of "xxx/xxx"
+#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC_FOR_FIND_WORD (EDITFIELD_DEFAULT_ERASER_MINW_INC + 115 + 10)
+// 115 is width of findword entry defined in browser-view-find-word.edc + 10 is minimam margin of index text width
 
 #define EDITFIELD_DEFAULT_RIGHT2_INC 10  // browser customize
 //#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 20
@@ -54,14 +56,40 @@ collections {
 // Customize - text color
 //#define ENTRY_TEXT_COLOR_INC "#FFFFFF"
 #define ENTRY_TEXT_COLOR_WHITE_INC "#FFFFFF"
-#define ENTRY_TEXT_COLOR_BLACK_INC "#000000"
+#define ENTRY_TEXT_COLOR_BLACK_INC "#3C3632"
 
-#define EDITFIELD_DEFAULT_ERASER_MINW_INC 40
-#define EDITFIELD_DEFAULT_ERASER_MINH_INC 40
+#define EDITFIELD_DEFAULT_ERASER_MINW_INC 38
+#define EDITFIELD_DEFAULT_ERASER_MINH_INC 38
 
 group { name: "elm/layout/browser-editfield/default";
    images {
-      image: "browser-view-images/url-layout/00_EditField_clear.png" COMP;
+      image: "browser-view-images/url-layout/I01_field_btn_Clear.png" COMP;
+   }
+   styles {
+      style { name: "ellipsis_textblock_style_white";
+         base: "font=SLP:style=Roman font_size=35 color="ENTRY_TEXT_COLOR_BLACK_INC" wrap=none left_margin=1 right_margin=3 ellipsis=1";
+         tag:  "br" "\n";
+         tag:  "ps" "ps";
+         tag:  "tab" "\t";
+         tag:  "em" "+ font=SLP:style=Oblique";
+         tag:  "b" "+ font=SLP:style=Bold";
+         tag:  "link" "+ color=#800 underline=on underline_color=#8008";
+         tag:  "hilight" "+ font=SLP:style=Bold";
+         tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
+         tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
+      }
+      style { name: "ellipsis_textblock_style_black";
+         base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_BLACK_INC" wrap=none left_margin=1 right_margin=3 ellipsis=1";
+         tag:  "br" "\n";
+         tag:  "ps" "ps";
+         tag:  "tab" "\t";
+         tag:  "em" "+ font=SLP:style=Oblique";
+         tag:  "b" "+ font=SLP:style=Bold";
+         tag:  "link" "+ color=#800 underline=on underline_color=#8008";
+         tag:  "hilight" "+ font=SLP:style=Bold";
+         tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
+         tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
+      }
    }
    parts {
       part {
@@ -237,6 +265,27 @@ group { name: "elm/layout/browser-editfield/default";
             visible: 0;
          }
       }
+
+               part {  name: "elm.text.ellipsis";
+                       type: TEXTBLOCK;
+                       effect: SHADOW;
+                       mouse_events: 0;
+                       scale: 1;
+                       description { state: "default" 0.0;
+                               visible: 0;
+                               align: 0.0 0.5;
+                               fixed: 1 1;
+                               rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; }
+                               rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
+                               text {
+                                       style: "ellipsis_textblock_style_white";
+                               }
+                       }
+                       description { state: "ellipsis_show" 0.0;
+                               inherit: "default" 0.0;
+                               visible: 1;
+                       }
+               }
       part {
          name: "elm.swallow.content";
          type: SWALLOW;
@@ -245,6 +294,7 @@ group { name: "elm/layout/browser-editfield/default";
          description {
             state: "default" 0.0;
             min: 0 40;
+            visible: 1;
             rel1 {
                relative : 1.0 1.0;
                to_x: "left1";
@@ -257,6 +307,10 @@ group { name: "elm/layout/browser-editfield/default";
             }
             align: 0.0 0.5;
          }
+         description { state: "ellipsis_show" 0.0;
+             inherit: "default" 0.0;
+             visible: 0;
+         }
       }
       part {
          name: "eraser_image";
@@ -265,21 +319,22 @@ group { name: "elm/layout/browser-editfield/default";
             state: "default" 0.0;
             visible: 0;
             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
+            max: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
             fixed: 1 1;
             align: 1 0.5;
             rel1 {
                relative: 0.0 0.0;
                to_x : "right2";
-               to_y : "bottom2";
+               to_y : "elm.swallow.content";
             }
             rel2 {
-               relative: 0.0 0.0;
+               relative: 0.0 0.9;
                to_x : "right2";
-               to_y : "bottom2";
+               to_y : "elm.swallow.content";
             }
             image {
-               normal: "browser-view-images/url-layout/00_EditField_clear.png";
-               border: 10 10 10 10;
+               normal: "browser-view-images/url-layout/I01_field_btn_Clear.png";
+//               border: 10 10 10 10;
                border_scale: 1;
             }
          }
@@ -312,6 +367,22 @@ group { name: "elm/layout/browser-editfield/default";
    }
    programs {
       program {
+         name: "ellipsis_show";
+         source: "elm";
+         signal: "ellipsis_show,signal";
+         action: STATE_SET "ellipsis_show" 0.0;
+         target: "elm.text.ellipsis";
+         target: "elm.swallow.content";
+      }
+      program {
+         name: "ellipsis_hide";
+         source: "elm";
+         signal: "ellipsis_hide,signal";
+         action: STATE_SET "default" 0.0;
+         target: "elm.text.ellipsis";
+         target: "elm.swallow.content";
+      }
+      program {
          name: "find_word_editfield";
          signal: "find_word,signal";
          source: "elm";
@@ -363,8 +434,9 @@ group { name: "elm/layout/browser-editfield/default";
        group {
                name: "browser/url_layout";
                images {
-                       image: "browser-view-images/url-layout/naviframe_optionheader.png" COMP;
-                       image: "browser-view-images/url-layout/I01_Icons_http.png" COMP;
+//                     image: "browser-view-images/url-layout/naviframe_optionheader.png" COMP;
+//                     image: "browser-view-images/url-layout/I01_Icons_http.png" COMP;
+                       image: "browser-view-images/url-layout/I01_toolbar_bg.png" COMP;
                }
                parts {
                        part { name: "backgournd";
@@ -375,13 +447,13 @@ group { name: "elm/layout/browser-editfield/default";
                                description {
                                        state: "default" 0.0;
                                        visible: 1;
-                                       min: 0 150;
+                                       min: 0 74;
                                        fixed: 0 1;
                                        align: 0.0 0.0;
                                        rel1 { relative: 0.0 0.0; }
                                        rel2 { relative: 1.0 1.0; }
                                        image {
-                                               normal: "browser-view-images/url-layout/naviframe_optionheader.png";
+                                               normal: "browser-view-images/url-layout/I01_toolbar_bg.png";
                                                border: 1 1 2 1;
                                                border_scale: 1;
                                        }
@@ -395,9 +467,9 @@ group { name: "elm/layout/browser-editfield/default";
                                description {
                                        state: "default" 0.0;
                                        visible: 1;
-                                       min: 0 106;
+                                       min: 0 74;
                                        align: 0.0 0.0;
-                                       rel1 { relative: 0.0 1.0; to_y: "title_text"; }
+                                       rel1 { relative: 0.0 0.0; }
                                        rel2 { relative: 1.0 1.0; }
                                        color: 255 255 255 255;  // white
                                }
@@ -413,12 +485,13 @@ group { name: "elm/layout/browser-editfield/default";
                                        rel1 { relative: 0.0 0.0; to: bg; }
                                        rel2 { relative: 1.0 1.0; to: bg; }
                                        image {
-                                               normal: "browser-view-images/url-layout/naviframe_optionheader.png";
+                                               normal: "browser-view-images/url-layout/I01_toolbar_bg.png";
                                                border: 1 1 2 1;
                                                border_scale: 1;
                                        }
                                }
                        }
+#if 0
                        part {
                                name: "secure_icon";
                                type: IMAGE;
@@ -496,6 +569,7 @@ group { name: "elm/layout/browser-editfield/default";
                                        rel2 { relative: 0.0 1.0; to_x: "padding,title_text,right"; }
                                }
                        }
+#endif
                        part { name: "padding,cancel,left";
                                mouse_events: 0;
                                type: RECT;
@@ -503,7 +577,7 @@ group { name: "elm/layout/browser-editfield/default";
                                description {
                                        state: "default" 0.0;
                                        visible: 0;
-                                       min: 15 0;
+                                       min: 16 0;
                                        fixed: 1 0;
                                        align: 1.0 0.5;
                                        rel1 { relative: 0.0 0.0; to: "elm.swallow.cancel"; }
@@ -517,21 +591,21 @@ group { name: "elm/layout/browser-editfield/default";
                                description {
                                        state: "default" 0.0;
                                        visible: 0;
-                                       min: 0 16;
+                                       min: 0 3;
                                        fixed: 0 1;
                                        align: 0.5 0.0;
                                        rel1 { relative: 0.0 0.0; to: "bg"; }
                                        rel2 { relative: 1.0 0.0; to: "bg"; }
                                }
                        }
-                       part { name: "padding,url,left";
+                       part { name: "padding,backward_button,left";
                                mouse_events: 0;
                                type: RECT;
                                scale: 1;
                                description {
                                        state: "default" 0.0;
                                        visible: 0;
-                                       min: 16 0;
+                                       min: 10 0;
                                        fixed: 1 0;
                                        align: 0.0 0.5;
                                        rel1 { relative: 0.0 0.0; to: "bg"; }
@@ -539,6 +613,66 @@ group { name: "elm/layout/browser-editfield/default";
                                }
                        }
                        part {
+                               name: "elm.swallow.backward_button";
+                               type: SWALLOW;
+                               mouse_events: 1;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 1;
+                                       min: 78 66;
+                                       max: 78 66;
+                                       fixed: 1 1;
+                                       align: 0.0 0.0;
+                                       rel1 { relative: 1.0 0.0; to_x: "padding,backward_button,left"; to_y: "elm.swallow.url"; }
+                                       rel2 { relative: 1.0 0.0; to_x: "padding,backward_button,left"; to_y: "elm.swallow.url"; }
+                               }
+                       }
+                       part { name: "padding,backward_button,right";
+                               mouse_events: 0;
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 0;
+                                       min: 3 0;
+                                       fixed: 1 0;
+                                       align: 0.0 0.5;
+                                       rel1 { relative: 1.0 0.0; to: "elm.swallow.backward_button"; }
+                                       rel2 { relative: 1.0 1.0; to: "elm.swallow.backward_button"; }
+                               }
+                       }
+                       part {
+                               name: "elm.swallow.forward_button";
+                               type: SWALLOW;
+                               mouse_events: 1;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 1;
+                                       min: 78 66;
+                                       max: 78 66;
+                                       fixed: 1 1;
+                                       align: 0.0 0.0;
+                                       rel1 { relative: 1.0 0.0; to_x: "padding,backward_button,right"; to_y: "elm.swallow.url"; }
+                                       rel2 { relative: 1.0 0.0; to_x: "padding,backward_button,right"; to_y: "elm.swallow.url"; }
+                               }
+                       }
+                       part { name: "padding,forward_button,right";
+                               mouse_events: 0;
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 0;
+                                       min: 10 0;
+                                       fixed: 1 0;
+                                       align: 0.0 0.5;
+                                       rel1 { relative: 1.0 0.0; to: "elm.swallow.forward_button"; }
+                                       rel2 { relative: 1.0 1.0; to: "elm.swallow.forward_button"; }
+                               }
+                       }
+                       part {
                                name: "elm.swallow.url";
                                type: SWALLOW;
                                mouse_events: 1;
@@ -546,16 +680,16 @@ group { name: "elm/layout/browser-editfield/default";
                                description {
                                        state: "default" 0.0;
                                        visible: 1;
-                                       min: 0 74;
+                                       min: 0 64;
                                        fixed: 0 1;
                                        align: 0.0 0.0;
-                                       rel1 { relative: 1.0 1.0; to_x: "padding,url,left"; to_y: "padding,url,top"; }
+                                       rel1 { relative: 1.0 1.0; to_x: "padding,forward_button,right"; to_y: "padding,url,top"; }
                                        rel2 { relative: 0.0 1.0; to_x: "padding,reader_icon,left"; to_y: "padding,url,top"; }
                                }
                                description {
                                        state: "edit_mode_state" 0.0;
                                        inherit: "default" 0.0;
-                                       rel1 { relative: 1.0 1.0; to_x: "padding,url,left"; to_y: "padding,url,top"; }
+                                       rel1 { relative: 1.0 1.0; to_x: "padding,backward_button,left"; to_y: "padding,url,top"; }
                                        rel2 { relative: 0.0 1.0; to_x: "padding,cancel,left"; to_y: "padding,url,top"; }
                                }
                        }
@@ -566,7 +700,7 @@ group { name: "elm/layout/browser-editfield/default";
                                description {
                                        state: "default" 0.0;
                                        visible: 0;
-                                       min: 16 0;
+                                       min: 10 0;
                                        fixed: 1 0;
                                        align: 1.0 0.5;
                                        rel1 { relative: 0.0 0.0; to_x: "elm.swallow.reader_icon"; to_y: "navigationbar_bg"; }
@@ -582,19 +716,19 @@ group { name: "elm/layout/browser-editfield/default";
                                description {
                                        state: "default" 0.0;
                                        visible: 1;
-                                       min: 74 74;
-                                       max: 74 74;
+                                       min: 74 64;
+                                       max: 74 64;
                                        fixed: 1 1;
                                        align: 0.0 0.5;
-                                       rel1 { relative: 1.0 0.0; to: "navigationbar_bg"; }
-                                       rel2 { relative: 1.0 1.0; to: "navigationbar_bg"; }
+                                       rel1 { relative: 1.0 0.0; to_x: "navigationbar_bg"; to_y: "elm.swallow.cancel"; }
+                                       rel2 { relative: 1.0 1.0; to_x: "navigationbar_bg"; to_y: "elm.swallow.cancel"; }
                                }
                                description {
                                        state: "show_reader_icon" 0.0;
                                        inherit: "default" 0.0;
                                        align: 1.0 0.5;
-                                       rel1 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "navigationbar_bg"; }
-                                       rel2 { relative: 0.0 1.0; to_x: "padding,cancel,right"; to_y: "navigationbar_bg"; }
+                                       rel1 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "elm.swallow.cancel"; }
+                                       rel2 { relative: 0.0 1.0; to_x: "padding,cancel,right"; to_y: "elm.swallow.cancel"; }
                                }
                        }
                        part { name: "padding,cancel,right";
@@ -620,23 +754,57 @@ group { name: "elm/layout/browser-editfield/default";
                                description {
                                        state: "default" 0.0;
                                        visible: 1;
-                                       min: 165 72;
-                                       max: 165 72;
+                                       min: 134 68;
+                                       max: 134 68;
                                        fixed: 1 1;
-                                       align: 0.0 0.5;
-                                       rel1 { relative: 1.0 0.0; to_x: navigationbar_bg; to_y: "navigationbar_bg"; }
-                                       rel2 { relative: 1.0 1.0; to_x: navigationbar_bg; to_y: "navigationbar_bg"; }
+                                       align: 0.0 0.0;
+                                       rel1 { relative: 1.0 0.0; to_x: "navigationbar_bg"; to_y: "elm.swallow.url"; }
+                                       rel2 { relative: 1.0 0.0; to_x: "navigationbar_bg"; to_y: "elm.swallow.url"; }
                                }
                                description {
                                        state: "edit_mode_state" 0.0;
                                        inherit: "default" 0.0;
-                                       align: 1.0 0.5;
-                                       rel1 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "navigationbar_bg"; }
-                                       rel2 { relative: 0.0 1.0; to_x: "padding,cancel,right"; to_y: "navigationbar_bg"; }
+                                       align: 1.0 0.0;
+                                       rel1 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "elm.swallow.url"; }
+                                       rel2 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "elm.swallow.url"; }
+                               }
+                       }
+                       part { name: "dim_area";
+                               mouse_events: 1;
+                               repeat_events: 0;
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 0;
+                                       fixed: 1 1;
+                                       align: 0.0 0.0;
+                                       rel1 { relative: 0.0 0.0; }
+                                       rel2 { relative: 1.0 1.0; }
+                               }
+                               description {
+                                       state: "visible" 0.0;
+                                       inherit: "default" 0.0;
+                                       visible: 1;
+                                       color: 0 0 0 102;
                                }
                        }
                }
                programs {
+                       /////////////////////////////
+                       // show / hide scissor box
+                       /////////////////////////////
+                       program { name: "show,scissorbox";
+                               signal: "show,scissorbox,signal";
+                               action: STATE_SET "visible" 0.0;
+                               target: "dim_area";
+                       }
+                       program { name: "hide,scissorbox";
+                               signal: "hide,scissorbox,signal";
+                               action: STATE_SET "default" 0.0;
+                               target: "dim_area";
+                       }
+#if 0
                        program { name: "show,secure_icon";
                                signal: "show,secure_icon,signal";
                                action: STATE_SET "visible" 0.0;
@@ -647,13 +815,15 @@ group { name: "elm/layout/browser-editfield/default";
                                action: STATE_SET "default" 0.0;
                                target: "secure_icon";
                        }
+#endif
                        program { name: "edit,url,on";
                                signal: "edit,url,on,signal";
                                action: STATE_SET "edit_mode_state" 0.0;
+                               transition: DECELERATE 0.5;
                                target: "elm.swallow.url";
-                               after: "cancel_button,show";
                        }
                        program { name: "cancel_button,show";
+                               signal: "edit,url,on,signal";
                                action: STATE_SET "edit_mode_state" 0.0;
                                transition: DECELERATE 0.5;
                                target: "elm.swallow.cancel";
@@ -688,12 +858,13 @@ group { name: "elm/layout/browser-editfield/default";
        group {
                name: "elm/browser/urlentry/default";
                images {
-                       image: "browser-view-images/url-layout/00_search_input_field_bg.png" COMP;
+                       image: "browser-view-images/url-layout/I01_search_input_field_bg.png" COMP;
                        image: "browser-view-images/url-layout/00_search_input_field_bg_black.png" COMP;
                        image: "browser-view-images/url-layout/41_browser_search_icon_refresh.png" COMP;
                        image: "browser-view-images/url-layout/icon_stop.png" COMP;
                        image: "icon/00_close_icon.png" COMP;
-                       image: "browser-view-images/url-layout/I01_Icons_RSS.png" COMP;
+                       image: "browser-view-images/url-layout/private-badge.png" COMP;
+                       image: "browser-view-images/url-layout/I01_search_icon.png" COMP;
                }
 
                parts {
@@ -720,8 +891,8 @@ group { name: "elm/layout/browser-editfield/default";
                                        fixed: 0 1;
                                        rel1 {relative: 0.0 0.0; offset: 0 0; }
                                        rel2 {relative: 1.0 1.0; offset: 0 0; }
-                                       image.normal: "browser-view-images/url-layout/00_search_input_field_bg.png";
-                                       image.border: 5 5 5 5;
+                                       image.normal: "browser-view-images/url-layout/I01_search_input_field_bg.png";
+                                       image.border: 7 7 7 7;
                                }
                                description {
                                        state: "black" 0.0;
@@ -772,6 +943,105 @@ group { name: "elm/layout/browser-editfield/default";
                                        max: 45 45;
                                }
                        }
+                       part { name: "elm.swallow.secure_icon";
+                               mouse_events: 0;
+                               type: SWALLOW;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 0;
+                                       min: 0 22;
+                                       max: 0 22;
+                                       fixed: 1 1;
+                                       align: 0.5 0.5;
+                                       rel1 { relative: 0.5 0.5; to: elm.swallow.favicon; }
+                                       rel2 { relative: 1.0 1.0; to: elm.swallow.favicon; }
+                               }
+                               description {
+                                       state: "visible" 0.0;
+                                       inherit: "default" 0.0;
+                                       visible: 1;
+                                       min: 22 22;
+                                       max: 22 22;
+                               }
+                       }
+                       part { name: "padding.search_icon.left";
+                               mouse_events: 0;
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 0;
+                                       fixed: 1 0;
+                                       min: 9 0;
+                                       align: 0.0 0.5;
+                                       rel1 { relative: 0.0 0.0; to: "bg_image"; }
+                                       rel2 { relative: 0.0 1.0; to: "bg_image"; }
+                                       color: 0 0 0 0;
+                               }
+                       }
+                       part { name: "elm.swallow.search_icon";
+                               mouse_events: 0;
+                               repeat_events: 1;
+                               type: IMAGE;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 0;
+                                       fixed: 1 1;
+                                       min: 42 42;
+                                       max: 42 42;
+                                       align: 0.0 0.5;
+                                       rel1 { relative: 1.0 0.0; to_x: "padding.search_icon.left"; to_y: "bg_image"; }
+                                       rel2 { relative: 1.0 1.0; to_x: "padding.search_icon.left"; to_y: "bg_image"; }
+                                       image.normal: "browser-view-images/url-layout/I01_search_icon.png";
+                                       image.border: 5 5 5 5;
+                               }
+                               description {
+                                       state: "visible" 0.0;
+                                       inherit: "default" 0.0;
+                                       visible: 1;
+                               }
+                       }
+                       part { name: "padding.search_icon.right";
+                               mouse_events: 0;
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 0;
+                                       fixed: 1 0;
+                                       min: 9 0;
+                                       align: 0.0 0.5;
+                                       rel1 { relative: 1.0 0.0; to: "elm.swallow.search_icon"; }
+                                       rel2 { relative: 1.0 1.0; to: "elm.swallow.search_icon"; }
+                                       color: 0 0 0 0;
+                               }
+                       }
+                       part {
+                               name: "url_guide_text";
+                               type: TEXT;
+                               scale: 1;
+                               mouse_events: 0;
+                               description {
+                                       state: "default" 0.0;
+                                       visible: 0;
+                                       align: 0.0 0.5;
+                                       text { font: FONT_ROM;
+                                               size: 32;
+                                               align: 0.0 0.5;
+                                       }
+                                       color: 78 73 69 255;
+                                       rel1 { relative: 1.0 0.0; to_x: "padding.search_icon.right"; to_y: "elm.swallow.entry"; }
+                                       rel2 { relative: 1.0 1.0; to: "elm.swallow.entry"; }
+                               }
+                               description {
+                                       state: "visible" 0.0;
+                                       inherit: "default" 0.0;
+                                       visible: 1;
+                               }
+                       }
+                       /* rss part is used for private icon. */
                        part { name: "elm.swallow.rss_icon";
                                mouse_events: 0;
                                type: IMAGE;
@@ -785,7 +1055,7 @@ group { name: "elm/layout/browser-editfield/default";
                                        align: 0.0 0.5;
                                        rel1 { relative: 1.0 0.0; to: "elm.swallow.favicon"; }
                                        rel2 { relative: 1.0 1.0; to: "elm.swallow.favicon"; }
-                                       image.normal: "browser-view-images/url-layout/I01_Icons_RSS.png";
+                                       image.normal: "browser-view-images/url-layout/private-badge.png";
                                }
                                description {
                                        state: "visible" 0.0;
@@ -943,6 +1213,18 @@ group { name: "elm/layout/browser-editfield/default";
                        }
                }
                programs {
+                       program { name: "url_guide_text,on";
+                               signal: "url_guide_text,on,signal";
+                               action: STATE_SET "visible" 0.0;
+                               target: "elm.swallow.search_icon";
+                               target: "url_guide_text";
+                       }
+                       program { name: "url_guide_text,off";
+                               signal: "url_guide_text,off,signal";
+                               action: STATE_SET "default" 0.0;
+                               target: "elm.swallow.search_icon";
+                               target: "url_guide_text";
+                       }
                        program { name: "disable_entry";
                                signal: "disable_entry,signal";
                                action: STATE_SET "block" 0.0;
@@ -953,13 +1235,13 @@ group { name: "elm/layout/browser-editfield/default";
                                action: STATE_SET "black" 0.0;
                                target: "bg_image";
                        }
-                       program { name: "rss_on";
-                               signal: "rss,on,signal";
+                       program { name: "private_on";
+                               signal: "private,on,signal";
                                action: STATE_SET "visible" 0.0;
                                target: "elm.swallow.rss_icon";
                        }
-                       program { name: "rss_off";
-                               signal: "rss,off,signal";
+                       program { name: "private_off";
+                               signal: "private,off,signal";
                                action: STATE_SET "default" 0.0;
                                target: "elm.swallow.rss_icon";
                        }
@@ -1017,6 +1299,24 @@ group { name: "elm/layout/browser-editfield/default";
                                signal: "hide,favicon,signal";
                                action: STATE_SET "default" 0.0;
                                target: "elm.swallow.favicon";
+                               target: "elm.swallow.secure_icon";
+                       }
+                       program { name: "show,secure_icon";
+                               signal: "show,secure_icon,signal";
+                               script {
+                                       new st[31];
+                                       new Float:vl;
+                                       get_state(PART:"elm.swallow.favicon", st, 30, vl);
+                                       if (!strcmp(st, "visible"))
+                                               set_state(PART:"elm.swallow.secure_icon", "visible", 0.0);
+                                       else
+                                               set_state(PART:"elm.swallow.secure_icon", "default", 0.0);
+                               }
+                       }
+                       program { name: "hide,secure_icon";
+                               signal: "hide,secure_icon,signal";
+                               action: STATE_SET "default" 0.0;
+                               target: "elm.swallow.secure_icon";
                        }
                }
        }