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

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

Issue 14320020: Initial restyle of the gallery. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 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/js/file_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index 0ac20220bf03840d57beb73225ff9bace9293ad5..8f8bb0e4052385cce617c2d613bd43e854363576 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -1900,6 +1900,8 @@ DialogType.isModal = function(type) {
this.dialogDom_.appendChild(this.filePopup_);
this.filePopup_.focus();
this.document_.body.setAttribute('overlay-visible', '');
+ if (util.platform.newUI())
+ this.document_.querySelector('#iframe-drag-area').hidden = false;
};
/**
@@ -1908,6 +1910,8 @@ DialogType.isModal = function(type) {
FileManager.prototype.closeFilePopup_ = function() {
if (this.filePopup_) {
this.document_.body.removeAttribute('overlay-visible');
+ if (util.platform.newUI())
+ this.document_.querySelector('#iframe-drag-area').hidden = true;
// The window resize would not be processed properly while the relevant
// divs had 'display:none', force resize after the layout fired.
setTimeout(this.onResize_.bind(this), 0);
« no previous file with comments | « chrome/browser/resources/file_manager/css/gallery.css ('k') | chrome/browser/resources/file_manager/js/photo/gallery.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698