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

Issue 2169533002: mash: Migrate shelf app list button to wm common types (Closed)

Created:
4 years, 5 months ago by James Cook
Modified:
4 years, 5 months ago
Reviewers:
msw, dmazzoni
CC:
chromium-reviews, extensions-reviews_chromium.org, sadrul, dtseng+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Migrate shelf app list button to wm common types This is needed to port the shelf to mash. * Move app list show/hide/visible functions to WmShell * Remove window parameter from ShowAppList/ToggleAppList because non-test code always shows and hides on the default display * Migrate ShelfModel ownership to WmShell BUG=629250 TEST=ash_unittests, chrome unit_tests TBR=dmazzoni@chromium.org Committed: https://crrev.com/abe9e24cab6f3245c8583d773644d3b62d84d71a Cr-Commit-Position: refs/heads/master@{#406646}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : move files, cleanup #

Total comments: 7

Patch Set 4 : unused var #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -677 lines) Patch
M ash/accelerators/accelerator_controller_delegate_aura.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M ash/accelerators/accelerator_delegate.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/accelerators/accelerator_filter_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/accelerators/accelerator_interactive_uitest_chromeos.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/app_list/app_list_presenter_delegate.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M ash/app_list/app_list_presenter_delegate_unittest.cc View 1 2 3 5 chunks +26 lines, -27 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M ash/common/shelf/DEPS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A + ash/common/shelf/app_list_button.h View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
A + ash/common/shelf/app_list_button.cc View 1 2 9 chunks +19 lines, -17 lines 0 comments Download
A + ash/common/shelf/app_list_shelf_item_delegate.h View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
A + ash/common/shelf/app_list_shelf_item_delegate.cc View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M ash/common/wm_shell.h View 1 2 3 4 4 chunks +20 lines, -0 lines 0 comments Download
M ash/common/wm_shell.cc View 4 chunks +30 lines, -0 lines 0 comments Download
M ash/first_run/first_run_helper_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ash/metrics/user_metrics_recorder_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shelf/app_list_button.h View 1 2 1 chunk +0 lines, -70 lines 0 comments Download
M ash/shelf/app_list_button.cc View 1 2 1 chunk +0 lines, -294 lines 0 comments Download
M ash/shelf/app_list_shelf_item_delegate.h View 1 2 1 chunk +0 lines, -37 lines 0 comments Download
M ash/shelf/app_list_shelf_item_delegate.cc View 1 2 1 chunk +0 lines, -68 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 7 chunks +13 lines, -14 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view.cc View 1 2 4 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 1 2 5 chunks +6 lines, -5 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/shell.h View 1 2 3 4 6 chunks +0 lines, -27 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 9 chunks +11 lines, -45 lines 0 comments Download
M ash/shell/app_list.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M ash/shell/window_watcher.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/test/shell_test_api.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/wm/window_cycle_controller_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (13 generated)
James Cook
msw, please take a look. https://codereview.chromium.org/2169533002/diff/40001/ash/shelf/app_list_button.h File ash/shelf/app_list_button.h (left): https://codereview.chromium.org/2169533002/diff/40001/ash/shelf/app_list_button.h#oldcode1 ash/shelf/app_list_button.h:1: // Copyright 2014 The ...
4 years, 5 months ago (2016-07-20 17:00:06 UTC) #3
msw
lgtm with optional nits https://codereview.chromium.org/2169533002/diff/40001/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2169533002/diff/40001/ash/common/wm_shell.h#newcode159 ash/common/wm_shell.h:159: void ToggleAppList(); optional nit: This ...
4 years, 5 months ago (2016-07-20 17:33:50 UTC) #7
James Cook
Thanks for the review! https://codereview.chromium.org/2169533002/diff/40001/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2169533002/diff/40001/ash/common/wm_shell.h#newcode159 ash/common/wm_shell.h:159: void ToggleAppList(); On 2016/07/20 17:33:49, ...
4 years, 5 months ago (2016-07-20 18:35:40 UTC) #8
James Cook
TBR dmazzoni for mechanical change touching chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc
4 years, 5 months ago (2016-07-20 18:50:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2169533002/70001
4 years, 5 months ago (2016-07-20 19:10:11 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/221645)
4 years, 5 months ago (2016-07-20 19:19:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2169533002/70001
4 years, 5 months ago (2016-07-20 19:24:19 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 5 months ago (2016-07-20 20:04:18 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 20:06:16 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/abe9e24cab6f3245c8583d773644d3b62d84d71a
Cr-Commit-Position: refs/heads/master@{#406646}

Powered by Google App Engine
This is Rietveld 408576698