Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <!-- | 2 <!-- |
| 3 -- Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 -- Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 4 -- Use of this source code is governed by a BSD-style license that can be | 4 -- Use of this source code is governed by a BSD-style license that can be |
| 5 -- found in the LICENSE file. | 5 -- found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 <html> | 7 <html> |
| 8 <head> | 8 <head> |
| 9 <script> | 9 <script> |
| 10 var css = | 10 var css = |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 'cr/ui/table/table_splitter.js', | 31 'cr/ui/table/table_splitter.js', |
| 32 'cr/ui/table/table_selection_model.js', | 32 'cr/ui/table/table_selection_model.js', |
| 33 'cr/ui/table/table_single_selection_model.js', | 33 'cr/ui/table/table_single_selection_model.js', |
| 34 'cr/ui/table/table_data_model.js', | 34 'cr/ui/table/table_data_model.js', |
| 35 | 35 |
| 36 'cr/ui/table/table_column.js', | 36 'cr/ui/table/table_column.js', |
| 37 'cr/ui/table/table_column_model.js', | 37 'cr/ui/table/table_column_model.js', |
| 38 'cr/ui/table/table_header.js', | 38 'cr/ui/table/table_header.js', |
| 39 'cr/ui/table/table_list.js', | 39 'cr/ui/table/table_list.js', |
| 40 'cr/ui/table.js', | 40 'cr/ui/table.js', |
| 41 | |
| 42 'cr/ui/grid.js', | |
| 41 ]; | 43 ]; |
| 42 | 44 |
| 43 (function() { | 45 (function() { |
| 44 // Switch to 'test harness' mode when loading from a file url. | 46 // Switch to 'test harness' mode when loading from a file url. |
| 45 var isHarness = document.location.protocol == 'file:'; | 47 var isHarness = document.location.protocol == 'file:'; |
| 46 | 48 |
| 47 // In test harness mode we load resources from relative dirs. | 49 // In test harness mode we load resources from relative dirs. |
| 48 var prefix = isHarness ? '../shared/' : 'chrome://resources/'; | 50 var prefix = isHarness ? '../shared/' : 'chrome://resources/'; |
| 49 | 51 |
| 50 for (var i = 0; i < css.length; ++i) { | 52 for (var i = 0; i < css.length; ++i) { |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 69 <script src="js/file_manager.js"></script> | 71 <script src="js/file_manager.js"></script> |
| 70 <script src="js/main.js"></script> | 72 <script src="js/main.js"></script> |
| 71 </head> | 73 </head> |
| 72 <body i18n-values=".style.fontFamily:BODY_FONT_FAMILY; | 74 <body i18n-values=".style.fontFamily:BODY_FONT_FAMILY; |
| 73 .style.fontSize:BODY_FONT_SIZE"> | 75 .style.fontSize:BODY_FONT_SIZE"> |
| 74 <div class=dialog-title visibleif='this.dialogType_ != "full-page"' | 76 <div class=dialog-title visibleif='this.dialogType_ != "full-page"' |
| 75 >[TITLE]</div> | 77 >[TITLE]</div> |
| 76 <div class=dialog-header> | 78 <div class=dialog-header> |
| 77 <div class=breadcrumbs></div> | 79 <div class=breadcrumbs></div> |
| 78 <!-- TODO(rginda): Detail/Thumbnail buttons. --> | 80 <!-- TODO(rginda): Detail/Thumbnail buttons. --> |
| 81 <button class=detail-view | |
| 82 onclick='fileManager.setListType(FileManager.ListType.DETAIL)' | |
|
zel
2011/04/19 01:21:09
can you wire this callbacks as event listeners ins
| |
| 83 >𝌆</button><button class=thumbnail-view | |
| 84 onclick='fileManager.setListType(FileManager.ListType.THUMBNAIL)' | |
| 85 >⠿</button> | |
| 79 <button i18n-content=NEW_FOLDER_BUTTON_LABEL class='new-folder' | 86 <button i18n-content=NEW_FOLDER_BUTTON_LABEL class='new-folder' |
| 80 visibleif='this.dialogType_ == "saveas-file"' | 87 visibleif='this.dialogType_ == "saveas-file"' |
| 81 ></button> | 88 ></button> |
| 82 </div> | 89 </div> |
| 83 <div class=dialog-body> | 90 <div class=dialog-body> |
| 84 <div class=detail-table></div> | 91 <div class=list-container> |
| 92 <grid class=thumbnail-grid></grid> | |
| 93 <div class=detail-table></div> | |
| 94 </div> | |
| 85 <div class=preview-container> | 95 <div class=preview-container> |
| 86 <div class=table-header style='width:100%'> | 96 <div class=table-header style='width:100%'> |
| 87 <div class=table-header-cell> | 97 <div class=table-header-cell> |
| 88 <div class='preview-label table-header-label' | 98 <div class='preview-label table-header-label' |
| 89 i18n-content=PREVIEW_COLUMN_LABEL>[PREVIEW]</div> | 99 i18n-content=PREVIEW_COLUMN_LABEL>[PREVIEW]</div> |
| 90 </div> | 100 </div> |
| 91 </div> | 101 </div> |
| 92 <div class=preview-filename></div> | 102 <div class=preview-filename></div> |
| 93 <center><img class=preview-img></center> | 103 <center><img class=preview-img></center> |
| 94 <div class=vertical-spacer></div> | 104 <div class=vertical-spacer></div> |
| 95 <div class=task-buttons></div> | 105 <div class=task-buttons></div> |
| 96 <div class=preview-summary></div> | 106 <div class=preview-summary></div> |
| 97 </div> | 107 </div> |
| 98 </div> | 108 </div> |
| 99 <div class=dialog-footer visibleif='this.dialogType_ != "full-page"'> | 109 <div class=dialog-footer visibleif='this.dialogType_ != "full-page"'> |
| 100 <div class=filename-label i18n-content=FILENAME_LABEL | 110 <div class=filename-label i18n-content=FILENAME_LABEL |
| 101 visibleif='this.dialogType_ == "saveas-file"' | 111 visibleif='this.dialogType_ == "saveas-file"' |
| 102 >[FILENAME]</div> | 112 >[FILENAME]</div> |
| 103 <input type=text class=filename-input spellcheck=false | 113 <input type=text class=filename-input spellcheck=false |
| 104 visibleif='this.dialogType_ == "saveas-file"'> | 114 visibleif='this.dialogType_ == "saveas-file"'> |
| 105 <div class=horizontal-spacer></div> | 115 <div class=horizontal-spacer></div> |
| 106 <button class=ok disabled>[OK]</button> | 116 <button class=ok disabled>[OK]</button> |
| 107 <button class=cancel i18n-content=CANCEL_LABEL>[CANCEL]</button> | 117 <button class=cancel i18n-content=CANCEL_LABEL>[CANCEL]</button> |
| 108 </div> | 118 </div> |
| 109 | 119 |
| 110 <script>init();</script> | 120 <script>init();</script> |
| 111 </body> | 121 </body> |
| 112 </html> | 122 </html> |
| OLD | NEW |