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

Issue 23483029: [Files.app] Not to capture mouse events when the suggest app dialog is visible. (Closed)

Created:
7 years, 3 months ago by yoshiki
Modified:
7 years, 3 months ago
Reviewers:
hirono
CC:
chromium-reviews, rginda+watch_chromium.org, arv+watch_chromium.org
Visibility:
Public.

Description

[Files.app] Not to capture mouse events when the suggest app dialog is visible. r220909 has fixed the share dialog. This patch fixes not oly the share dialog, but also the suggest app dialog and default task pick dialog. And this patch also introduces FileManagerDialogBase, which manages the dialog in file manager not to have the multiple dialogs visible simultaneously. BUG=279214 TEST=manually tested R=hirono@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222174

Patch Set 1 #

Total comments: 1

Patch Set 2 : Introduce FileManagerDialogBase, which manages the dialog in file manager #

Total comments: 2

Patch Set 3 : Rename enableDragOnTitleArea -> onDialogShownOrHidden #

Total comments: 2

Patch Set 4 : addressed comment #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -29 lines) Patch
M chrome/browser/resources/file_manager/js/default_action_dialog.js View 1 3 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 3 4 5 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/resources/file_manager/js/main_scripts.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/file_manager/js/share_dialog.js View 1 6 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/resources/file_manager/js/suggest_apps_dialog.js View 1 2 3 4 4 chunks +12 lines, -6 lines 0 comments Download
A chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js View 1 2 3 1 chunk +112 lines, -0 lines 0 comments Download
M chrome/browser/resources/file_manager/main.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
yoshiki
@hirono, PTAL. Thanks.
7 years, 3 months ago (2013-09-03 08:09:16 UTC) #1
hirono
https://codereview.chromium.org/23483029/diff/1/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/23483029/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode2360 chrome/browser/resources/file_manager/js/file_manager.js:2360: this.enableDragOnTitleArea_(false); Can we make sure that the both dialogs ...
7 years, 3 months ago (2013-09-03 08:23:07 UTC) #2
yoshiki
On 2013/09/03 08:23:07, hirono wrote: > https://codereview.chromium.org/23483029/diff/1/chrome/browser/resources/file_manager/js/file_manager.js > File chrome/browser/resources/file_manager/js/file_manager.js (right): > > https://codereview.chromium.org/23483029/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode2360 > ...
7 years, 3 months ago (2013-09-03 09:21:32 UTC) #3
yoshiki
@hirono, PTAL. I introduced FileManagerDialogBase not to show multiple dialogs at the same time.
7 years, 3 months ago (2013-09-06 06:25:55 UTC) #4
hirono
https://codereview.chromium.org/23483029/diff/12001/chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js File chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js (right): https://codereview.chromium.org/23483029/diff/12001/chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js#newcode73 chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js:73: FileManagerDialogBase.fileManager_.enableDragOnTitleArea_(false); FileManagerDialogBase looks like one of the UI component. ...
7 years, 3 months ago (2013-09-06 07:09:03 UTC) #5
yoshiki
https://codereview.chromium.org/23483029/diff/12001/chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js File chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js (right): https://codereview.chromium.org/23483029/diff/12001/chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js#newcode73 chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js:73: FileManagerDialogBase.fileManager_.enableDragOnTitleArea_(false); On 2013/09/06 07:09:03, hirono wrote: > FileManagerDialogBase looks ...
7 years, 3 months ago (2013-09-06 07:48:02 UTC) #6
hirono
lgtm! Thanks https://chromiumcodereview.appspot.com/23483029/diff/28001/chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js File chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js (right): https://chromiumcodereview.appspot.com/23483029/diff/28001/chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js#newcode23 chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js:23: * The FileManager object. nit: Could you ...
7 years, 3 months ago (2013-09-06 08:30:13 UTC) #7
yoshiki
Thanks! https://chromiumcodereview.appspot.com/23483029/diff/28001/chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js File chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js (right): https://chromiumcodereview.appspot.com/23483029/diff/28001/chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js#newcode23 chrome/browser/resources/file_manager/js/ui/file_manager_dialog_base.js:23: * The FileManager object. On 2013/09/06 08:30:14, hirono ...
7 years, 3 months ago (2013-09-09 01:50:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/23483029/30001
7 years, 3 months ago (2013-09-09 01:50:51 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
7 years, 3 months ago (2013-09-09 02:10:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/23483029/57001
7 years, 3 months ago (2013-09-09 04:20:06 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos_clang for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos_clang&number=46194
7 years, 3 months ago (2013-09-09 04:39:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/23483029/79001
7 years, 3 months ago (2013-09-09 05:39:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/23483029/95001
7 years, 3 months ago (2013-09-09 14:48:18 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/file_manager/main.html: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-09 14:48:23 UTC) #15
yoshiki
7 years, 3 months ago (2013-09-10 01:49:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 manually as r222174 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698