Remove the old signature of NotificationManager::closePersistent().
[chromium-blink-merge.git] / chrome / browser / resources / bookmark_manager / main.html
blobe27b6f9e2df85598d7e18106dffea61a3d34245f
1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language">
3 <!--
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.
9 -->
10 <head>
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/text_defaults.css">
16 <link rel="stylesheet" href="chrome://resources/css/list.css">
17 <link rel="stylesheet" href="chrome://resources/css/tree.css">
18 <link rel="stylesheet" href="chrome://resources/css/menu.css">
19 <link rel="stylesheet" href="chrome://resources/css/menu_button.css">
20 <link rel="stylesheet" href="chrome://resources/css/widgets.css">
21 <link rel="stylesheet" href="css/bmm.css">
23 <script src="chrome://resources/css/tree.css.js"></script>
24 <script src="css/bmm.css.js"></script>
25 <script src="chrome://resources/js/event_tracker.js"></script>
27 <script src="chrome://resources/js/cr.js"></script>
28 <script src="chrome://resources/js/cr/event_target.js"></script>
29 <script src="chrome://resources/js/cr/link_controller.js"></script>
30 <script src="chrome://resources/js/cr/ui.js"></script>
31 <script src="chrome://resources/js/cr/ui/touch_handler.js"></script>
32 <script src="chrome://resources/js/cr/ui/array_data_model.js"></script>
33 <script src="chrome://resources/js/cr/ui/command.js"></script>
34 <script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
35 <script src="chrome://resources/js/cr/ui/menu_item.js"></script>
36 <script src="chrome://resources/js/cr/ui/menu.js"></script>
37 <script src="chrome://resources/js/cr/ui/position_util.js"></script>
38 <script src="chrome://resources/js/cr/ui/menu_button.js"></script>
39 <script src="chrome://resources/js/cr/ui/context_menu_button.js"></script>
40 <script src="chrome://resources/js/cr/ui/context_menu_handler.js"></script>
41 <script src="chrome://resources/js/cr/ui/list_selection_model.js"></script>
42 <script src="chrome://resources/js/cr/ui/list_selection_controller.js"></script>
43 <script src="chrome://resources/js/cr/ui/list_item.js"></script>
44 <script src="chrome://resources/js/cr/ui/list.js"></script>
45 <script src="chrome://resources/js/cr/ui/tree.js"></script>
46 <script src="chrome://resources/js/cr/ui/splitter.js"></script>
48 <script src="chrome://resources/js/i18n_template_no_process.js"></script>
49 <script src="chrome://resources/js/load_time_data.js"></script>
50 <script src="chrome://resources/js/util.js"></script>
52 <script src="js/bmm.js"></script>
53 <script src="js/bmm/bookmark_list.js"></script>
54 <script src="js/bmm/bookmark_tree.js"></script>
55 <script src="js/dnd.js"></script>
56 </head>
57 <body>
59 <header>
60 <h1 i18n-content="title"></h1>
61 <form>
62 <input type="search" id="term" i18n-values="placeholder:search_button"
63 autofocus incremental>
64 </form>
65 </header>
67 <div class="main">
68 <div id="tree-pane" class="pane">
69 <div>
70 <button menu="#folders-menu" i18n-content="folders_menu"
71 id="folders-button" class="custom-appearance"></button>
72 </div>
73 <div id="tree-container">
74 <tree id="tree" role="tree"></tree>
75 </div>
76 </div>
77 <div class="splitter">
78 <div>
79 <!-- Used to occupy the correct amount of vertical space. -->
80 <button menu="#no-menu" i18n-content="folders_menu"
81 class="custom-appearance"></button>
82 </div>
83 </div>
84 <div id="list-pane" class="pane">
85 <div>
86 <button menu="#organize-menu" i18n-content="organize_menu"
87 id="organize-button" class="custom-appearance"></button>
88 </div>
89 <!-- The list doesn't use a scroll container as it truncates horizontally
90 and handles its own vertical overflow. -->
91 <list id="list"></list>
92 </div>
93 </div>
95 <!-- Organize menu -->
96 <command i18n-values=".label:rename_folder" id="rename-folder-command">
97 </command>
98 <command i18n-values=".label:edit" id="edit-command"></command>
99 <command i18n-values=".label:show_in_folder" id="show-in-folder-command">
100 </command>
101 <command i18n-values=".label:cut" id="cut-command"></command>
102 <command i18n-values=".label:copy" id="copy-command"></command>
103 <command i18n-values=".label:paste" id="paste-from-organize-menu-command">
104 </command>
105 <command i18n-values=".label:delete" id="delete-command"></command>
106 <command i18n-values=".label:undo_delete" id="undo-delete-command"></command>
107 <command i18n-values=".label:sort" id="sort-command"></command>
108 <command i18n-values=".label:add_new_bookmark" id="add-new-bookmark-command">
109 </command>
110 <command i18n-values=".label:new_folder" id="new-folder-command"></command>
112 <!-- Folders menu -->
113 <command i18n-values=".label:cut" id="cut-from-folders-menu-command"></command>
114 <command i18n-values=".label:copy" id="copy-from-folders-menu-command">
115 </command>
116 <command i18n-values=".label:paste" id="paste-from-folders-menu-command">
117 </command>
118 <command i18n-values=".label:new_folder"
119 id="new-folder-from-folders-menu-command"></command>
120 <command i18n-values=".label:delete" id="delete-from-folders-menu-command">
121 </command>
122 <command i18n-values=".label:undo_delete"
123 id="undo-delete-from-folders-menu-command"></command>
125 <!-- Tools menu -->
126 <command i18n-values=".label:import_menu" id="import-menu-command"></command>
127 <command i18n-values=".label:export_menu" id="export-menu-command"></command>
129 <!-- Context menu -->
130 <command i18n-values=".label:paste" id="paste-from-context-menu-command">
131 </command>
133 <!-- open * are handled in canExecute handler -->
134 <command id="open-in-new-tab-command"></command>
135 <command id="open-in-background-tab-command"></command>
136 <command id="open-in-new-window-command"></command>
137 <command id="open-incognito-window-command"></command>
138 <command id="open-in-same-window-command"></command>
140 <command id="undo-command"></command>
142 <command i18n-values=".label:rename_folder"
143 id="rename-folder-from-folders-menu-command"></command>
144 <command i18n-values=".label:paste" id="paste-from-folders-menu-command">
145 </command>
147 <!-- TODO(arv): I think the commands might be better created in code? -->
149 <cr-menu id="folders-menu">
150 <button command="#new-folder-from-folders-menu-command"></button>
151 <hr>
152 <button command="#rename-folder-from-folders-menu-command"></button>
153 <hr>
154 <button command="#cut-from-folders-menu-command"></button>
155 <button command="#copy-from-folders-menu-command"></button>
156 <button command="#paste-from-folders-menu-command"></button>
157 <hr>
158 <button command="#delete-from-folders-menu-command"></button>
159 <button command="#undo-delete-from-folders-menu-command"></button>
160 </cr-menu>
162 <cr-menu id="no-menu"></cr-menu>
164 <cr-menu id="organize-menu">
165 <button command="#add-new-bookmark-command"></button>
166 <button command="#new-folder-command"></button>
167 <hr>
168 <button command="#rename-folder-command"></button>
169 <button command="#edit-command"></button>
170 <button command="#show-in-folder-command"></button>
171 <hr>
172 <button command="#cut-command"></button>
173 <button command="#copy-command"></button>
174 <button command="#paste-from-organize-menu-command"></button>
175 <hr>
176 <button command="#delete-command"></button>
177 <button command="#undo-delete-command"></button>
178 <hr>
179 <button command="#sort-command"></button>
180 <hr>
181 <button command="#import-menu-command"></button>
182 <button command="#export-menu-command"></button>
183 </cr-menu>
185 <cr-menu id="context-menu">
186 <button command="#open-in-new-tab-command"></button>
187 <button command="#open-in-new-window-command"></button>
188 <button command="#open-incognito-window-command"></button>
189 <hr>
190 <button command="#rename-folder-command"></button>
191 <button command="#edit-command"></button>
192 <button command="#show-in-folder-command"></button>
193 <hr>
194 <button command="#cut-command"></button>
195 <button command="#copy-command"></button>
196 <button command="#paste-from-context-menu-command"></button>
197 <hr>
198 <button command="#delete-command"></button>
199 <button command="#undo-delete-command"></button>
200 <hr>
201 <button command="#add-new-bookmark-command"></button>
202 <button command="#new-folder-command"></button>
203 </cr-menu>
205 <script src="js/main.js"></script>
206 </body>
207 </html>