Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / resources / bookmark_manager / main.html
blob743ba183c88ac2a33cc65dd7830a177f460973d9
1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection">
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/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/promise.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 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
59 <div class="header">
60 <button class="logo link-button" tabindex=3></button>
61 <form class="form">
62 <input type="search" id="term" tabindex=1 autofocus incremental
63 i18n-values="placeholder:search_button">
64 </form>
65 </div>
67 <div class="summary">
68 <h3 i18n-content="title"></h3>
69 <button menu="#organize-menu" tabindex="4" i18n-content="organize_menu">
70 </button>
71 </div>
73 <div class=main>
74 <div id=tree-container>
75 <tree id=tree tabindex=2 role="tree"></tree>
76 </div>
77 <div class=splitter></div>
78 <list id=list tabindex=2></list>
79 </div>
81 <!-- Organize menu -->
82 <command i18n-values=".label:rename_folder" id="rename-folder-command">
83 </command>
84 <command i18n-values=".label:edit" id="edit-command"></command>
85 <command i18n-values=".label:show_in_folder" id="show-in-folder-command">
86 </command>
87 <command i18n-values=".label:cut" id="cut-command"></command>
88 <command i18n-values=".label:copy" id="copy-command"></command>
89 <command i18n-values=".label:paste" id="paste-from-organize-menu-command">
90 </command>
91 <command i18n-values=".label:paste" id="paste-from-context-menu-command">
92 </command>
93 <command i18n-values=".label:delete" id="delete-command"></command>
94 <command i18n-values=".label:undo_delete" id="undo-delete-command"></command>
95 <command i18n-values=".label:sort" id="sort-command"></command>
96 <command i18n-values=".label:add_new_bookmark" id="add-new-bookmark-command">
97 </command>
98 <command i18n-values=".label:new_folder" id="new-folder-command"></command>
100 <!-- Tools menu -->
101 <command i18n-values=".label:import_menu" id="import-menu-command"></command>
102 <command i18n-values=".label:export_menu" id="export-menu-command"></command>
104 <!-- open * are handled in canExecute handler -->
105 <command id="open-in-new-tab-command"></command>
106 <command id="open-in-background-tab-command"></command>
107 <command id="open-in-new-window-command"></command>
108 <command id="open-incognito-window-command"></command>
109 <command id="open-in-same-window-command"></command>
111 <command id="undo-command"></command>
113 <!-- TODO(arv): I think the commands might be better created in code? -->
115 <menu id="organize-menu">
116 <button command="#add-new-bookmark-command"></button>
117 <button command="#new-folder-command"></button>
118 <hr>
119 <button command="#rename-folder-command"></button>
120 <button command="#edit-command"></button>
121 <button command="#show-in-folder-command"></button>
122 <hr>
123 <button command="#cut-command"></button>
124 <button command="#copy-command"></button>
125 <button command="#paste-from-organize-menu-command"></button>
126 <hr>
127 <button command="#delete-command"></button>
128 <button command="#undo-delete-command"></button>
129 <hr>
130 <button command="#sort-command"></button>
131 <hr>
132 <button command="#import-menu-command"></button>
133 <button command="#export-menu-command"></button>
134 </menu>
136 <menu id="context-menu">
137 <button command="#open-in-new-tab-command"></button>
138 <button command="#open-in-new-window-command"></button>
139 <button command="#open-incognito-window-command"></button>
140 <hr>
141 <button command="#rename-folder-command"></button>
142 <button command="#edit-command"></button>
143 <button command="#show-in-folder-command"></button>
144 <hr>
145 <button command="#cut-command"></button>
146 <button command="#copy-command"></button>
147 <button command="#paste-from-context-menu-command"></button>
148 <hr>
149 <button command="#delete-command"></button>
150 <button command="#undo-delete-command"></button>
151 <hr>
152 <button command="#add-new-bookmark-command"></button>
153 <button command="#new-folder-command"></button>
154 </menu>
156 <script src="js/main.js"></script>
157 </body>
158 </html>