Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1127)

Unified Diff: chrome/browser/resources/file_manager/main.html

Issue 8554003: [filebrowser] Add left panel with roots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/file_manager/main.html
===================================================================
--- chrome/browser/resources/file_manager/main.html (revision 115112)
+++ chrome/browser/resources/file_manager/main.html (working copy)
@@ -109,61 +109,71 @@
<body i18n-values=".style.fontFamily:WEB_FONT_FAMILY;
.style.fontSize:WEB_FONT_SIZE">
<commands>
- <command id="cut"></command>
- <command id="copy"></command>
- <command id="paste"></command>
- <command id="rename"></command>
- <command id="delete"></command>
+ <command id="cut" i18n-values="label:CUT_BUTTON_LABEL"></command>
+ <command id="copy" i18n-values="label:COPY_BUTTON_LABEL"></command>
+ <command id="paste" i18n-values="label:PASTE_BUTTON_LABEL"></command>
+ <command id="rename" i18n-values="label:RENAME_BUTTON_LABEL"></command>
+ <command id="delete" i18n-values="label:DELETE_BUTTON_LABEL"></command>
+ <command id="newfolder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL"></command>
</commands>
<menu class=file-context-menu>
- <menuitem i18n-content=CUT_BUTTON_LABEL command='#cut'></menuitem>
- <menuitem i18n-content=COPY_BUTTON_LABEL command='#copy'></menuitem>
- <menuitem i18n-content=PASTE_BUTTON_LABEL command='#paste'></menuitem>
+ <menuitem command='#cut'></menuitem>
+ <menuitem command='#copy'></menuitem>
+ <menuitem command='#paste'></menuitem>
<hr>
- <menuitem i18n-content=RENAME_BUTTON_LABEL command='#rename'></menuitem>
- <menuitem i18n-content=DELETE_BUTTON_LABEL command='#delete'></menuitem>
+ <menuitem command='#rename'></menuitem>
+ <menuitem command='#delete'></menuitem>
+ <hr visibleif='this.dialogType_ == "saveas-file" ||
+ this.dialogType_ == "full-page"'>
+ <menuitem command='#newfolder'
+ visibleif='this.dialogType_ == "saveas-file" ||
+ this.dialogType_ == "full-page"'></menuitem>
</menu>
<div class=dialog-title visibleif='this.dialogType_ != "full-page"'
>[TITLE]</div>
- <div class=dialog-header>
- <div class=breadcrumbs></div>
- <button class=detail-view tabindex=4
- ><img src='images/icon-detail-view.png'></button
- ><button class=thumbnail-view tabindex=5
- ><img src='images/icon-thumb-view.png'></button>
- <button i18n-content=NEW_FOLDER_BUTTON_LABEL class='new-folder'
- tabindex=6
- visibleif='this.dialogType_ == "saveas-file" ||
- this.dialogType_ == "full-page"'
+ <div class=dialog-container>
+ <div class=dialog-sidebar>
+ <div class=close-sidebar><img src='images/close_sidebar.png'></div>
+ <list class=roots-list></list>
+ </div>
+ <div class=dialog-main>
+ <div class=dialog-header>
+ <div class=open-sidebar><img src='images/open_sidebar.png'></div>
+ <div class=breadcrumbs></div>
+ <button class=detail-view tabindex=4
+ ><img src='images/icon-detail-view.png'></button
+ ><button class=thumbnail-view tabindex=5
+ ><img src='images/icon-thumb-view.png'></button>
+ </div>
+ <div class=dialog-body>
+ <div class=filelist-panel>
+ <div class=list-container>
+ <div class=detail-table tabindex=0></div>
+ <grid class=thumbnail-grid tabindex=0></grid>
+ </div>
+ <div class=downloads-warning hidden>
+ <img src=images/warning_icon_square_26x26.png>
+ <div></div>
+ </div>
+ </div>
+ <div class=preview-panel visibility=hidden>
+ <div><div class=preview-thumbnails></div></div>
+ <div><div class=preview-summary></div></div>
+ <div class=task-buttons></div>
+ <div>
+ <button class='delete-button task-button' command='#delete'
+ onclick='fileManager.deleteEntries(
+ fileManager.selection.entries, false)'
+ visibleif='this.dialogType_ == "full-page"'
+ ><img src='images/button-icon-delete.png'
+ ><div i18n-content=DELETE_BUTTON_LABEL></div
></button>
- </div>
- <div class=dialog-body>
- <div class=filelist-panel>
- <div class=list-container>
- <div class=detail-table tabindex=0></div>
- <grid class=thumbnail-grid tabindex=0></grid>
+ </div>
+ </div>
</div>
- <div class=downloads-warning hidden>
- <img src=images/warning_icon_square_26x26.png>
- <div></div>
- </div>
</div>
- <div class=preview-panel visibility=hidden>
- <div><div class=preview-thumbnails></div></div>
- <div><div class=preview-summary></div></div>
- <div class=task-buttons></div>
- <div>
- <button class='delete-button task-button' command='#delete'
- onclick='fileManager.deleteEntries(
- fileManager.selection.entries, false)'
- visibleif='this.dialogType_ == "full-page"'
- ><img src='images/button-icon-delete.png'
- ><div i18n-content=DELETE_BUTTON_LABEL></div
- ></button>
- </div>
- </div>
</div>
<div class=dialog-footer visibleif='this.dialogType_ != "full-page"'>
<div class=filename-label i18n-content=FILENAME_LABEL
« no previous file with comments | « chrome/browser/resources/file_manager/js/mock_chrome.js ('k') | chrome/browser/resources/file_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698