[Porting_2.4_UI_to_3.0] History button in BookmarkManager. Refactoring 06/81806/3
authorm.kawonczyk <m.kawonczyk@samsung.com>
Thu, 28 Jul 2016 11:41:30 +0000 (13:41 +0200)
committerMaciej Kawo?czyk <m.kawonczyk@samsung.com>
Fri, 29 Jul 2016 09:46:47 +0000 (02:46 -0700)
[Issue]        http://suprem.sec.samsung.net/jira/browse/TWF-1797
[Problem]      Old UI. Dead code
[Solution]     Create new UI. Delete dead code.
[Verify]       Open browser, go to Bookmark Manager and try
               opening History.

Change-Id: I0db464074b20214fee298f5172a31a364bfdc160

22 files changed:
services/BookmarkManagerUI/BookmarkManagerUI.cpp
services/BookmarkManagerUI/BookmarkManagerUI.h
services/BookmarkManagerUI/edc/BookmarkManagerUI.edc [deleted file]
services/BookmarkManagerUI/edc/BookmarkManagerUI_mob.edc
services/BookmarkManagerUI/images/btn_bar_stop_nor.png [deleted file]
services/BookmarkManagerUI/images/folder_ic_add.png [deleted file]
services/BookmarkManagerUI/images/ic_add_bookmark.png [deleted file]
services/BookmarkManagerUI/images/ic_thumbnail_folder.png [deleted file]
services/BookmarkManagerUI/images/ic_thumbnail_folder_all.png [deleted file]
services/BookmarkManagerUI/images/ic_thumbnail_folder_mark.png [deleted file]
services/BookmarkManagerUI/images/ico_bg_round_shape_37x37.png [deleted file]
services/BookmarkManagerUI/images/ico_delete.png [deleted file]
services/BookmarkManagerUI/images/web_frame_selected.png [deleted file]
services/BookmarkManagerUI/images/web_shadow.png [deleted file]
services/BookmarkManagerUI/images_mob/folder_ic_add.png [deleted file]
services/BookmarkManagerUI/images_mob/folder_ic_all.png [deleted file]
services/BookmarkManagerUI/images_mob/folder_ic_bookmark.png [deleted file]
services/BookmarkManagerUI/images_mob/folder_ic_custom.png [deleted file]
services/BookmarkManagerUI/images_mob/navi_ic_back_nor.png [deleted file]
services/BookmarkManagerUI/images_mob/navi_ic_more_nor.png [deleted file]
services/BookmarkManagerUI/images_mob/navi_ic_stop.png [deleted file]
services/SimpleUI/SimpleUI.cpp

index 0e21281b5fa8faff244ccd8bd2ee7c1f7b605ab6..2eb13eaafeaf9a93290c01e86be8ad3dc26a5e89 100644 (file)
@@ -47,6 +47,7 @@ BookmarkManagerUI::BookmarkManagerUI()
     , m_cancel_button(nullptr)
     , m_delete_button(nullptr)
     , m_prev_button(nullptr)
+    , m_modulesToolbar(nullptr)
     , m_navigatorToolbar(nullptr)
     , m_genlist(nullptr)
     , m_empty_layout(nullptr)
@@ -184,13 +185,30 @@ Evas_Object* BookmarkManagerUI::createBookmarksLayout(Evas_Object* parent)
     elm_object_part_content_set(b_mm_layout, "elm.swallow.content", m_content);
 
     createTopContent();
+    createModulesToolbar();
     createNavigatorToolbar();
+    elm_object_signal_emit(m_content, "show_toolbars", "ui");
 
     createGenlist();
     createEmptyLayout();
     return b_mm_layout;
 }
 
+void BookmarkManagerUI::createModulesToolbar()
+{
+    m_modulesToolbar = elm_toolbar_add(m_content);
+
+    elm_object_style_set(m_modulesToolbar, "tabbar/notitle");
+    elm_toolbar_shrink_mode_set(m_modulesToolbar, ELM_TOOLBAR_SHRINK_EXPAND);
+    elm_toolbar_select_mode_set(m_modulesToolbar, ELM_OBJECT_SELECT_MODE_ALWAYS);
+    elm_toolbar_transverse_expanded_set(m_modulesToolbar, EINA_TRUE);
+    elm_object_part_content_set(m_content, "modules_toolbar", m_modulesToolbar);
+    evas_object_show(m_modulesToolbar);
+
+    elm_toolbar_item_append(m_modulesToolbar, nullptr, _("IDS_BR_BODY_BOOKMARKS"), _modules_bookmarks_clicked, this);
+    elm_toolbar_item_append(m_modulesToolbar, nullptr, _("IDS_BR_MBODY_HISTORY"), _modules_history_clicked, this);
+}
+
 void BookmarkManagerUI::createNavigatorToolbar()
 {
     m_navigatorToolbar = elm_toolbar_add(m_content);
@@ -201,8 +219,7 @@ void BookmarkManagerUI::createNavigatorToolbar()
     elm_toolbar_align_set(m_navigatorToolbar, 0.0);
     elm_toolbar_homogeneous_set(m_navigatorToolbar, EINA_FALSE);
     elm_toolbar_select_mode_set(m_navigatorToolbar, ELM_OBJECT_SELECT_MODE_DEFAULT);
-    elm_object_part_content_set(m_content, "toolbar", m_navigatorToolbar);
-    elm_object_signal_emit(m_content, "show_toolbar", "ui");
+    elm_object_part_content_set(m_content, "navigator_toolbar", m_navigatorToolbar);
     evas_object_show(m_navigatorToolbar);
 }
 
@@ -549,6 +566,27 @@ void BookmarkManagerUI::_navigatorFolderClicked(void* data, Evas_Object*, void*
         BROWSER_LOGW("[%s] data = nullptr", __PRETTY_FUNCTION__);
 }
 
+void BookmarkManagerUI::_modules_bookmarks_clicked(void* data, Evas_Object*, void*)
+{
+    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
+    if (data) {
+        //TODO: When History is properly shown, go back to Bookmarks
+    } else
+        BROWSER_LOGW("[%s] data = nullptr", __PRETTY_FUNCTION__);
+}
+
+void BookmarkManagerUI::_modules_history_clicked(void* data, Evas_Object*, void*)
+{
+    BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
+    if (data) {
+        //This is temporary solution to enable a way to show history. This has some issues,
+        //like underline staying on history after going back.
+        BookmarkManagerUI *bookmarkManagerUI = static_cast<BookmarkManagerUI*>(data);
+        bookmarkManagerUI->showHistory();
+    } else
+        BROWSER_LOGW("[%s] data = nullptr", __PRETTY_FUNCTION__);
+}
+
 void BookmarkManagerUI::_bookmarkItemClicked(void * data, Evas_Object *, void *)
 {
     BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
@@ -586,7 +624,8 @@ void BookmarkManagerUI::changeState(BookmarkManagerState state)
         elm_object_signal_emit(b_mm_layout, "elm,state,title_right_btn,hide", "elm");
         elm_object_signal_emit(b_mm_layout, "elm,state,prev_btn,show", "elm");
         elm_object_part_text_set(b_mm_layout, "elm.text.title", _("IDS_BR_HEADER_SELECT_BOOKMARK"));
-        elm_object_signal_emit(m_content, "hide_toolbar", "ui");
+        elm_object_signal_emit(m_content, "hide_toolbars", "ui");
+        evas_object_hide(m_modulesToolbar);
         evas_object_hide(m_navigatorToolbar);
         break;
     case BookmarkManagerState::Delete:
@@ -600,7 +639,8 @@ void BookmarkManagerUI::changeState(BookmarkManagerState state)
         elm_object_signal_emit(b_mm_layout, "elm,state,title_left_btn,show", "elm");
         elm_object_signal_emit(b_mm_layout, "elm,state,title_right_btn,show", "elm");
         updateDeleteTopContent();
-        elm_object_signal_emit(m_content, "hide_toolbar", "ui");
+        elm_object_signal_emit(m_content, "hide_toolbars", "ui");
+        evas_object_hide(m_modulesToolbar);
         evas_object_hide(m_navigatorToolbar);
         elm_check_state_set(elm_object_part_content_get(m_select_all, "elm.swallow.end"), EINA_FALSE);
         elm_box_pack_start(m_box, m_select_all);
@@ -611,7 +651,8 @@ void BookmarkManagerUI::changeState(BookmarkManagerState state)
         elm_object_signal_emit(b_mm_layout, "elm,state,title_right_btn,hide", "elm");
         elm_object_signal_emit(b_mm_layout, "elm,state,prev_btn,show", "elm");
         elm_object_part_text_set(b_mm_layout, "elm.text.title", _("IDS_BR_OPT_REORDER_ABB"));
-        elm_object_signal_emit(m_content, "hide_toolbar", "ui");
+        elm_object_signal_emit(m_content, "hide_toolbars", "ui");
+        evas_object_hide(m_modulesToolbar);
         evas_object_hide(m_navigatorToolbar);
         elm_genlist_reorder_mode_set(m_genlist, EINA_TRUE);
         break;
@@ -622,7 +663,8 @@ void BookmarkManagerUI::changeState(BookmarkManagerState state)
         elm_object_signal_emit(b_mm_layout, "elm,state,title_left_btn,hide", "elm");
         elm_object_signal_emit(b_mm_layout, "elm,state,title_right_btn,hide", "elm");
         elm_object_signal_emit(b_mm_layout, "elm,state,prev_btn,show", "elm");
-        elm_object_signal_emit(m_content, "show_toolbar", "ui");
+        elm_object_signal_emit(m_content, "show_toolbars", "ui");
+        evas_object_show(m_modulesToolbar);
         evas_object_show(m_navigatorToolbar);
         elm_object_part_text_set(b_mm_layout, "elm.text.title", _("IDS_BR_BODY_BOOKMARKS"));
         elm_genlist_reorder_mode_set(m_genlist, EINA_FALSE);
index 0bfc55ca44413f39ecf6121ce93cfac4d0850349..a3eadd2c1ca67b47c22890dca6a980330291d9f4 100644 (file)
@@ -66,6 +66,7 @@ public:
     void addBookmarkItems(services::SharedBookmarkItem parent, services::SharedBookmarkItemList items);
     void addBookmarkItemCurrentFolder(services::SharedBookmarkItem item);
 
+    boost::signals2::signal<void ()> showHistory;
     boost::signals2::signal<void ()> closeBookmarkManagerClicked;
     boost::signals2::signal<void (std::shared_ptr<tizen_browser::services::BookmarkItem>)> bookmarkItemClicked;
     boost::signals2::signal<void (std::shared_ptr<tizen_browser::services::BookmarkItem>)> bookmarkItemEdit;
@@ -90,6 +91,7 @@ private:
 
     Evas_Object* createBookmarksLayout(Evas_Object* parent);
     void createTopContent();
+    void createModulesToolbar();
     void createNavigatorToolbar();
     void createGenlist();
     void createEmptyLayout();
@@ -104,6 +106,8 @@ private:
     void updateDeleteTopContent();
 
     static void _navigatorFolderClicked(void* data, Evas_Object* obj, void* event_info);
+    static void _modules_bookmarks_clicked(void* data, Evas_Object* obj, void* event_info);
+    static void _modules_history_clicked(void* data, Evas_Object* obj, void* event_info);
     static void _bookmarkItemClicked(void* data, Evas_Object*, void*);
     static void _cancel_clicked(void *data, Evas_Object *, void *);
     static void _delete_clicked(void *data, Evas_Object *, void *);
@@ -128,6 +132,7 @@ private:
     Evas_Object *m_cancel_button;
     Evas_Object *m_delete_button;
     Evas_Object *m_prev_button;
+    Evas_Object *m_modulesToolbar;
     Evas_Object *m_navigatorToolbar;
     Evas_Object *m_box;
     Evas_Object *m_genlist;
diff --git a/services/BookmarkManagerUI/edc/BookmarkManagerUI.edc b/services/BookmarkManagerUI/edc/BookmarkManagerUI.edc
deleted file mode 100644 (file)
index dbc0cd1..0000000
+++ /dev/null
@@ -1,1571 +0,0 @@
-#include "../../../core/Tools/edc/InvisibleButton.edc"
-
-collections { base_scale: 2.0;
-
-#define DEVELOPMENT 0
-#define WIDTH 1920
-#define HEIGHT 181
-#define BOTTOM_HEIGHT 148
-#define ITEM_WIDTH 1200
-#define FOLDER_WIDTH 378
-#define FOLDER_HEIGHT 294
-#define FOLDER_BG 212
-#define FOLDER_TITLE 82
-#define FOLDER_ICON_SIZE 140
-
-    group {
-        name: "topContent";
-        min: WIDTH HEIGHT;
-        max: WIDTH HEIGHT;
-        images {
-            image: "ico_delete.png" COMP;
-            image: "ic_add_bookmark" COMP;
-            image: "thumbnail.png" COMP;
-            image: "btn_bar_stop_nor.png" COMP;
-        }
-        data.item: "texts" "webpage_title webpage_url bookmark_group_text";
-        data.item: "contents" "favicon star_click close_click";
-        color_classes{
-            color_class{
-                name: "defaultBgColor";
-                color: 18 22 34 255;
-            }
-            color_class{
-                name: "focusBgColor";
-                color: 69 143 255 255;
-            }
-            color_class{
-                name: "highlightBgColor";
-                color: 69 143 255 102;
-            }
-            color_class{
-                name: "imageHighlight";
-                color: 255 255 255 102;
-            }
-            color_class{
-                name: "focusDelBgColor";
-                color: 96 114 146 255;
-            }
-            color_class{
-                name: "titleTextColor";
-                color: 74 74 74 255;
-            }
-            color_class{
-                name: "focusTextColor";
-                color: 255 255 255 255;
-            }
-            color_class{
-                name: "highlightTextColor";
-                color: 255 255 255 51;
-            }
-            color_class{
-                name: "urlTextColor";
-                color: 116 116 116 204;
-            }
-            color_class{
-                name: "transparent";
-                color: 0 0 0 0;
-            }
-        }
-        parts {
-            part {
-                name: "bg_rect";
-                scale:1;
-                mouse_events: 1;
-                type: RECT;
-                description {
-                    state: "default" 0.0;
-                    color: 231 231 231 255;
-                    align: 0 0;
-                    min: 1920 285;
-                    max: 1920 285;
-                   rel1 { relative: 0.0 0.0; offset: 0 0;}
-                }
-            }
-           part {
-                name: "action_bar_bg";
-                type: RECT;
-                scale: 1;
-                description { state: "default" 0.0;
-                    visible: 1;
-                    fixed: 1 1;
-                    min: 1920 104;
-                    max: 1920 104;
-                    align: 0 0;
-                    rel1 { relative: 0.0 0.0;to: "bg_rect"; offset: 0 0;}
-                    rel2 { relative: 1.0 1.0;to: "bg_rect";}
-                    color : 255 255 255 255;
-                }
-            }
-       part { name: "action_bar_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 1.0; to: "action_bar_bg"; }
-                    rel2 { relative: 1.0 1.0; }
-                }
-             }
-       part {
-                name: "title_text";
-                scale: 1;
-                type: TEXT;
-                description { state: "default" 0.0;
-                  visible: 1;
-                  fixed: 1 1;
-                  rel1 { relative: 0.0 0.0;to: "action_bar_bg";}
-                  rel2 { relative: 1.0 1.0;to: "action_bar_bg";}
-                  color: 51 51 51 255;
-                  text {
-                      text: "Bookmark Manager";
-                      font: "Sans";
-                      size: 42;
-                      align: 0.5 0.5;
-                     }
-                  }
-               }
-         part {
-              name: "close_bg";
-              scale:1;
-              mouse_events: 1;
-              type: RECT;
-              description {
-                  state: "default" 0.0;
-                  visible: 1;
-                  fixed: 1 1;
-                  align: 0 0.5;
-                  min: 82 102;
-                  max: 82 102;
-                  rel1 { relative: 0.0 0.0; to: "action_bar_bg"; offset: 1758 0;}
-                  rel2 { relative: 1.0 1.0; to: "action_bar_bg";}
-                  color_class: transparent;
-              }
-              description {
-                  state: "highlight" 0.0;
-                  inherit: "default" 0.0;
-                  color_class: focusBgColor;
-                  visible: 1;
-              }
-                description {
-                  state: "focus" 0.0;
-                  inherit: "default" 0.0;
-                  color_class: focusDelBgColor;
-                  visible: 1;
-              }
-          }
-         part {
-              name: "close_icon";
-              type: IMAGE;
-              scale: 1;
-              description { state: "default" 0.0;
-                  visible: 1;
-                  fixed: 1 1;
-                  align: 0 0;
-                  min: 82 102;
-                  max: 82 102;
-                  rel1 { relative: 0.0 0.0; to: "close_bg";}
-                  rel2 { relative: 1.0 1.0; to: "close_bg";}
-                  image.normal: "btn_bar_stop_nor.png";
-              }
-              description { state: "highlight" 0.0;
-                  inherit: "default" 0.0;
-                  visible: 1;
-              }
-              description { state: "focus" 0.0;
-                  inherit: "highlight" 0.0;
-              }
-          }
-         part {
-              name: "close_over";
-              scale:1;
-              mouse_events: 1;
-              type: RECT;
-              description {
-                  state: "default" 0.0;
-                  visible: 1;
-                  align: 0 0;
-                  fixed: 1 1;
-                  min: 82 102;
-                  max: 82 102;
-                  rel1 { relative: 0.0 0.0; to: "close_bg";}
-                  rel2 { relative: 1.0 1.0; to: "close_bg";}
-                  color_class: transparent;
-              }
-          }
-      part {
-              name: "close_click";
-              scale:1;
-              mouse_events: 1;
-              type: SWALLOW;
-              description {
-                  state: "default" 0.0;
-                  visible: 1;
-                  align: 0 0;
-                  fixed: 1 1;
-                  min: 82 102;
-                  max: 82 102;
-                  rel1 { relative: 0.0 0.0; to: "close_over";}
-                  rel2 { relative: 1.0 1.0; to: "close_over";}
-                  color_class: transparent;
-              }
-          }
-      }
-      programs{
-            program {
-              name: "mouse_in_close_click";
-              signal: "mouse,in";
-              source: "close_click";
-              script {
-                  emit("mouse_in_close_click", "");
-              }
-          }
-          program {
-              name: "mouse_out_close_click";
-              signal: "mouse,out";
-              source: "close_click";
-              script {
-                  emit("mouse_out_close_click", "");
-              }
-          }
-          program {
-              name: "mouse_in_close";
-              signal: "mouse_in_close_click";
-              source: "";
-              action: STATE_SET "highlight" 0.0;
-              target: "close_over";
-              target: "close_bg";
-              target: "close_icon";
-          }
-          program {
-              name: "mouse_out_close";
-              signal: "mouse_out_close_click";
-              source: "";
-              action: STATE_SET "default" 0.0;
-              target: "close_over";
-              target: "close_bg";
-              target: "close_icon";
-          }
-      }
-    }
-
-    group{
-        name: "elm/button/base/hidden_button";
-        parts{
-            part{
-                name: "button";
-                type: RECT;
-                scale: 1;
-                description { state: "default" 0.0;
-                    visible: 1;
-                    fixed: 1 1;
-                    color: 0 0 0 0;
-                }
-            }
-            part{
-                name: "over";
-                type: RECT;
-                scale: 1;
-                description { state: "default" 0.0;
-                    visible: 1;
-                    fixed: 1 1;
-                    rel1 { relative: 0.0 0.0;to: "button";}
-                    rel2 { relative: 1.0 1.0;to: "button";}
-                    color: 0 0 0 0;
-                }
-            }
-        }
-        programs{
-            program {
-                name: "mouse_click";
-                signal: "mouse,clicked,1";
-                source: "over";
-                script {
-                    emit("elm,action,click", "");
-                }
-            }
-        }
-    }
-
-group {
-       name: "bookmarkmanager-layout";
-    data {
-        item: "highlight_focus" "off";
-    }
-
-       images {
-            image: "web_shadow.png" COMP;
-        }
-        parts {
-            part { name: "window_bg";
-                type: RECT;
-                mouse_events: 0;
-                description { state: "default" 0.0;
-                               align: 0.0 0.0;
-                               visible: 1;
-                               min: 1920 1080;
-                       max: 1920 1080;
-                       color: 231 231 231 255;
-                    rel1 {
-                       relative: 0 0;
-                    }
-                    rel2{
-                       relative: 1 1;
-                    }
-                }
-            }
-            part { name: "genlist_bg";
-                type: RECT;
-                mouse_events: 0;
-                description { state: "default" 0.0;
-                               visible: 1;
-                               align: 0.0 0.0;
-                               min: 1920 285;
-                       max: 1920 285;
-                color: 70 143 254 255;
-                rel1 {
-                       relative: 0 0; to: "window_bg";
-                    }
-                    rel2{
-                      relative: 1 1;
-                    }
-                }
-            }
-            part { name: "top_content";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    min: 1920 285;
-                    max: 1920 285;
-                    align: 0.0 0.0;
-                    fixed: 0 0;
-                    rel1 { relative: 0.0 0.0; to: "genlist_bg";}
-                    rel2 { relative: 1.0 1.0; to: "genlist_bg";}
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-             }
-           part { name: "gengrid_bg";
-                type: RECT;
-                mouse_events: 0;
-                description { state: "default" 0.0;
-                               visible: 1;
-                               align: 0.0 0.0;
-                               min: 1920 614;
-                               max: 1920 614;
-                color: 231 231 231 255;
-                rel1 {
-                       relative: 0 1; to: "genlist_bg";
-                    }
-                rel2{
-                                                relative: 1 1;
-                    }
-                }
-            }
-            part { name: "elm.swallow.grid";
-                type : SWALLOW;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    visible: 1;
-                    min: 1920 795;
-                           max: 1920 795;
-                    align: 0.0 0.0;
-                    fixed: 1 1;
-                    rel1 { relative: 0.0 0.0; to: "gengrid_bg"; offset: 63 0;}
-                    rel2 { relative: 1.0 1.0; to: "gengrid_bg";}
-                }
-                description {
-                    state: "hidden" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 0;
-                }
-                description {
-                    state: "visible" 0.0;
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-           }
-           part {
-               name: "bottom_content_spacer";
-               type: RECT;
-               scale: 1;
-               description {
-                   state: "default" 0.0;
-                   visible: DEVELOPMENT;
-                   color: 255 255 255 127;
-                   align: 0 0;
-                   min: 0 32;
-                   max: 0 32;
-                   rel1 {
-                       relative: 0 1;
-                       to: "gengrid_bg";
-                   }
-                   rel2.relative: 1 1;
-               }
-           }
-           part {
-               name: "bottom_content_bg";
-               type: RECT;
-               mouse_events: 0;
-               scale: 1;
-               description {
-                   state: "default" 0.0;
-                   visible: 1;
-                   align: 0.0 0.0;
-                   min: WIDTH BOTTOM_HEIGHT;
-                   max: WIDTH BOTTOM_HEIGHT;
-                   color: 255 255 255 255;
-                   rel1 {
-                      relative: 1 1;
-                      to: "bottom_content_spacer";
-                   }
-                   rel2.relative: 1 1;
-               }
-           }
-           part {
-               name: "bottom_content";
-               type : SWALLOW;
-               scale: 1;
-               description {
-                   state: "default" 0.0;
-                   visible: 1;
-                   min: WIDTH BOTTOM_HEIGHT;
-                   max: WIDTH BOTTOM_HEIGHT;
-                   align: 0.0 0.0;
-                   fixed: 0 0;
-                   rel1 {
-                       relative: 0.0 0.0;
-                       to: "bottom_content_bg";
-                   }
-                   rel2 {
-                       relative: 1.0 1.0;
-                       to: "bottom_content_bg";
-                   }
-               }
-           }
-            part { name: "elm.swallow.empty";
-                type: SWALLOW;
-                description { state: "default" 0.0;
-                align: 0.5 0.5;
-                    rel1 {
-                        relative: 0.5 0.5;
-                    }
-                    rel2 {
-                        relative: 0.5 0.5;
-                    }
-                }
-            }
-       }
-}
-
-group { name: "elm/gengrid/base/back_ground";
-    data {
-        item: "focus_highlight" "off";
-    }
-
-        parts {
-            part { name: "clipper";
-                type: RECT;
-                mouse_events: 0;
-                description { state: "default" 0.0;
-                color: 70 143 254 255;
-                    rel1 {
-                        relative: 0 0;
-                    }
-                    rel2{
-                        relative: 1 1;
-                    }
-                }
-            }
-            part { name: "background";
-                type: RECT;
-                mouse_events: 0;
-                description { state: "default" 0.0;
-                    color: 231 231 231 255;
-                    rel1 {
-                        relative: 0 0;
-                    }
-                    rel2{
-                        relative: 1 1;
-                    }
-                }
-            }
-            part { name: "elm.swallow.content";
-                type: SWALLOW;
-                description { state: "default" 0.0;
-                    rel1 {
-                        relative: 0 0;
-                        offset: 0 0;
-                    }
-                    rel2 {
-                        relative: 1 1;
-                        offset: 0 0;
-                    }
-                }
-            }
-            part { name: "elm.swallow.empty";
-                type: SWALLOW;
-                description { state: "default" 0.0;
-                align: 0.5 0.5;
-                    rel1 {
-                        relative: 0.5 0.5;
-                    }
-                    rel2 {
-                        relative: 0.5 0.5;
-                    }
-                }
-            }
-    }
-}
-
-group { name: "elm/gengrid/item/grid_bm_item/default";
-    data.item: "texts" "page_title page_url";
-    data.item: "contents" "elm.thumbnail elm.thumbButton";
-    images {
-        image: "web_frame_selected.png" COMP;
-        image: "ico_bg_round_shape_37x37.png" COMP;
-    }
-    parts {
-        part { name: "win_bg";
-            type: RECT;
-            mouse_events: 0;
-            description { state: "default" 0.0;
-                min: 378 294;
-                max: 378 294;
-                visible: 0;
-                align: 0.0 0.0;
-                color: 231 231 231 255;
-                rel1.offset: -26 -26;
-            }
-            description { state: "selected";
-                inherit: "default" 0.0;
-                color: 70 143 254 255;
-            }
-        }
-
-        part { name: "bg";
-            type: RECT;
-            mouse_events: 0;
-            description { state: "default" 0.0;
-                min: 378 212;
-                max: 378 212;
-                visible: 1;
-                align: 0.0 0.0;
-                color : 97 109 124 255;
-                rel1 {
-                    relative: 0.0  0.0; to: "win_bg";
-                }
-                rel2 {
-                    relative: 1.0  1.0;
-                }
-
-            }
-            description { state: "selected";
-                inherit: "default" 0.0;
-            }
-        }
-
-        part { name: "elm.thumbnail";
-            type: SWALLOW;
-            description { state: "default" 0.0;
-                fixed: 1 0;
-                align: 0.0 0.0;
-                min: 378 212;
-                max: 378 212;
-                rel1 {
-                    relative: 0.0  0.0; to: "bg";
-                }
-                rel2 {
-                    relative: 1.0  1.0; to: "bg";
-                }
-            }
-            description { state: "selected";
-                inherit: "default" 0.0;
-            }
-        }
-
-        part { name: "focus_highlight";
-            type: IMAGE;
-            description { state: "default" 0.0;
-                
-                rel1 {
-                    to: "elm.thumbnail";
-                    relative: 0.0  0.0;
-                }
-                rel2 {
-                    to: "elm.thumbnail";
-                    relative: 1.0  1.0;
-                }
-                image.normal: "web_frame_selected.png";
-                image.border: 8 8 8 0;
-                image.border_scale: 1;
-                image.middle: NONE;
-                visible: 0;
-            }
-            description { state: "selected";
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-        part { name: "background";
-            type: RECT;
-            description { state: "default" 0.0;
-                min: 378 82;
-                max: 378 82;
-                align: 0.0 0.0;
-               color: 86 98 113 255;
-                rel1 {
-                    to: "elm.thumbnail";
-                    relative: 0.0  1.0;
-                }
-                rel2 {
-                    relative: 1.0  1.0;
-                }
-            }
-            description { state: "selected" 0.0;
-                inherit: "default" 0.0;
-                color: 0 119 246 255;
-            }
-        }
-
-        part { name: "page_title";
-            type: TEXT;
-            description { state: "default" 0.0;
-                min: 342 54;
-                max: 342 54;
-                align: 0.0 0.5;
-                rel1 {
-                    to: "background";
-                    relative: 0.0 0.0;
-                    offset: 18 0;
-                }
-                rel2 {
-                    to: "background";
-                    relative: 1.0  1.0;
-                }
-                color: 255 255 255 255;
-                    text {
-                        text: "Web page title";
-                        font: "Sans";
-                        size: 28;
-                        align: 0 0.5;
-                    }
-                }
-                description { state: "selected" 0.0;
-                    inherit: "default" 0.0;
-                   //color: focusTextColor;
-                }
-                description { state: "highlight" 0.0;
-                    inherit: "default" 0.0;
-                    //color: highlightTextColor;
-                }
-        }
-
-        part { name: "elm.thumbButton";
-            type: SWALLOW;
-            description { state: "default" 0.0;
-                rel1.to: "elm.thumbnail";
-                rel2.to: "elm.thumbnail";
-            }
-        }
-
-        part { name: "over2";
-            type: RECT;
-            mouse_events: 1;
-            repeat_events: 1;
-            description { state: "default" 0.0;
-                color: 0 0 0 0;
-                rel1.to: "win_bg";
-                rel2.to: "background";
-            }
-        }
-        part { name: "over3";
-            type: RECT;
-            mouse_events: 1;
-            repeat_events: 1;
-            description { state: "default" 0.0;
-                color: 0 0 0 0;
-                rel1.to: "background";
-                rel2.to: "background";
-            }
-        }
-    }
-
-    programs{
-        program { name: "mouse_in";
-            signal: "mouse,in";
-            source: "over2";
-            action:  STATE_SET "selected" 0.0;
-            target: "background";
-            target: "focus_highlight";
-            //target: "bg";
-        }
-        program { name: "mouse_out";
-            signal: "mouse,out";
-            source: "over2";
-            action:  STATE_SET "default" 0.0;
-            target:  "background";
-            target: "focus_highlight";
-           //target: "bg";
-        }
-    }
-}
-
-    group {
-        name: "elm/gengrid/item/grid_mobile_folder_item/default";
-        data.item: "texts" "page_title";
-        images {
-            image: "ic_thumbnail_folder_mark.png" COMP;
-            image: "web_frame_selected.png" COMP;
-        }
-        styles {
-            style {
-                name: "folder_name_3";
-                base: "font=Sans:style=Light font_size=22 color=#ffffff align=0.0 valign=1.0 ellipsis=1.0";
-            }
-        }
-        parts {
-            part {
-                name: "bg";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    min: FOLDER_WIDTH FOLDER_BG;
-                    max: FOLDER_WIDTH FOLDER_BG;
-                    align: 0.0 0.0;
-                    visible: 1;
-                    color: 75 102 163 200;
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
-                }
-                description {
-                    state: "focused";
-                    inherit: "default" 0.0;
-                    color: 75 102 163 255;
-                }
-            }
-            part {
-                name: "title_bg";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    min: FOLDER_WIDTH FOLDER_TITLE;
-                    max: FOLDER_WIDTH FOLDER_TITLE;
-                    align: 0.0 0.0;
-                    visible: 1;
-                    color: 75 102 163 255;
-                    rel1 {
-                        relative: 0.0 1.0;
-                        to: "bg";
-                    }
-                    rel2.relative: 1.0 1.0;
-                }
-                description {
-                    state: "focused" 0.0;
-                    inherit: "default";
-                    color: 0 119 246 255;
-                }
-            }
-            part {
-                name: "focus_highlight";
-                type: IMAGE;
-                description {
-                    state: "default" 0.0;
-                    rel1 {
-                        to: "bg";
-                        relative: 0.0  0.0;
-                    }
-                    rel2 {
-                        to: "bg";
-                        relative: 1.0  1.0;
-                    }
-                    image.normal: "web_frame_selected.png";
-                    image.border: 8 8 8 0;
-                    image.border_scale: 1;
-                    image.middle: NONE;
-                    visible: 0;
-                }
-                description {
-                    state: "focused";
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-            }
-            part {
-                name: "folder_icon";
-                type: IMAGE;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    align: 0.5 0.5;
-                    visible: 1;
-                    min: FOLDER_ICON_SIZE FOLDER_ICON_SIZE;
-                    max: FOLDER_ICON_SIZE FOLDER_ICON_SIZE;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "bg";
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                        to: "bg";
-                    }
-                    image.normal: "ic_thumbnail_folder_mark.png";
-                }
-            }
-            part {
-                name: "page_title";
-                type: TEXTBLOCK;
-                multiline: 1;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    align: 0.5 0.5;
-                    visible: 1;
-                    min: (FOLDER_WIDTH-36) FOLDER_HEIGHT;
-                    max: (FOLDER_WIDTH-36) FOLDER_HEIGHT;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "title_bg";
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                        to: "title_bg";
-                    }
-                    text {
-                        style: "folder_name_3";
-                        text: "Bookmark Bar";
-                    }
-                }
-            }
-            part {
-                name: "folder_click";
-                type: SWALLOW;
-                scale: 1;
-                mouse_events: 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: "folder_over";
-                type: RECT;
-                scale: 1;
-                mouse_events: 1;
-                repeat_events: 1;
-                description {
-                    state: "default" 0.0;
-                    color: 0 0 0 0;
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
-                }
-            }
-        }
-        programs{
-            program {
-                name: "mouse_in";
-                signal: "mouse,in";
-                source: "folder_over";
-                action: STATE_SET "focused" 0.0;
-                target: "bg";
-                target: "title_bg";
-                target: "focus_highlight";
-            }
-            program {
-                name: "mouse_out";
-                signal: "mouse,out";
-                source: "folder_over";
-                action: STATE_SET "default" 0.0;
-                target: "bg";
-                target: "title_bg";
-                target: "focus_highlight";
-            }
-        }
-    }
-
-    group {
-        name: "elm/gengrid/item/grid_custom_folder_item/default";
-        data.item: "texts" "page_title";
-        images {
-            image: "ic_thumbnail_folder.png" COMP;
-            image: "web_frame_selected.png" COMP;
-        }
-        styles {
-            style {
-                name: "folder_name_2";
-                base: "font=Sans:style=Light font_size=22 ellipsis=0.85 color=#ffffff align=0.0 valign=1.0 ellipsis=1.0";
-            }
-        }
-        parts {
-            part {
-                name: "bg";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    min: FOLDER_WIDTH FOLDER_BG;
-                    max: FOLDER_WIDTH FOLDER_BG;
-                    align: 0.0 0.0;
-                    visible: 1;
-                    color: 206 118 70 200;
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
-                }
-                description {
-                    state: "focused";
-                    inherit: "default" 0.0;
-                    color: 206 118 70 255;
-                }
-            }
-            part {
-                name: "title_bg";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    min: FOLDER_WIDTH FOLDER_TITLE;
-                    max: FOLDER_WIDTH FOLDER_TITLE;
-                    align: 0.0 0.0;
-                    visible: 1;
-                    color: 206 118 70 255;
-                    rel1 {
-                        relative: 0.0 1.0;
-                        to: "bg";
-                    }
-                    rel2.relative: 1.0 1.0;
-                }
-                description {
-                    state: "focused" 0.0;
-                    inherit: "default";
-                    color: 0 119 246 255;
-                }
-            }
-            part {
-                name: "focus_highlight";
-                type: IMAGE;
-                description {
-                    state: "default" 0.0;
-                    rel1 {
-                        to: "bg";
-                        relative: 0.0  0.0;
-                    }
-                    rel2 {
-                        to: "bg";
-                        relative: 1.0  1.0;
-                    }
-                    image.normal: "web_frame_selected.png";
-                    image.border: 8 8 8 0;
-                    image.border_scale: 1;
-                    image.middle: NONE;
-                    visible: 0;
-                }
-                description {
-                    state: "focused";
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-            }
-            part {
-                name: "folder_icon";
-                type: IMAGE;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    align: 0.5 0.5;
-                    visible: 1;
-                    min: FOLDER_ICON_SIZE FOLDER_ICON_SIZE;
-                    max: FOLDER_ICON_SIZE FOLDER_ICON_SIZE;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "bg";
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                        to: "bg";
-                    }
-                    image.normal: "ic_thumbnail_folder.png";
-                }
-            }
-            part {
-                name: "page_title";
-                type: TEXTBLOCK;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    align: 0.5 0.5;
-                    visible: 1;
-                    min: (FOLDER_WIDTH-36) FOLDER_HEIGHT;
-                    max: (FOLDER_WIDTH-36) FOLDER_HEIGHT;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "title_bg";
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                        to: "title_bg";
-                    }
-                    text {
-                        style: "folder_name_2";
-                        text: "All";
-                    }
-                }
-            }
-            part {
-                name: "folder_click";
-                type: SWALLOW;
-                scale: 1;
-                mouse_events: 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: "folder_over";
-                type: RECT;
-                scale: 1;
-                mouse_events: 1;
-                repeat_events: 1;
-                description {
-                    state: "default" 0.0;
-                    color: 0 0 0 0;
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
-                }
-            }
-        }
-        programs{
-            program {
-                name: "mouse_in";
-                signal: "mouse,in";
-                source: "folder_over";
-                action: STATE_SET "focused" 0.0;
-                target: "bg";
-                target: "title_bg";
-                target: "focus_highlight";
-            }
-            program {
-                name: "mouse_out";
-                signal: "mouse,out";
-                source: "folder_over";
-                action: STATE_SET "default" 0.0;
-                target: "bg";
-                target: "title_bg";
-                target: "focus_highlight";
-            }
-        }
-    }
-
-group { name: "elm/gengrid/item/grid_ds_item/default";
-    data.item: "texts" "page_title page_url";
-    data.item: "contents" "elm.thumbnail elm.thumbButton";
-    images {
-        image: "web_frame_selected.png" COMP;
-        image: "ico_bg_round_shape_37x37.png" COMP;
-    }
-    parts {
-        part { name: "bg";
-            type: RECT;
-            mouse_events: 0;
-            description { state: "default" 0.0;
-                min: 378 294;
-                            max: 378 294;
-                visible: 1;
-                color: 255 255 255 255;
-                rel1.offset: -26 -26;
-            }
-            description { state: "selected";
-                inherit: "default" 0.0;
-                color: 70 143 254 255;
-            }
-        }
-
-        part { name: "elm.thumbnail";
-            type: SWALLOW;
-            description { state: "default" 0.0;
-                fixed: 1 0;
-                align: 0.0 0.0;
-                color : 255 255 255 255;
-                min: 378 198;
-                max: 378 198;
-                rel1 {
-                    relative: 0.0  0.0; to: "bg";
-                }
-                rel2 {
-                    relative: 1.0  1.0; to: "bg";
-                }
-            }
-            description { state: "selected";
-                inherit: "default" 0.0;
-            }
-        }
-
-        part { name: "focus_highlight";
-            type: IMAGE;
-            description { state: "default" 0.0;
-                rel1 {
-                    to: "elm.thumbnail";
-                    relative: 0.0  0.0;
-                }
-                rel2 {
-                    to: "elm.thumbnail";
-                    relative: 1.0  1.0;
-                }
-                image.normal: "web_frame_selected.png";
-                image.border: 8 8 8 0;
-                image.border_scale: 1;
-                image.middle: NONE;
-                visible: 0;
-            }
-            description { state: "selected";
-                inherit: "default" 0.0;
-                visible: 1;
-            }
-        }
-
-        part { name: "background";
-            type: RECT;
-            description { state: "default" 0.0;
-                min: 378 96;
-                max: 378 96;
-                align: 0.0 0.0;
-                color: 255 255 255 255;
-                rel1 {
-                    to: "elm.thumbnail";
-                    relative: 0.0  1.0;
-                }
-                rel2 {
-                    relative: 1.0  1.0;
-                }
-            }
-            description { state: "selected" 0.0;
-                inherit: "default" 0.0;
-                color: 70 143 254 255;
-            }
-        }
-
-        part { name: "page_title";
-            type: TEXT;
-            description { state: "default" 0.0;
-                min: 300 48;
-                max: 300 48;
-                align: 0.0 0.5;
-                rel1 {
-                    to: "background";
-                    relative: 0.0 0.0;
-                    offset: 17 0;
-                }
-                rel2 {
-                    to: "background";
-                    relative: 1.0  1.0;
-                }
-        color: 51 51 51 255;
-                    text {
-                        text: "Web page title";
-                        font: "Sans";
-                        size: 27;
-                        align: 0 0.5;
-                    }
-                }
-                description { state: "focus" 0.0;
-                    inherit: "default" 0.0;
-                    //color: focusTextColor;
-                }
-                description { state: "highlight" 0.0;
-                    inherit: "default" 0.0;
-                    //color: highlightTextColor;
-                }
-        }
-
-        part { name: "page_url";
-                        type: TEXT;
-                        description { state: "default" 0.0;
-                                min: 300 48;
-                                max: 300 48;
-                                align: 0 0.5;
-                                rel1 {
-                                        to: "page_title";
-                                        relative: 0.0 1.0;
-                                }
-                                rel2 {
-                                        to: "page_title";
-                                        relative: 1.0  1.0;
-                                }
-                color: 153 153 153 255;
-                    text {
-                        text: "Web page url";
-                        font: "Sans";
-                        size: 24;
-                        align: 0 0.5;
-                    }
-                }
-                description { state: "focus" 0.0;
-                    inherit: "default" 0.0;
-                    //color: focusTextColor;
-                }
-                description { state: "highlight" 0.0;
-                    inherit: "default" 0.0;
-                    //color: highlightTextColor;
-                }
-                }
-
-        part { name: "elm.thumbButton";
-            type: SWALLOW;
-            description { state: "default" 0.0;
-                rel1.to: "elm.thumbnail";
-                rel2.to: "elm.thumbnail";
-            }
-        }
-
-        part { name: "over2";
-            type: RECT;
-            mouse_events: 1;
-            repeat_events: 1;
-            description { state: "default" 0.0;
-                color: 0 0 0 0;
-                rel1.to: "bg";
-                rel2.to: "background";
-            }
-        }
-        part { name: "over3";
-            type: RECT;
-            mouse_events: 1;
-            repeat_events: 1;
-            description { state: "default" 0.0;
-                color: 0 0 0 0;
-                rel1.to: "background";
-                rel2.to: "background";
-            }
-        }
-    }
-
-    programs{
-        program { name: "mouse_in";
-            signal: "mouse,in";
-            source: "over2";
-            action:  STATE_SET "selected" 0.0;
-            target:  "background";
-            target: "focus_highlight";
-            target: "bg";
-        }
-        program { name: "mouse_out";
-            signal: "mouse,out";
-            source: "over2";
-            action:  STATE_SET "default" 0.0;
-            target:  "background";
-            target: "focus_highlight";
-            target: "bg";
-        }
-    }
-
-}
-
-    group {
-        name: "elm/gengrid/item/grid_all_item/default";
-        data.item: "texts" "page_title";
-        images {
-            image: "ic_thumbnail_folder_all.png" COMP;
-            image: "web_frame_selected.png" COMP;
-        }
-        styles {
-            style {
-                name: "all_text";
-                base: "font=Sans:style=Light font_size=27 color=#ffffff align=0.5 valign=1.0 ellipsis=1.0";
-            }
-            style {
-                name: "folder_name";
-                base: "font=Sans:style=Light font_size=22 color=#ffffff align=0.0 valign=1.0 ellipsis=1.0";
-            }
-        }
-        parts {
-            part {
-                name: "bg";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    min: FOLDER_WIDTH FOLDER_BG;
-                    max: FOLDER_WIDTH FOLDER_BG;
-                    align: 0.0 0.0;
-                    visible: 1;
-                    color: 73 68 62 200;
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
-                }
-                description {
-                    state: "focused";
-                    inherit: "default" 0.0;
-                    color: 73 68 62 255;
-                }
-            }
-            part {
-                name: "title_bg";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    min: FOLDER_WIDTH FOLDER_TITLE;
-                    max: FOLDER_WIDTH FOLDER_TITLE;
-                    align: 0.0 0.0;
-                    visible: 1;
-                    color: 73 68 62 255;
-                    rel1 {
-                        relative: 0.0 1.0;
-                        to: "bg";
-                    }
-                    rel2.relative: 1.0 1.0;
-                }
-                description {
-                    state: "focused" 0.0;
-                    inherit: "default";
-                    color: 0 119 246 255;
-                }
-            }
-            part {
-                name: "focus_highlight";
-                type: IMAGE;
-                description {
-                    state: "default" 0.0;
-                    rel1 {
-                        to: "bg";
-                        relative: 0.0  0.0;
-                    }
-                    rel2 {
-                        to: "bg";
-                        relative: 1.0  1.0;
-                    }
-                    image.normal: "web_frame_selected.png";
-                    image.border: 8 8 8 0;
-                    image.border_scale: 1;
-                    image.middle: NONE;
-                    visible: 0;
-                }
-                description {
-                    state: "focused";
-                    inherit: "default" 0.0;
-                    visible: 1;
-                }
-            }
-            part {
-                name: "folder_icon";
-                type: IMAGE;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    align: 0.5 0.5;
-                    visible: 1;
-                    min: FOLDER_ICON_SIZE FOLDER_ICON_SIZE;
-                    max: FOLDER_ICON_SIZE FOLDER_ICON_SIZE;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "bg";
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                        to: "bg";
-                    }
-                    image.normal: "ic_thumbnail_folder_all.png";
-                }
-            }
-            part {
-                name: "all_text_spacer";
-                type: RECT;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    align: 0.0 0.0;
-                    min: 40 64;
-                    max: 40 64;
-                    visible: DEVELOPMENT;
-                    color: 255 255 255 127;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "folder_icon";
-                    }
-                }
-            }
-            part {
-                name: "all_text";
-                type: TEXTBLOCK;
-                multiline: 1;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    align: 0.0 0.0;
-                    visible: 1;
-                    min: 60 34;
-                    max: 60 34;
-                    rel1 {
-                        relative: 1.0 1.0;
-                        to: "all_text_spacer";
-                    }
-                    text {
-                        style: "all_text";
-                        text: "All";
-                    }
-                }
-            }
-            part {
-                name: "page_title";
-                type: TEXTBLOCK;
-                multiline: 1;
-                scale: 1;
-                description {
-                    state: "default" 0.0;
-                    align: 0.5 0.5;
-                    visible: 1;
-                    min: (FOLDER_WIDTH-36) FOLDER_HEIGHT;
-                    max: (FOLDER_WIDTH-36) FOLDER_HEIGHT;
-                    rel1 {
-                        relative: 0.0 0.0;
-                        to: "title_bg";
-                    }
-                    rel2 {
-                        relative: 1.0 1.0;
-                        to: "title_bg";
-                    }
-                    text {
-                        style: "folder_name";
-                        text: "All";
-                    }
-                }
-            }
-            part {
-                name: "folder_click";
-                type: SWALLOW;
-                scale: 1;
-                mouse_events: 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: "folder_over";
-                type: RECT;
-                scale: 1;
-                mouse_events: 1;
-                repeat_events: 1;
-                description {
-                    state: "default" 0.0;
-                    color: 0 0 0 0;
-                    rel1.relative: 0.0 0.0;
-                    rel2.relative: 1.0 1.0;
-                }
-            }
-        }
-        programs{
-            program {
-                name: "mouse_in";
-                signal: "mouse,in";
-                source: "folder_over";
-                action: STATE_SET "focused" 0.0;
-                target: "bg";
-                target: "title_bg";
-                target: "focus_highlight";
-            }
-            program {
-                name: "mouse_out";
-                signal: "mouse,out";
-                source: "folder_over";
-                action: STATE_SET "default" 0.0;
-                target: "bg";
-                target: "title_bg";
-                target: "focus_highlight";
-            }
-        }
-    }
-
-group {
-    name: "bottom-content";
-    styles {
-        style {
-            name: "bottom_style";
-            base: "font=Sans font_size=22 color=#000000 align=0.0 valign=0.5 ellipsis=1.0";
-        }
-    }
-    parts {
-        part {
-            name: "bg";
-            type: RECT;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                visible: 1;
-                align: 0 0;
-                min: WIDTH BOTTOM_HEIGHT;
-                max: WIDTH BOTTOM_HEIGHT;
-                rel1.relative: 0.0 0.0;
-                rel2.relative: 1.0 1.0;
-                color: 255 255 255 255;
-            }
-        }
-        part {
-            name: "text_bg";
-            type: RECT;
-            scale: 1;
-            description {
-                state: "default" 0.0;
-                visible: DEVELOPMENT;
-                align: 1 0.5;
-                min: (WIDTH-63) 80;
-                max: (WIDTH-63) 80;
-                color: 255 255 0 255; //yellow
-                rel1 {
-                    relative: 0.0 0.0;
-                    to: "bg";
-                }
-                rel2 {
-                    relative: 1.0 1.0;
-                    to: "bg";
-                }
-            }
-        }
-        part {
-            name: "text";
-            type: TEXTBLOCK;
-            scale: 1;
-            description {
-                state: "default";
-                visible: 1;
-                min: (WIDTH-63) 80;
-                max: (WIDTH-63) 80;
-                rel1 {
-                    relative: 0.0 0.0;
-                    to: "text_bg";
-                }
-                rel2 {
-                    relative: 1.0 1.0;
-                    to: "text_bg";
-                }
-                text.style: "bottom_style";
-            }
-        }
-    }
-}
-}
index 0234f47c6cb24b8d6fe276eb1b099c36fccba7be..5b6eaba491b1cb7368938b4e056ab6edeffeafb9 100644 (file)
@@ -1,17 +1,7 @@
 #include "../../../core/Tools/edc/FolderImage.edc"
 
-#define DEVELOPMENT 0
-
-#define LAYOUT_TITLE_HEIGHT 108
-#define TITLE_ICON_SIZE 64
-#define TITLE_BUTTON_OFFSET_X 16
-#define TITLE_BUTTON_OFFSET_Y 22
-
-#define GRID_ITEM_SPACER 18
-#define GRID_ITEM_TITLE_HEIGHT 100
-#define GRID_ITEM_ICON_SIZE 99
-
-#define BOOKMARK_TOOLBAR_HEIGHT 75
+#define BOOKMARK_NAVIGATOR_TOOLBAR_HEIGHT 75
+#define BOOKMARK_MODULES_TOOLBAR_HEIGHT 80
 
 collections {
     base_scale: 2.6;
@@ -61,14 +51,22 @@ collections {
     group {
         name: "naviframe_content";
         parts {
+            rect {
+                name: "bg";
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                }
+            }
             part {
-                name: "toolbar";
+                name: "modules_toolbar";
                 type: SWALLOW;
                 scale: 1;
                 description {
                     state: "default" 0.0;
-                    min: 0 BOOKMARK_TOOLBAR_HEIGHT;
-                    max: -1 BOOKMARK_TOOLBAR_HEIGHT;
+                    min: 0 BOOKMARK_MODULES_TOOLBAR_HEIGHT;
+                    max: -1 BOOKMARK_MODULES_TOOLBAR_HEIGHT;
                     fixed: 0 1;
                     align: 0.5 0.0;
                     visible: 1;
@@ -81,6 +79,29 @@ collections {
                     visible: 0;
                 }
             }
+            part {
+                name: "navigator_toolbar";
+                type: SWALLOW;
+                scale: 1;
+                description {
+                    state: "default" 0.0;
+                    min: 0 BOOKMARK_NAVIGATOR_TOOLBAR_HEIGHT;
+                    max: -1 BOOKMARK_NAVIGATOR_TOOLBAR_HEIGHT;
+                    fixed: 0 1;
+                    align: 0.5 0.0;
+                    visible: 1;
+                    rel1 {
+                        relative: 0.0 1.0;
+                        to: "modules_toolbar";
+                    }
+                    rel2.relative: 1.0 1.0;
+                }
+                description {
+                    state: "hidden_toolbar" 0.0;
+                    inherit: "default";
+                    visible: 0;
+                }
+            }
             part {
                 name: "elm.swallow.content";
                 type: SWALLOW;
@@ -94,14 +115,17 @@ collections {
                     align: 0.0 0.0;
                     rel1 {
                         relative: 0.0 1.0;
-                        to: "toolbar";
+                        to: "navigator_toolbar";
                     }
                     rel2.relative: 1.0 1.0;
                 }
                 description {
                     state: "hidden_toolbar" 0.0;
                     inherit: "default";
-                    rel1.relative: 0.0 0.0;
+                    rel1 {
+                        relative: 0.0 0.0;
+                        to: "bg";
+                    }
                 }
             }
             part {
@@ -146,20 +170,22 @@ collections {
                 target: "elm.swallow.content_overlay";
             }
             program {
-                name: "hide_toolbar";
-                signal: "hide_toolbar";
+                name: "hide_toolbars";
+                signal: "hide_toolbars";
                 source: "ui";
                 action: STATE_SET "hidden_toolbar" 0.0;
                 target: "elm.swallow.content";
-                target: "toolbar";
+                target: "navigator_toolbar";
+                target: "modules_toolbar";
             }
             program {
-                name: "show_toolbar";
-                signal: "show_toolbar";
+                name: "show_toolbars";
+                signal: "show_toolbars";
                 source: "ui";
                 action: STATE_SET "default" 0.0;
                 target: "elm.swallow.content";
-                target: "toolbar";
+                target: "navigator_toolbar";
+                target: "modules_toolbar";
             }
         }
     }
diff --git a/services/BookmarkManagerUI/images/btn_bar_stop_nor.png b/services/BookmarkManagerUI/images/btn_bar_stop_nor.png
deleted file mode 100644 (file)
index c5cdc11..0000000
Binary files a/services/BookmarkManagerUI/images/btn_bar_stop_nor.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/folder_ic_add.png b/services/BookmarkManagerUI/images/folder_ic_add.png
deleted file mode 100644 (file)
index e8aeafa..0000000
Binary files a/services/BookmarkManagerUI/images/folder_ic_add.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/ic_add_bookmark.png b/services/BookmarkManagerUI/images/ic_add_bookmark.png
deleted file mode 100644 (file)
index 0ea3265..0000000
Binary files a/services/BookmarkManagerUI/images/ic_add_bookmark.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/ic_thumbnail_folder.png b/services/BookmarkManagerUI/images/ic_thumbnail_folder.png
deleted file mode 100644 (file)
index 57fc200..0000000
Binary files a/services/BookmarkManagerUI/images/ic_thumbnail_folder.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/ic_thumbnail_folder_all.png b/services/BookmarkManagerUI/images/ic_thumbnail_folder_all.png
deleted file mode 100644 (file)
index c23e195..0000000
Binary files a/services/BookmarkManagerUI/images/ic_thumbnail_folder_all.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/ic_thumbnail_folder_mark.png b/services/BookmarkManagerUI/images/ic_thumbnail_folder_mark.png
deleted file mode 100644 (file)
index 6ea1fa2..0000000
Binary files a/services/BookmarkManagerUI/images/ic_thumbnail_folder_mark.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/ico_bg_round_shape_37x37.png b/services/BookmarkManagerUI/images/ico_bg_round_shape_37x37.png
deleted file mode 100644 (file)
index 00182ed..0000000
Binary files a/services/BookmarkManagerUI/images/ico_bg_round_shape_37x37.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/ico_delete.png b/services/BookmarkManagerUI/images/ico_delete.png
deleted file mode 100644 (file)
index 92f42cc..0000000
Binary files a/services/BookmarkManagerUI/images/ico_delete.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/web_frame_selected.png b/services/BookmarkManagerUI/images/web_frame_selected.png
deleted file mode 100644 (file)
index dcba4c5..0000000
Binary files a/services/BookmarkManagerUI/images/web_frame_selected.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images/web_shadow.png b/services/BookmarkManagerUI/images/web_shadow.png
deleted file mode 100644 (file)
index f9018b0..0000000
Binary files a/services/BookmarkManagerUI/images/web_shadow.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images_mob/folder_ic_add.png b/services/BookmarkManagerUI/images_mob/folder_ic_add.png
deleted file mode 100644 (file)
index e8aeafa..0000000
Binary files a/services/BookmarkManagerUI/images_mob/folder_ic_add.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images_mob/folder_ic_all.png b/services/BookmarkManagerUI/images_mob/folder_ic_all.png
deleted file mode 100644 (file)
index 8455ca7..0000000
Binary files a/services/BookmarkManagerUI/images_mob/folder_ic_all.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images_mob/folder_ic_bookmark.png b/services/BookmarkManagerUI/images_mob/folder_ic_bookmark.png
deleted file mode 100644 (file)
index af66b26..0000000
Binary files a/services/BookmarkManagerUI/images_mob/folder_ic_bookmark.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images_mob/folder_ic_custom.png b/services/BookmarkManagerUI/images_mob/folder_ic_custom.png
deleted file mode 100644 (file)
index 55468bd..0000000
Binary files a/services/BookmarkManagerUI/images_mob/folder_ic_custom.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images_mob/navi_ic_back_nor.png b/services/BookmarkManagerUI/images_mob/navi_ic_back_nor.png
deleted file mode 100644 (file)
index 3293745..0000000
Binary files a/services/BookmarkManagerUI/images_mob/navi_ic_back_nor.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images_mob/navi_ic_more_nor.png b/services/BookmarkManagerUI/images_mob/navi_ic_more_nor.png
deleted file mode 100644 (file)
index a342002..0000000
Binary files a/services/BookmarkManagerUI/images_mob/navi_ic_more_nor.png and /dev/null differ
diff --git a/services/BookmarkManagerUI/images_mob/navi_ic_stop.png b/services/BookmarkManagerUI/images_mob/navi_ic_stop.png
deleted file mode 100644 (file)
index 7c4cc8e..0000000
Binary files a/services/BookmarkManagerUI/images_mob/navi_ic_stop.png and /dev/null differ
index 40857ad72c3d65324c27a9ff64dcba349151d7d8..25cf5bc599e4b66a8199d1ebbd0e44a9cb07f572 100755 (executable)
@@ -398,6 +398,7 @@ void SimpleUI::connectUISignals()
     m_findOnPageUI->startFindingWord.connect(boost::bind(&SimpleUI::findWord, this, _1));
 
     M_ASSERT(m_bookmarkManagerUI.get());
+    m_bookmarkManagerUI->showHistory.connect(boost::bind(&SimpleUI::showHistoryUI, this));
     m_bookmarkManagerUI->closeBookmarkManagerClicked.connect(boost::bind(&SimpleUI::closeBookmarkManagerUI, this));
     m_bookmarkManagerUI->getWindow.connect(boost::bind(&SimpleUI::getMainWindow, this));
     m_bookmarkManagerUI->bookmarkItemClicked.connect(boost::bind(&SimpleUI::onBookmarkClicked, this, _1));