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

Issue 276833002: Make the App Info Dialog appear modal (Closed)

Created:
6 years, 7 months ago by sashab
Modified:
6 years, 7 months ago
Reviewers:
Lei Zhang, tapted, calamity
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org, benwells
Visibility:
Public.

Description

Make the App Info Dialog appear modal Gave the App Info Dialog a 10px 'gap' around the edges (so the app list is visible through it), and a larger gap in the wide app list so it appears as a vertical column down the middle. Also made a white background overlay that appears/disappears with the dialog. BUG=369888, 374080, 374076 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272852

Patch Set 1 #

Patch Set 2 : Moved the overlay into the App List, and added GetAppListView to AppListService #

Patch Set 3 : Fixed virtual keyword #

Patch Set 4 : Changed the AppList overlay to be a Background #

Total comments: 11

Patch Set 5 : Removed no longer needed GetAppListView(), and made overlay appear for all App List dialogs #

Patch Set 6 : Nit fix #

Patch Set 7 : Added a GetAppListBounds method and moved the bounds logic into the controller #

Total comments: 1

Patch Set 8 : Fixed comment #

Total comments: 36

Patch Set 9 : All fixes except tests #

Patch Set 10 : Added new browser test #

Total comments: 12

Patch Set 11 : Updated test and bubble border logic #

Patch Set 12 : Changed opacity back #

Total comments: 12

Patch Set 13 : Nit fixes #

Patch Set 14 : Including ash::Shell #

Patch Set 15 : Mac fixes #

Patch Set 16 : Removed unnecessary mac fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -30 lines) Patch
M chrome/browser/ui/app_list/app_list_controller_delegate.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_controller_delegate.cc View 1 2 3 4 5 6 7 8 2 chunks +25 lines, -9 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_controller_delegate_views.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_controller_delegate_views.cc View 1 2 3 4 5 6 7 8 2 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_views_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +114 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/extension_app_item.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/extension_uninstaller.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/search/app_result.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/apps/app_info_dialog.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -1 line 0 comments Download
chrome/browser/ui/ash/app_list/app_list_controller_ash.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_controller_ash.cc View 1 2 3 4 5 6 7 8 3 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/app_info_dialog_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -2 lines 0 comments Download
M ui/app_list/views/app_list_view.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +14 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
sashab
6 years, 7 months ago (2014-05-09 05:14:14 UTC) #1
calamity
On Windows I'm seeing some weird behavior with the overlay extending past the app list ...
6 years, 7 months ago (2014-05-09 05:49:28 UTC) #2
sashab
Thanks for your help; please re-review new implementation using views::Background. Working as intended on Linux, ...
6 years, 7 months ago (2014-05-13 03:49:37 UTC) #3
calamity
Let me know if you have any questions. https://codereview.chromium.org/276833002/diff/50001/chrome/browser/ui/app_list/app_list_service.h File chrome/browser/ui/app_list/app_list_service.h (right): https://codereview.chromium.org/276833002/diff/50001/chrome/browser/ui/app_list/app_list_service.h#newcode108 chrome/browser/ui/app_list/app_list_service.h:108: virtual ...
6 years, 7 months ago (2014-05-16 05:54:31 UTC) #4
calamity
Also, now that it exists, we should consider using the modal overlay for the uninstall ...
6 years, 7 months ago (2014-05-16 06:20:24 UTC) #5
sashab
https://codereview.chromium.org/276833002/diff/50001/chrome/browser/ui/app_list/app_list_service.h File chrome/browser/ui/app_list/app_list_service.h (right): https://codereview.chromium.org/276833002/diff/50001/chrome/browser/ui/app_list/app_list_service.h#newcode108 chrome/browser/ui/app_list/app_list_service.h:108: virtual app_list::AppListView* GetAppListView() = 0; On 2014/05/16 05:54:32, calamity ...
6 years, 7 months ago (2014-05-19 07:24:52 UTC) #6
calamity
lgtm w/ nit. Please make sure the latest patchset works as expected on all platforms. ...
6 years, 7 months ago (2014-05-20 01:25:16 UTC) #7
sashab
Moved the logic back into the controller, and used overrides to customise the behaviour on ...
6 years, 7 months ago (2014-05-20 07:31:58 UTC) #8
calamity
Yeah this lgtm. https://codereview.chromium.org/276833002/diff/110001/ui/app_list/views/app_list_view.cc File ui/app_list/views/app_list_view.cc (right): https://codereview.chromium.org/276833002/diff/110001/ui/app_list/views/app_list_view.cc#newcode364 ui/app_list/views/app_list_view.cc:364: // The contents corner radius is ...
6 years, 7 months ago (2014-05-20 08:42:06 UTC) #9
sashab
tapted@chromium.org: Please review changes in all files except ui/views and ui/ash thestig@chromium.org: Please review changes ...
6 years, 7 months ago (2014-05-20 23:59:47 UTC) #10
Lei Zhang
On 2014/05/20 23:59:47, sasha_b wrote: > mailto:tapted@chromium.org: Please review changes in all files except ui/views ...
6 years, 7 months ago (2014-05-21 00:06:15 UTC) #11
sashab
On 2014/05/21 00:06:15, Lei Zhang wrote: > On 2014/05/20 23:59:47, sasha_b wrote: > > mailto:tapted@chromium.org: ...
6 years, 7 months ago (2014-05-21 00:09:21 UTC) #12
Lei Zhang
non-app_list bits lgtm
6 years, 7 months ago (2014-05-21 00:19:49 UTC) #13
tapted
Are there any tests for the app info dialog? Also some questions below (e.g. I'm ...
6 years, 7 months ago (2014-05-21 03:40:56 UTC) #14
sashab
Fixes, and added a test to AppListServiceViewsBrowserTest. https://codereview.chromium.org/276833002/diff/130001/chrome/browser/ui/app_list/app_list_controller_delegate.cc File chrome/browser/ui/app_list/app_list_controller_delegate.cc (right): https://codereview.chromium.org/276833002/diff/130001/chrome/browser/ui/app_list/app_list_controller_delegate.cc#newcode103 chrome/browser/ui/app_list/app_list_controller_delegate.cc:103: unsigned int ...
6 years, 7 months ago (2014-05-22 07:20:21 UTC) #15
tapted
https://codereview.chromium.org/276833002/diff/110002/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc File chrome/browser/ui/app_list/app_list_service_views_browsertest.cc (right): https://codereview.chromium.org/276833002/diff/110002/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc#newcode81 chrome/browser/ui/app_list/app_list_service_views_browsertest.cc:81: CommandLine::ForCurrentProcess()->AppendSwitch( kindaofanit: for browser tests, this should be done ...
6 years, 7 months ago (2014-05-23 02:09:21 UTC) #16
tapted
6 years, 7 months ago (2014-05-23 02:09:24 UTC) #17
sashab
https://codereview.chromium.org/276833002/diff/110002/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc File chrome/browser/ui/app_list/app_list_service_views_browsertest.cc (right): https://codereview.chromium.org/276833002/diff/110002/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc#newcode81 chrome/browser/ui/app_list/app_list_service_views_browsertest.cc:81: CommandLine::ForCurrentProcess()->AppendSwitch( On 2014/05/23 02:09:21, tapted wrote: > kindaofanit: for ...
6 years, 7 months ago (2014-05-23 06:10:21 UTC) #18
tapted
lgtm if getting the chromeos bot happy goes smoothly - just some nits left awesome ...
6 years, 7 months ago (2014-05-23 06:26:41 UTC) #19
sashab
Running through trybots https://codereview.chromium.org/276833002/diff/220001/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc File chrome/browser/ui/app_list/app_list_service_views_browsertest.cc (right): https://codereview.chromium.org/276833002/diff/220001/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc#newcode23 chrome/browser/ui/app_list/app_list_service_views_browsertest.cc:23: return ash::test::AppListControllerTestApi(ash::Shell::GetInstance()).view(); On 2014/05/23 06:26:42, tapted ...
6 years, 7 months ago (2014-05-23 06:44:22 UTC) #20
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 7 months ago (2014-05-25 22:27:26 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/276833002/260001
6 years, 7 months ago (2014-05-25 22:27:32 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 00:09:54 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 00:34:37 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/8996)
6 years, 7 months ago (2014-05-26 00:34:38 UTC) #25
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 7 months ago (2014-05-26 02:52:24 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/276833002/280001
6 years, 7 months ago (2014-05-26 02:52:48 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 04:23:18 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 05:20:46 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/156899)
6 years, 7 months ago (2014-05-26 05:20:47 UTC) #30
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 7 months ago (2014-05-26 05:36:55 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/276833002/300001
6 years, 7 months ago (2014-05-26 05:37:24 UTC) #32
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 07:27:48 UTC) #33
commit-bot: I haz the power
6 years, 7 months ago (2014-05-26 16:35:29 UTC) #34
Message was sent while issue was closed.
Change committed as 272852

Powered by Google App Engine
This is Rietveld 408576698