2 <html i18n-values=
"dir:textdirection">
5 Copyright (c) 2012 The Chromium Authors. All rights reserved.
6 Use of this source code is governed by a BSD-style license that can be
7 found in the LICENSE file.
11 <meta name=
"google" value=
"notranslate">
12 <meta charset=
"utf-8">
13 <title i18n-content=
"title"></title>
15 <link rel=
"stylesheet" href=
"chrome://resources/css/list.css">
16 <link rel=
"stylesheet" href=
"chrome://resources/css/tree.css">
17 <link rel=
"stylesheet" href=
"chrome://resources/css/menu.css">
18 <link rel=
"stylesheet" href=
"chrome://resources/css/menu_button.css">
19 <link rel=
"stylesheet" href=
"chrome://resources/css/widgets.css">
20 <link rel=
"stylesheet" href=
"css/bmm.css">
22 <script src=
"chrome://resources/css/tree.css.js"></script>
23 <script src=
"css/bmm.css.js"></script>
24 <script src=
"chrome://resources/js/event_tracker.js"></script>
26 <script src=
"chrome://resources/js/cr.js"></script>
27 <script src=
"chrome://resources/js/cr/event_target.js"></script>
28 <script src=
"chrome://resources/js/cr/link_controller.js"></script>
29 <script src=
"chrome://resources/js/cr/ui.js"></script>
30 <script src=
"chrome://resources/js/cr/ui/touch_handler.js"></script>
31 <script src=
"chrome://resources/js/cr/ui/array_data_model.js"></script>
32 <script src=
"chrome://resources/js/cr/ui/command.js"></script>
33 <script src=
"chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
34 <script src=
"chrome://resources/js/cr/ui/menu_item.js"></script>
35 <script src=
"chrome://resources/js/cr/ui/menu.js"></script>
36 <script src=
"chrome://resources/js/cr/ui/position_util.js"></script>
37 <script src=
"chrome://resources/js/cr/ui/menu_button.js"></script>
38 <script src=
"chrome://resources/js/cr/ui/context_menu_button.js"></script>
39 <script src=
"chrome://resources/js/cr/ui/context_menu_handler.js"></script>
40 <script src=
"chrome://resources/js/cr/ui/list_selection_model.js"></script>
41 <script src=
"chrome://resources/js/cr/ui/list_selection_controller.js"></script>
42 <script src=
"chrome://resources/js/cr/ui/list_item.js"></script>
43 <script src=
"chrome://resources/js/cr/ui/list.js"></script>
44 <script src=
"chrome://resources/js/cr/ui/tree.js"></script>
45 <script src=
"chrome://resources/js/cr/ui/splitter.js"></script>
47 <script src=
"chrome://resources/js/i18n_template_no_process.js"></script>
48 <script src=
"chrome://resources/js/load_time_data.js"></script>
49 <script src=
"chrome://resources/js/util.js"></script>
51 <script src=
"js/bmm.js"></script>
52 <script src=
"js/bmm/bookmark_list.js"></script>
53 <script src=
"js/bmm/bookmark_tree.js"></script>
54 <script src=
"js/dnd.js"></script>
56 <body i18n-values=
".style.fontFamily:fontfamily;.style.fontSize:fontsize">
59 <button class=
"logo link-button" tabindex=
3></button>
61 <input type=
"search" id=
"term" tabindex=
1 autofocus incremental
62 i18n-values=
"placeholder:search_button">
67 <h3 i18n-content=
"title"></h3>
68 <button menu=
"#organize-menu" tabindex=
"4" i18n-content=
"organize_menu">
73 <div id=tree-container
>
74 <tree id=tree tabindex=
2 role=
"tree"></tree>
76 <div class=splitter
></div>
77 <list id=list tabindex=
2></list>
80 <!-- Organize menu -->
81 <command i18n-values=
".label:rename_folder" id=
"rename-folder-command">
83 <command i18n-values=
".label:edit" id=
"edit-command"></command>
84 <command i18n-values=
".label:show_in_folder" id=
"show-in-folder-command">
86 <command i18n-values=
".label:cut" id=
"cut-command"></command>
87 <command i18n-values=
".label:copy" id=
"copy-command"></command>
88 <command i18n-values=
".label:paste" id=
"paste-from-organize-menu-command">
90 <command i18n-values=
".label:paste" id=
"paste-from-context-menu-command">
92 <command i18n-values=
".label:delete" id=
"delete-command"></command>
93 <command i18n-values=
".label:undo_delete" id=
"undo-delete-command"></command>
94 <command i18n-values=
".label:sort" id=
"sort-command"></command>
95 <command i18n-values=
".label:add_new_bookmark" id=
"add-new-bookmark-command">
97 <command i18n-values=
".label:new_folder" id=
"new-folder-command"></command>
100 <command i18n-values=
".label:import_menu" id=
"import-menu-command"></command>
101 <command i18n-values=
".label:export_menu" id=
"export-menu-command"></command>
103 <!-- open * are handled in canExecute handler -->
104 <command id=
"open-in-new-tab-command"></command>
105 <command id=
"open-in-background-tab-command"></command>
106 <command id=
"open-in-new-window-command"></command>
107 <command id=
"open-incognito-window-command"></command>
108 <command id=
"open-in-same-window-command"></command>
110 <command id=
"undo-command"></command>
112 <!-- TODO(arv): I think the commands might be better created in code? -->
114 <menu id=
"organize-menu">
115 <button command=
"#add-new-bookmark-command"></button>
116 <button command=
"#new-folder-command"></button>
118 <button command=
"#rename-folder-command"></button>
119 <button command=
"#edit-command"></button>
120 <button command=
"#show-in-folder-command"></button>
122 <button command=
"#cut-command"></button>
123 <button command=
"#copy-command"></button>
124 <button command=
"#paste-from-organize-menu-command"></button>
126 <button command=
"#delete-command"></button>
127 <button command=
"#undo-delete-command"></button>
129 <button command=
"#sort-command"></button>
131 <button command=
"#import-menu-command"></button>
132 <button command=
"#export-menu-command"></button>
135 <menu id=
"context-menu">
136 <button command=
"#open-in-new-tab-command"></button>
137 <button command=
"#open-in-new-window-command"></button>
138 <button command=
"#open-incognito-window-command"></button>
140 <button command=
"#rename-folder-command"></button>
141 <button command=
"#edit-command"></button>
142 <button command=
"#show-in-folder-command"></button>
144 <button command=
"#cut-command"></button>
145 <button command=
"#copy-command"></button>
146 <button command=
"#paste-from-context-menu-command"></button>
148 <button command=
"#delete-command"></button>
149 <button command=
"#undo-delete-command"></button>
151 <button command=
"#add-new-bookmark-command"></button>
152 <button command=
"#new-folder-command"></button>
155 <script src=
"js/main.js"></script>