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

Issue 460933002: Split Shell::ToggleAppList() into ShowAppList and DismissAppList. (Closed)

Created:
6 years, 4 months ago by calamity
Modified:
6 years, 4 months ago
Reviewers:
James Cook, Matt Giuca
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, sadrul, tfarina, tdanderson+overview_chromium.org, kalyank, ben+ash_chromium.org
Project:
chromium
Visibility:
Public.

Description

Split Shell::ToggleAppList() into ShowAppList and DismissAppList. This CL is in preparation for passing a reason for showing the app list. This split is necessary to pass a reason only when showing and not when dismissing. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289889

Patch Set 1 : #

Total comments: 14

Patch Set 2 : rebase #

Patch Set 3 : address comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -38 lines) Patch
M ash/first_run/first_run_helper_impl.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 2 4 chunks +12 lines, -12 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.h View 1 2 1 chunk +7 lines, -1 line 2 comments Download
M ash/shell.cc View 1 2 1 chunk +17 lines, -2 lines 0 comments Download
M ash/shell/app_list.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ash/wm/app_list_controller_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/window_cycle_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_controller_ash.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_service_ash.cc View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
calamity
6 years, 4 months ago (2014-08-14 02:52:43 UTC) #1
Matt Giuca
https://codereview.chromium.org/460933002/diff/40001/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/460933002/diff/40001/ash/accelerators/accelerator_controller.cc#newcode488 ash/accelerators/accelerator_controller.cc:488: if (ash::Shell::GetInstance()->GetAppListTargetVisibility()) I think it would be good to ...
6 years, 4 months ago (2014-08-14 04:17:07 UTC) #2
calamity
https://codereview.chromium.org/460933002/diff/40001/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/460933002/diff/40001/ash/accelerators/accelerator_controller.cc#newcode488 ash/accelerators/accelerator_controller.cc:488: if (ash::Shell::GetInstance()->GetAppListTargetVisibility()) On 2014/08/14 04:17:06, Matt Giuca wrote: > ...
6 years, 4 months ago (2014-08-14 05:01:00 UTC) #3
Matt Giuca
lgtm https://codereview.chromium.org/460933002/diff/40001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/460933002/diff/40001/ash/shell.cc#newcode307 ash/shell.cc:307: app_list_controller_->SetVisible(false, GetTargetRootWindow()); On 2014/08/14 05:00:59, calamity wrote: > ...
6 years, 4 months ago (2014-08-14 05:05:36 UTC) #4
James Cook
LGTM but please consider my optional suggestion https://codereview.chromium.org/460933002/diff/100001/ash/shell.h File ash/shell.h (right): https://codereview.chromium.org/460933002/diff/100001/ash/shell.h#newcode237 ash/shell.h:237: void ShowAppList(aura::Window* ...
6 years, 4 months ago (2014-08-14 20:49:36 UTC) #5
Matt Giuca
slgtm https://codereview.chromium.org/460933002/diff/100001/ash/shell.h File ash/shell.h (right): https://codereview.chromium.org/460933002/diff/100001/ash/shell.h#newcode237 ash/shell.h:237: void ShowAppList(aura::Window* anchor); I have a slight preference ...
6 years, 4 months ago (2014-08-15 01:00:21 UTC) #6
calamity
I think this API is more consistent with the rest of the app list code ...
6 years, 4 months ago (2014-08-15 03:06:33 UTC) #7
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-15 03:06:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/460933002/100001
6 years, 4 months ago (2014-08-15 03:08:41 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (100001) as 289889
6 years, 4 months ago (2014-08-15 16:03:15 UTC) #10
James Cook
6 years, 4 months ago (2014-08-15 16:17:42 UTC) #11
Message was sent while issue was closed.
On 2014/08/15 16:03:15, I haz the power (commit-bot) wrote:
> Committed patchset #3 (100001) as 289889

No worries, I do mean optional when I say optional. :-)  LGTM

Powered by Google App Engine
This is Rietveld 408576698