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