1 <!DOCTYPE HTML> 2 <!-- 3 -- Copyright (c) 2012 The Chromium Authors. All rights reserved. 4 -- Use of this source code is governed by a BSD-style license that can be 5 -- found in the LICENSE file. 6 --> 7 <html i18n-values="dir:textdirection;"> 8 <head> 9 <!-- We have to set some default title, or chrome will use the page name. 10 -- As soon as we init and change to a directory, we'll show the directory 11 -- path. Until then, use an invisible non-whitespace character. 12 --> 13 <title></title> 14 15 <meta name="google" value="notranslate"> 16 17 <link rel="stylesheet" href="css/list.css"></link> 18 <link rel="stylesheet" href="css/table.css"></link> 19 <link rel="stylesheet" href="css/tree.css"></link> 20 <link rel="stylesheet" href="css/menu.css"></link> 21 <link rel="stylesheet" href="css/combobutton.css"></link> 22 <link rel="stylesheet" href="css/file_manager.css"></link> 23 <link rel="stylesheet" href="css/file_types.css"></link> 24 <link rel="stylesheet" href="css/common.css"></link> 25 26 <!-- Don't load main_scripts.js when flattening is disabled. --> 27 <if expr="0"><!-- </if> 28 <script src="js/main_scripts.js"></script> 29 <if expr="0"> --></if> 30 31 <if expr="0"> 32 <!-- This section is used when the file manager is loaded with 33 'filemgr-ext-path' command-line flag. --> 34 <!-- Keep the list in sync with js/main_scripts.js. --> 35 36 <!-- metrics.js initiates load performance tracking 37 so we want to parse it as early as possible --> 38 <script src="js/metrics.js"></script> 39 40 <!-- Loads the client of the image loader extension --> 41 <script src="chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp/image_loader_client.js"></script> 42 43 <script src="chrome://resources/js/load_time_data.js"></script> 44 <script src="chrome://resources/js/cr.js"></script> 45 <script src="chrome://resources/js/util.js"></script> 46 <script src="chrome://resources/js/i18n_template_no_process.js"></script> 47 48 <script src="chrome://resources/js/event_tracker.js"></script> 49 <script src="chrome://resources/js/cr/ui.js"></script> 50 <script src="chrome://resources/js/cr/event_target.js"></script> 51 <script src="chrome://resources/js/cr/ui/touch_handler.js"></script> 52 <script src="chrome://resources/js/cr/ui/array_data_model.js"></script> 53 <script src="chrome://resources/js/cr/ui/dialogs.js"></script> 54 <script src="chrome://resources/js/cr/ui/list_item.js"></script> 55 <script src="chrome://resources/js/cr/ui/list_selection_model.js"></script> 56 <script src="chrome://resources/js/cr/ui/list_single_selection_model.js"></script> 57 <script src="chrome://resources/js/cr/ui/list_selection_controller.js"></script> 58 <script src="chrome://resources/js/cr/ui/list.js"></script> 59 <script src="chrome://resources/js/cr/ui/tree.js"></script> 60 <script src="chrome://resources/js/cr/ui/autocomplete_list.js"></script> 61 62 <script src="chrome://resources/js/cr/ui/splitter.js"></script> 63 <script src="chrome://resources/js/cr/ui/table/table_splitter.js"></script> 64 65 <script src="chrome://resources/js/cr/ui/table/table_column.js"></script> 66 <script src="chrome://resources/js/cr/ui/table/table_column_model.js"></script> 67 <script src="chrome://resources/js/cr/ui/table/table_header.js"></script> 68 <script src="chrome://resources/js/cr/ui/table/table_list.js"></script> 69 <script src="chrome://resources/js/cr/ui/table.js"></script> 70 71 <script src="chrome://resources/js/cr/ui/grid.js"></script> 72 73 <script src="chrome://resources/js/cr/ui/command.js"></script> 74 <script src="chrome://resources/js/cr/ui/position_util.js"></script> 75 <script src="chrome://resources/js/cr/ui/menu_item.js"></script> 76 <script src="chrome://resources/js/cr/ui/menu.js"></script> 77 <script src="chrome://resources/js/cr/ui/menu_button.js"></script> 78 <script src="chrome://resources/js/cr/ui/context_menu_handler.js"></script> 79 80 <script src="js/combobutton.js"></script> 81 <script src="js/commandbutton.js"></script> 82 83 <script src="js/async_util.js"></script> 84 <script src="js/path_util.js"></script> 85 <script src="js/util.js"></script> 86 <script src="js/action_choice_util.js"></script> 87 <script src="js/breadcrumbs_controller.js"></script> 88 <script src="js/butter_bar.js"></script> 89 <script src="js/directory_contents.js"></script> 90 <script src="js/directory_model.js"></script> 91 <script src="js/directory_tree.js"></script> 92 <script src="js/drag_selector.js"></script> 93 <script src="js/drive_banners.js"></script> 94 <script src="js/error_dialog.js"></script> 95 <script src="js/file_copy_manager_wrapper.js"></script> 96 <script src="js/file_grid.js"></script> 97 <script src="js/file_manager.js"></script> 98 <script src="js/file_manager_pyauto.js"></script> 99 <script src="js/file_selection.js"></script> 100 <script src="js/file_table.js"></script> 101 <script src="js/file_tasks.js"></script> 102 <script src="js/file_transfer_controller.js"></script> 103 <script src="js/file_type.js"></script> 104 <script src="js/file_watcher.js"></script> 105 <script src="js/folder_shortcuts_data_model.js"></script> 106 <script src="js/navigation_list.js"></script> 107 <script src="js/scrollbar.js"></script> 108 <script src="js/share_client.js"></script> 109 <script src="js/share_dialog.js"></script> 110 <script src="js/tree.css.js"></script> 111 <script src="js/volume_manager.js"></script> 112 <script src="js/media/media_util.js"></script> 113 <script src="js/metadata/metadata_cache.js"></script> 114 <script src="js/default_action_dialog.js"></script> 115 <script src="js/file_manager_commands.js"></script> 116 117 <!-- For accurate load performance tracking main.js should be 118 the last script to include. --> 119 <script src="js/main.js"></script> 120 </if> 121 122 </head> 123 <body tabindex="-1" i18n-values=".style.fontFamily:WEB_FONT_FAMILY; 124 .style.fontSize:WEB_FONT_SIZE"> 125 <commands> 126 <!-- We have to use U+XXXX notation here according to event.keyIdentifier 127 property --> 128 <command id="cut" i18n-values="label:CUT_BUTTON_LABEL" 129 shortcut="U+0058-Ctrl"> 130 <command id="copy" i18n-values="label:COPY_BUTTON_LABEL" 131 shortcut="U+0043-Ctrl"> 132 <command id="paste" i18n-values="label:PASTE_BUTTON_LABEL" 133 shortcut="U+0056-Ctrl"> 134 <command id="rename" i18n-values="label:RENAME_BUTTON_LABEL" 135 shortcut="Enter-Ctrl"> 136 <command id="delete" shortcut="U+007F"> 137 <command id="create-folder-shortcut" 138 i18n-values="label:CREATE_FOLDER_SHORTCUT_BUTTON_LABEL"> 139 <command id="remove-folder-shortcut" 140 i18n-values="label:REMOVE_FOLDER_SHORTCUT_BUTTON_LABEL"> 141 <command id="newfolder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL" 142 shortcut="U+0045-Ctrl"> 143 <command id="newwindow" i18n-values="label:NEW_WINDOW_BUTTON_LABEL"> 144 <command id="change-default-app" 145 i18n-values="label:CHANGE_DEFAULT_APP_BUTTON_LABEL" hidden> 146 147 <command id="search" shortcut="U+0046-Ctrl U+00BF"> 148 149 <!-- Shortcuts for toggling between volumes (CTRL-1..CTRL-9). --> 150 <command id="volume-switch-1" shortcut="U+0031-Ctrl"> 151 <command id="volume-switch-2" shortcut="U+0032-Ctrl"> 152 <command id="volume-switch-3" shortcut="U+0033-Ctrl"> 153 <command id="volume-switch-4" shortcut="U+0034-Ctrl"> 154 <command id="volume-switch-5" shortcut="U+0035-Ctrl"> 155 <command id="volume-switch-6" shortcut="U+0036-Ctrl"> 156 <command id="volume-switch-7" shortcut="U+0037-Ctrl"> 157 <command id="volume-switch-8" shortcut="U+0038-Ctrl"> 158 <command id="volume-switch-9" shortcut="U+0039-Ctrl"> 159 160 <command id="unmount" i18n-values="label:UNMOUNT_DEVICE_BUTTON_LABEL"> 161 <command id="format" i18n-values="label:FORMAT_DEVICE_BUTTON_LABEL"> 162 <command id="import-photos" i18n-values="label:PHOTO_IMPORT_TITLE" hidden> 163 164 <command id="volume-help" i18n-values="label:DRIVE_MENU_HELP"> 165 <command id="drive-buy-more-space" 166 i18n-values="label:DRIVE_BUY_MORE_SPACE"> 167 <command id="drive-clear-local-cache" 168 i18n-values="label:DRIVE_CLEAR_LOCAL_CACHE"> 169 <command id="drive-go-to-drive" 170 i18n-values="label:DRIVE_VISIT_DRIVE_GOOGLE_COM"> 171 172 <command id="toggle-pinned" i18n-values="label:OFFLINE_COLUMN_LABEL"> 173 174 <command id="open-with" i18n-values="label:OPEN_WITH_BUTTON_LABEL"> 175 <command id="zip-selection" 176 i18n-values="label:ZIP_SELECTION_BUTTON_LABEL"> 177 <command id="share" i18n-values="label:SHARE_BUTTON_LABEL"> 178 179 <command id="zoom-in" shortcut="U+00BB-Ctrl"> 180 <command id="zoom-out" shortcut="U+00BD-Ctrl"> 181 <command id="zoom-reset" shortcut="U+0030-Ctrl"> 182 </commands> 183 184 <menu id="file-context-menu" class="chrome-menu" showShortcuts> 185 <menuitem id="default-action" 186 visibleif="full-page" hidden></menuitem> 187 <menuitem command="#open-with" 188 visibleif="full-page" hidden></menuitem> 189 <hr id="default-action-separator" visibleif="full-page" hidden> 190 <menuitem command="#toggle-pinned" checkable></menuitem> 191 <menuitem command="#share"></menuitem> 192 <menuitem command="#create-folder-shortcut"></menuitem> 193 <hr command="#share"> 194 <menuitem command="#cut" visibleif="full-page"></menuitem> 195 <menuitem command="#copy" visibleif="full-page"></menuitem> 196 <menuitem command="#paste" visibleif="full-page"></menuitem> 197 <hr visibleif="full-page"> 198 <menuitem command="#rename"></menuitem> 199 <menuitem command="#delete" i18n-content=DELETE_BUTTON_LABEL></menuitem> 200 <menuitem command="#zip-selection"></menuitem> 201 <hr visibleif="saveas-file full-page"> 202 <menuitem command="#newfolder" 203 visibleif="saveas-file full-page"></menuitem> 204 </menu> 205 206 <menu id="roots-context-menu" class="chrome-menu" > 207 <menuitem command="#import-photos"></menuitem> 208 <menuitem command="#unmount"></menuitem> 209 <menuitem command="#format"></menuitem> 210 <menuitem command="#remove-folder-shortcut"></menuitem> 211 </menu> 212 213 <menu id="directory-tree-context-menu" class="chrome-menu" > 214 <menuitem command="#create-folder-shortcut"></menuitem> 215 </menu> 216 217 <menu id="gear-menu" class="chrome-menu" showShortcuts> 218 <menuitem id="gear-menu-newwindow" command="#newwindow"></menuitem> 219 <menuitem id="gear-menu-newfolder" command="#newfolder"></menuitem> 220 <menuitem id="gear-menu-change-default-app" 221 command="#change-default-app"></menuitem> 222 <hr id="drive-separator"> 223 <menuitem id="drive-sync-settings" 224 i18n-content=DRIVE_MOBILE_CONNECTION_OPTION></menuitem> 225 <menuitem id="drive-hosted-settings" 226 i18n-content=DRIVE_SHOW_HOSTED_FILES_OPTION></menuitem> 227 <hr command="#drive-clear-local-cache"> 228 <menuitem id="gear-menu-drive-clear-local-cache" 229 command="#drive-clear-local-cache"></menuitem> 230 <hr> 231 <div> 232 View 233 </div> 234 <menuitem class="menuitem-button left" id="detail-view" 235 i18n-values="aria-label:DETAIL_VIEW_TOOLTIP"> 236 </menuitem> 237 <menuitem class="menuitem-button right" id="thumbnail-view" 238 i18n-values="aria-label:THUMBNAIL_VIEW_TOOLTIP"> 239 </menuitem> 240 <hr> 241 <menuitem id="gear-menu-drive-buy-more-space" 242 command="#drive-buy-more-space"></menuitem> 243 <menuitem id="gear-menu-drive-go-to-drive" 244 command="#drive-go-to-drive"></menuitem> 245 <menuitem id="gear-menu-volume-help" 246 command="#volume-help"></menuitem> 247 <hr> 248 <div id="volume-space-info"> 249 <div id="volume-space-info-contents"> 250 <span id="volume-space-info-label"></span> 251 <div class="progress-bar"> 252 <div class="progress-track" id="volume-space-info-bar"></div> 253 </div> 254 </div> 255 </div> 256 </menu> 257 258 <menu id="tasks-menu" class="chrome-menu"> 259 </menu> 260 261 <menu id="text-context-menu" class="chrome-menu" showShortcuts> 262 <menuitem command="#cut"></menuitem> 263 <menuitem command="#copy"></menuitem> 264 <menuitem command="#paste"></menuitem> 265 <menuitem command="#delete" i18n-content=DELETE_BUTTON_LABEL></menuitem> 266 </menu> 267 268 <div class=dialog-container> 269 <div class=dialog-sidebar> 270 <div class=dialog-sidebar-header> 271 <span id="app-name"></span> 272 </div> 273 <div class=dialog-sidebar-contents> 274 <list id="volume-list" tabindex="8"></list> 275 </div> 276 <div class=dialog-sidebar-footer> 277 <div id="butter-bar-container"> 278 <div id="butter-bar"> 279 <div class="content"> 280 <div class="butter-message"></div> 281 <div class="progress-bar" hidden> 282 <div class="progress-track"></div> 283 </div> 284 </div> 285 <div class="actions" hidden></div> 286 </div> 287 </div> 288 </div> 289 </div> 290 <div class="splitter" id="sidebar-splitter"></div> 291 <div class="dialog-main"> 292 <div class="dialog-header"> 293 <div class="search-box-wrapper"> 294 <input id="search-box" type="search" tabindex="9" 295 i18n-values="aria-label:SEARCH_TEXT_LABEL"> 296 <!-- This is placed at the head of search-box --> 297 <div id="search-icon"></div> 298 </div> 299 <div id="search-clear-button"></div> 300 <div class="buttonbar"> 301 <button class="menubutton" id="gear-button" tabindex="10" 302 menu="#gear-menu" 303 i18n-values="aria-label:GEAR_BUTTON_TOOLTIP" 304 aria-activedescendant="gear-menu"> 305 </button> 306 <button id="maximize-button" visibleif="full-page" tabindex="-1"> 307 </button> 308 <button id="close-button" visibleif="full-page" tabindex="-1"> 309 </button> 310 </div> 311 </div> 312 <div class=dialog-body> 313 <div class="main-panel"> 314 <!-- The middle bar and spilitter are hidden by default, and will be shown by script if necessary. --> 315 <div class="dialog-middlebar-contents" hidden> 316 <div id="middlebar-header" 317 i18n-content="DRIVE_DIRECTORY_LABEL"></div> 318 <tree id="directory-tree" tabindex="8"></tree> 319 </div> 320 <div class="splitter" id="middlebar-splitter" hidden></div> 321 <div class=filelist-panel> 322 <div class="drive-welcome header"></div> 323 <div class="volume-warning" id="volume-space-warning" hidden></div> 324 <div class="volume-warning" id="drive-auth-failed-warning" hidden> 325 <div class="drive-icon"></div> 326 <div class="drive-text" id="drive-auth-failed-warning-text"></div> 327 </div> 328 <div id="list-container"> 329 <div class=detail-table id="detail-table" tabindex=1 autofocus> 330 </div> 331 <grid class=thumbnail-grid tabindex=1></grid> 332 <div id="spinner-container"> 333 <div id="spinner-with-text"></div> 334 </div> 335 <div class="drive-welcome page"></div> 336 <div id="no-search-results"></div> 337 </div> 338 <div class=downloads-warning hidden></div> 339 </div> 340 </div> 341 <div class="preview-panel progressable" visibility="hidden"> 342 <div class="left"> 343 <div> 344 <div class="preview-thumbnails"></div> 345 </div> 346 <div id="preview-lines"> 347 <div class="preview-summary"> 348 <span class="preview-text"></span> 349 <span class="calculating-size" hidden></span> 350 </div> 351 <div id="search-breadcrumbs" class="breadcrumbs"></div> 352 </div> 353 </div> 354 <div class="right buttonbar" visibleif="full-page"> 355 <button id="share-button" command="#share" tabindex="2" 356 i18n-values="aria-label:SHARE_BUTTON_LABEL"></button> 357 <button id="tasks" class="combobutton" menu="#tasks-menu" 358 tabindex="3"></button> 359 <button id="delete-button" command="#delete" tabindex="4" 360 i18n-values="aria-label:DELETE_BUTTON_LABEL"></button> 361 </div> 362 <div class=preparing-label i18n-content=PREPARING_LABEL></div> 363 <div class=progress-bar> 364 <div class=progress-track></div> 365 </div> 366 <div class="right buttonbar" id="open-panel" 367 visibleif="open-file open-multi-file"> 368 <select class="file-type"></select> 369 <button class=ok disabled tabindex="7"></button> 370 <button class=cancel i18n-content=CANCEL_LABEL tabindex="8"></button> 371 </div> 372 </div> 373 <div id="unmounted-panel"></div> 374 <div id="format-panel"> 375 <div class="error"></div> 376 <button id="format-button" command="#format"></button> 377 </div> 378 </div> 379 </div> 380 </div> 381 <div class="dialog-footer progressable" tabindex="-1" 382 visibleif="saveas-file folder"> 383 <div class="left"> 384 <button id="new-folder" i18n-content=NEW_FOLDER_BUTTON_LABEL 385 visibleif="saveas-file folder" command="#newfolder" 386 tabindex="5"> 387 </button> 388 <div id="filename-input-box"> 389 <div class=filename-label i18n-content=FILENAME_LABEL></div> 390 <input type=text spellcheck=false tabindex="6"> 391 </div> 392 <div class=preparing-label i18n-content=PREPARING_LABEL></div> 393 <div class=progress-bar> 394 <div class=progress-track></div> 395 </div> 396 </div> 397 <div class="right buttonbar"> 398 <select class="file-type"></select> 399 <button class=ok disabled tabindex="7"></button> 400 <button class=cancel i18n-content=CANCEL_LABEL tabindex="8"></button> 401 </div> 402 </div> 403 <div id="drag-container"></div> 404 <iframe id="command-dispatcher" hidden></iframe> 405 <div class="overlay-pane" id="iframe-drag-area" hidden></div> 406 </body> 407 </html> 408