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

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

Issue 6881031: FileManager: Add thumbnail view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 months 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
diff --git a/chrome/browser/resources/file_manager/main.html b/chrome/browser/resources/file_manager/main.html
index b2b8d9e2d3135cab5515a6525471abd8eb41e201..5bd5fa14f79ca5d26ea0719a739fce029316f783 100644
--- a/chrome/browser/resources/file_manager/main.html
+++ b/chrome/browser/resources/file_manager/main.html
@@ -38,6 +38,8 @@
'cr/ui/table/table_header.js',
'cr/ui/table/table_list.js',
'cr/ui/table.js',
+
+ 'cr/ui/grid.js',
];
(function() {
@@ -76,12 +78,20 @@
<div class=dialog-header>
<div class=breadcrumbs></div>
<!-- TODO(rginda): Detail/Thumbnail buttons. -->
+ <button class=detail-view
+ onclick='fileManager.setListType(FileManager.ListType.DETAIL)'
zel 2011/04/19 01:21:09 can you wire this callbacks as event listeners ins
+ >&#x1D306;</button><button class=thumbnail-view
+ onclick='fileManager.setListType(FileManager.ListType.THUMBNAIL)'
+ >&#x283F;</button>
<button i18n-content=NEW_FOLDER_BUTTON_LABEL class='new-folder'
visibleif='this.dialogType_ == "saveas-file"'
></button>
</div>
<div class=dialog-body>
- <div class=detail-table></div>
+ <div class=list-container>
+ <grid class=thumbnail-grid></grid>
+ <div class=detail-table></div>
+ </div>
<div class=preview-container>
<div class=table-header style='width:100%'>
<div class=table-header-cell>
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | chrome/browser/resources/shared/js/cr/ui/list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698