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

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

Issue 23483029: [Files.app] Not to capture mouse events when the suggest app dialog is visible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b56108134a409aa917174b03281a3140378f91fd..556ba0d11d0209c33183481067f967562ea07ced 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -2354,9 +2354,14 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
var filename = util.extractFilePath(urls[0]);
var extension = PathUtil.extractExtension(filename);
var mime = props[0].contentMimeType;
+
+ // Add the overlapped class to prevent the applicaiton window from
+ // captureing mouse events.
+ this.enableDragOnTitleArea_(false);
hirono 2013/09/03 08:23:07 Can we make sure that the both dialogs are not ope
this.suggestAppsDialog.show(
extension, mime,
function(result) {
+ this.enableDragOnTitleArea_(true);
switch (result) {
case SuggestAppsDialog.Result.INSTALL_SUCCESSFUL:
onSuccess();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698