blob: e9eb1bfeb4aeedebf9a5ed26291d0eeb6c43383f [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001<!DOCTYPE html>
2<html i18n-values="dir:textdirection">
3<!--
4
5Copyright (c) 2012 The Chromium Authors. All rights reserved.
6Use of this source code is governed by a BSD-style license that can be
7found in the LICENSE file.
8
9-->
10<head>
11<meta name="google" value="notranslate">
12<title i18n-content="title"></title>
13
14<link rel="stylesheet" href="chrome://resources/css/list.css">
15<link rel="stylesheet" href="chrome://resources/css/tree.css">
16<link rel="stylesheet" href="chrome://resources/css/menu.css">
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000017<link rel="stylesheet" href="chrome://resources/css/menu_button.css">
Torne (Richard Coles)58218062012-11-14 11:43:16 +000018<link rel="stylesheet" href="chrome://resources/css/widgets.css">
19<link rel="stylesheet" href="css/bmm.css">
20
21<script src="chrome://resources/css/tree.css.js"></script>
22<script src="css/bmm.css.js"></script>
23<script src="chrome://resources/js/event_tracker.js"></script>
24
25<script src="chrome://resources/js/cr.js"></script>
26<script src="chrome://resources/js/cr/event_target.js"></script>
27<script src="chrome://resources/js/cr/link_controller.js"></script>
28<script src="chrome://resources/js/cr/promise.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>
Ben Murdochbb1529c2013-08-08 10:24:53 +010033<script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
Torne (Richard Coles)58218062012-11-14 11:43:16 +000034<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>
46
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>
50
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>
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +010054<script src="js/dnd.js"></script>
Torne (Richard Coles)58218062012-11-14 11:43:16 +000055</head>
56<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
57
58<div class="header">
59 <button class="logo link-button" tabindex=3></button>
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +010060 <form class="form">
Torne (Richard Coles)58218062012-11-14 11:43:16 +000061 <input type="search" id="term" tabindex=1 autofocus incremental
62 i18n-values="placeholder:search_button">
63 </form>
64</div>
65
66<div class="summary">
67 <h3 i18n-content="title"></h3>
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000068 <button menu="#organize-menu" tabindex="4" i18n-content="organize_menu">
69 </button>
Torne (Richard Coles)58218062012-11-14 11:43:16 +000070</div>
71
72<div class=main>
73 <div id=tree-container>
74 <tree id=tree tabindex=2 role="tree"></tree>
75 </div>
76 <div class=splitter></div>
77 <list id=list tabindex=2></list>
78</div>
79
80<!-- Organize menu -->
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000081<command i18n-values=".label:rename_folder" id="rename-folder-command">
82</command>
Torne (Richard Coles)58218062012-11-14 11:43:16 +000083<command i18n-values=".label:edit" id="edit-command"></command>
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000084<command i18n-values=".label:show_in_folder" id="show-in-folder-command">
85</command>
Torne (Richard Coles)58218062012-11-14 11:43:16 +000086<command i18n-values=".label:cut" id="cut-command"></command>
87<command i18n-values=".label:copy" id="copy-command"></command>
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000088<command i18n-values=".label:paste" id="paste-from-organize-menu-command">
89</command>
90<command i18n-values=".label:paste" id="paste-from-context-menu-command">
91</command>
Torne (Richard Coles)58218062012-11-14 11:43:16 +000092<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>
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000095<command i18n-values=".label:add_new_bookmark" id="add-new-bookmark-command">
96</command>
Torne (Richard Coles)58218062012-11-14 11:43:16 +000097<command i18n-values=".label:new_folder" id="new-folder-command"></command>
98
99<!-- Tools menu -->
100<command i18n-values=".label:import_menu" id="import-menu-command"></command>
101<command i18n-values=".label:export_menu" id="export-menu-command"></command>
102
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>
109
110<command id="undo-command"></command>
111
112<!-- TODO(arv): I think the commands might be better created in code? -->
113
114<menu id="organize-menu">
115 <button command="#add-new-bookmark-command"></button>
116 <button command="#new-folder-command"></button>
117 <hr>
118 <button command="#rename-folder-command"></button>
119 <button command="#edit-command"></button>
120 <button command="#show-in-folder-command"></button>
121 <hr>
122 <button command="#cut-command"></button>
123 <button command="#copy-command"></button>
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000124 <button command="#paste-from-organize-menu-command"></button>
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000125 <hr>
126 <button command="#delete-command"></button>
127 <button command="#undo-delete-command"></button>
128 <hr>
129 <button command="#sort-command"></button>
130 <hr>
131 <button command="#import-menu-command"></button>
132 <button command="#export-menu-command"></button>
133</menu>
134
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>
139 <hr>
140 <button command="#rename-folder-command"></button>
141 <button command="#edit-command"></button>
142 <button command="#show-in-folder-command"></button>
143 <hr>
144 <button command="#cut-command"></button>
145 <button command="#copy-command"></button>
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000146 <button command="#paste-from-context-menu-command"></button>
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000147 <hr>
148 <button command="#delete-command"></button>
149 <button command="#undo-delete-command"></button>
150 <hr>
151 <button command="#add-new-bookmark-command"></button>
152 <button command="#new-folder-command"></button>
153</menu>
154
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000155<script src="js/main.js"></script>
156</body>
157</html>