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

Unified Diff: chrome/browser/resources/file_manager/js/background.js

Issue 13707002: Introduce a file-manager-new-ui flag for the new UI of Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 7 years, 9 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
« no previous file with comments | « chrome/browser/extensions/component_loader.cc ('k') | chrome/browser/resources/file_manager/js/util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/background.js
diff --git a/chrome/browser/resources/file_manager/js/background.js b/chrome/browser/resources/file_manager/js/background.js
index d0fde9d4560ecdb572768b9de48aebc366d6ddb6..568eab349c43c324cfffbc97b413e4b41a740625 100644
--- a/chrome/browser/resources/file_manager/js/background.js
+++ b/chrome/browser/resources/file_manager/js/background.js
@@ -243,7 +243,8 @@ function createFileManagerOptions() {
defaultWidth: Math.round(window.screen.availWidth * 0.8),
defaultHeight: Math.round(window.screen.availHeight * 0.8),
minWidth: 320,
- minHeight: 240
+ minHeight: 240,
+ frame: util.platform.newUI() ? 'none' : 'chrome'
};
}
« no previous file with comments | « chrome/browser/extensions/component_loader.cc ('k') | chrome/browser/resources/file_manager/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698