1 <!DOCTYPE html> 2 <html i18n-values="dir:textdirection"> 3 <!-- 4 5 Copyright (c) 2010 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. 8 9 --> 10 <head> 11 <meta name="google" value="notranslate"> 12 <!-- X-WebKit-CSP is our development name for Content-Security-Policy. 13 TODO(abarth): Change the name to Content-Security-Policy once CSP is done. 14 Also, chrome-extension: should really be 'self', but we haven't implemented 'self' yet! --> 15 <meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src chrome://resources chrome-extension:"> 16 <title i18n-content="title"></title> 17 18 <link rel="stylesheet" href="chrome://resources/css/list.css"> 19 <link rel="stylesheet" href="chrome://resources/css/tree.css"> 20 <link rel="stylesheet" href="chrome://resources/css/menu.css"> 21 <link rel="stylesheet" href="css/bmm.css"> 22 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> 26 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/promise.js"></script> 31 <script src="chrome://resources/js/cr/ui.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/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/util.js"></script> 48 <script src="chrome://resources/js/local_strings.js"></script> 49 <script src="chrome://resources/js/i18n_template.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> 54 </head> 55 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> 56 57 <div class="header"> 58 <button class="logo" tabindex=3></button> 59 <form onsubmit="setSearch(this.term.value); return false;" 60 class="form"> 61 <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> 68 <button menu="#organize-menu" tabindex="-1" i18n-content="organize_menu"></button> 69 </div> 70 71 <div class=main> 72 <div id=tree-container> 73 <tree id=tree tabindex=2></tree> 74 </div> 75 <div class=splitter></div> 76 <list id=list tabindex=2></list> 77 </div> 78 79 <!-- Organize menu --> 80 <command i18n-values=".label:rename_folder" id="rename-folder-command"></command> 81 <command i18n-values=".label:edit" id="edit-command"></command> 82 <command i18n-values=".label:show_in_folder" id="show-in-folder-command"></command> 83 <command i18n-values=".label:cut" id="cut-command"></command> 84 <command i18n-values=".label:copy" id="copy-command"></command> 85 <command i18n-values=".label:paste" id="paste-command"></command> 86 <command i18n-values=".label:delete" id="delete-command"></command> 87 <command i18n-values=".label:sort" id="sort-command"></command> 88 <command i18n-values=".label:add_new_bookmark" id="add-new-bookmark-command"></command> 89 <command i18n-values=".label:new_folder" id="new-folder-command"></command> 90 91 <!-- Tools menu --> 92 <command i18n-values=".label:import_menu" id="import-menu-command"></command> 93 <command i18n-values=".label:export_menu" id="export-menu-command"></command> 94 95 <!-- open * are handled in canExecute handler --> 96 <command id="open-in-new-tab-command"></command> 97 <command id="open-in-background-tab-command"></command> 98 <command id="open-in-new-window-command"></command> 99 <command id="open-incognito-window-command"></command> 100 <command id="open-in-same-window-command"></command> 101 102 <!-- TODO(arv): I think the commands might be better created in code? --> 103 104 <menu id="organize-menu"> 105 <button command="#add-new-bookmark-command"></button> 106 <button command="#new-folder-command"></button> 107 <hr> 108 <button command="#rename-folder-command"></button> 109 <button command="#edit-command"></button> 110 <button command="#show-in-folder-command"></button> 111 <hr> 112 <button command="#cut-command"></button> 113 <button command="#copy-command"></button> 114 <button command="#paste-command"></button> 115 <hr> 116 <button command="#delete-command"></button> 117 <hr> 118 <button command="#sort-command"></button> 119 <hr> 120 <button command="#import-menu-command"></button> 121 <button command="#export-menu-command"></button> 122 </menu> 123 124 <menu id="context-menu"> 125 <button command="#open-in-new-tab-command"></button> 126 <button command="#open-in-new-window-command"></button> 127 <button command="#open-incognito-window-command"></button> 128 <hr> 129 <button command="#rename-folder-command"></button> 130 <button command="#edit-command"></button> 131 <button command="#show-in-folder-command"></button> 132 <hr> 133 <button command="#cut-command"></button> 134 <button command="#copy-command"></button> 135 <button command="#paste-command"></button> 136 <hr> 137 <button command="#delete-command"></button> 138 <hr> 139 <button command="#add-new-bookmark-command"></button> 140 <button command="#new-folder-command"></button> 141 </menu> 142 143 <div id="drop-overlay"></div> 144 145 <script src="js/main.js"></script> 146 </body> 147 </html> 148