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

Side by Side Diff: chrome/browser/resources/file_manager/js/file_manager.js

Issue 10837220: Fix the right margin for search breadcrumbs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/file_manager/css/file_manager.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * FileManager constructor. 6 * FileManager constructor.
7 * 7 *
8 * FileManager objects encapsulate the functionality of the file selector 8 * FileManager objects encapsulate the functionality of the file selector
9 * dialogs, as well as the full screen file manager application (though the 9 * dialogs, as well as the full screen file manager application (though the
10 * latter is not yet implemented). 10 * latter is not yet implemented).
(...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after
2195 selection.fileCount += 1; 2195 selection.fileCount += 1;
2196 selection.showBytes |= !FileType.isHosted(entry); 2196 selection.showBytes |= !FileType.isHosted(entry);
2197 } else { 2197 } else {
2198 selection.directoryCount += 1; 2198 selection.directoryCount += 1;
2199 } 2199 }
2200 selection.totalCount++; 2200 selection.totalCount++;
2201 } 2201 }
2202 2202
2203 // Now this.selection is complete. Update buttons. 2203 // Now this.selection is complete. Update buttons.
2204 this.updateCommonActionButtons_(); 2204 this.updateCommonActionButtons_();
2205 this.updatePreviewPanelVisibility_();
2205 this.updateSearchBreadcrumbs_(); 2206 this.updateSearchBreadcrumbs_();
2206 this.updatePreviewPanelVisibility_();
2207 forcedShowTimeout = setTimeout(showThumbnails, 2207 forcedShowTimeout = setTimeout(showThumbnails,
2208 FileManager.THUMBNAIL_SHOW_DELAY); 2208 FileManager.THUMBNAIL_SHOW_DELAY);
2209 onThumbnailLoaded(); 2209 onThumbnailLoaded();
2210 2210
2211 this.setDefaultActionMenuItem(null); 2211 this.setDefaultActionMenuItem(null);
2212 2212
2213 if (this.dialogType_ == FileManager.DialogType.FULL_PAGE && 2213 if (this.dialogType_ == FileManager.DialogType.FULL_PAGE &&
2214 selection.directoryCount == 0 && selection.fileCount > 0) { 2214 selection.directoryCount == 0 && selection.fileCount > 0) {
2215 selection.tasks = new FileTasks(this, selection.urls). 2215 selection.tasks = new FileTasks(this, selection.urls).
2216 display(this.taskItems_). 2216 display(this.taskItems_).
(...skipping 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after
4180 } 4180 }
4181 4181
4182 var defaultActionSeparator = 4182 var defaultActionSeparator =
4183 this.dialogDom_.querySelector('#default-action-separator'); 4183 this.dialogDom_.querySelector('#default-action-separator');
4184 4184
4185 this.defaultActionMenuItem_.hidden = !taskItem; 4185 this.defaultActionMenuItem_.hidden = !taskItem;
4186 defaultActionSeparator.hidden = !taskItem; 4186 defaultActionSeparator.hidden = !taskItem;
4187 } 4187 }
4188 })(); 4188 })();
4189 4189
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/css/file_manager.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698