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

Issue 2274333002: ash: Move more code from Shelf to WmShelf (Closed)

Created:
4 years, 3 months ago by James Cook
Modified:
4 years, 3 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Move more code from Shelf to WmShelf This is another step toward eliminating ash::Shelf. * Move code that needs ShelfView into ShelfWidget to avoid exposing ShelfView * Remove dead code (especially shelf_navigator.*) * Make icon activation functions static BUG=615502 TEST=ash_unittests, browser_tests Committed: https://crrev.com/8fd4ac5bbce4fbdc921a10ed70a7f6360de99c9e Cr-Commit-Position: refs/heads/master@{#414290}

Patch Set 1 #

Patch Set 2 : tweak #

Total comments: 10

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -411 lines) Patch
M ash/accelerators/accelerator_controller_delegate_aura.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ash/ash.gyp View 2 chunks +0 lines, -3 lines 0 comments Download
M ash/common/shelf/shelf.h View 3 chunks +0 lines, -28 lines 0 comments Download
M ash/common/shelf/shelf.cc View 2 chunks +0 lines, -78 lines 0 comments Download
D ash/common/shelf/shelf_navigator.h View 1 chunk +0 lines, -23 lines 0 comments Download
D ash/common/shelf/shelf_navigator.cc View 1 chunk +0 lines, -70 lines 0 comments Download
D ash/common/shelf/shelf_navigator_unittest.cc View 1 chunk +0 lines, -129 lines 0 comments Download
M ash/common/shelf/shelf_widget.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_widget.cc View 2 chunks +20 lines, -0 lines 0 comments Download
M ash/common/shelf/wm_shelf.h View 1 2 2 chunks +14 lines, -1 line 0 comments Download
M ash/common/shelf/wm_shelf.cc View 1 2 2 chunks +55 lines, -3 lines 0 comments Download
M ash/common/wm/panels/panel_window_resizer.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_widget_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/window_animations.cc View 5 chunks +7 lines, -18 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 1 2 29 chunks +42 lines, -55 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
James Cook
msw, please take a look. https://codereview.chromium.org/2274333002/diff/20001/ash/common/shelf/shelf.h File ash/common/shelf/shelf.h (left): https://codereview.chromium.org/2274333002/diff/20001/ash/common/shelf/shelf.h#oldcode55 ash/common/shelf/shelf.h:55: gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window); moved ...
4 years, 3 months ago (2016-08-24 23:44:25 UTC) #4
msw
lgtm with nits https://codereview.chromium.org/2274333002/diff/20001/ash/common/shelf/wm_shelf.h File ash/common/shelf/wm_shelf.h (right): https://codereview.chromium.org/2274333002/diff/20001/ash/common/shelf/wm_shelf.h#newcode116 ash/common/shelf/wm_shelf.h:116: static void LaunchAppAtIndex(int item_index); nit: converge ...
4 years, 3 months ago (2016-08-25 00:22:25 UTC) #5
James Cook
Thanks for the quick review. https://codereview.chromium.org/2274333002/diff/20001/ash/common/shelf/wm_shelf.h File ash/common/shelf/wm_shelf.h (right): https://codereview.chromium.org/2274333002/diff/20001/ash/common/shelf/wm_shelf.h#newcode116 ash/common/shelf/wm_shelf.h:116: static void LaunchAppAtIndex(int item_index); ...
4 years, 3 months ago (2016-08-25 02:29:13 UTC) #8
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/2274333002/40001
4 years, 3 months ago (2016-08-25 02:30:27 UTC) #11
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 03:33:14 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8fd4ac5bbce4fbdc921a10ed70a7f6360de99c9e
Cr-Commit-Position: refs/heads/master@{#414290}

Powered by Google App Engine
This is Rietveld 408576698