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

Issue 2228713003: mash: Convert ShelfView to wm common types, clean up Shelf access (Closed)

Created:
4 years, 4 months ago by James Cook
Modified:
4 years, 4 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul, oshima+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: Convert ShelfView to wm common types, clean up Shelf access * Eliminate aura::Window from ShelfView * Eliminate Shelf access from ShelfView in favor of WmShelf * Remove some ash::Shell usage in ShelfView unit tests * Move IsHorizontalAlignment, SelectValueForAlignment and PrimaryAxisValue from Shelf to WmShelf and make them not templates * Move files to //ash/common/shelf BUG=635638 TEST=ash_unittests, unit_tests Committed: https://crrev.com/32250bef67ff5256c687c7817b306b55fed54493 Cr-Commit-Position: refs/heads/master@{#410512}

Patch Set 1 #

Patch Set 2 : move files #

Patch Set 3 : cleanup #

Patch Set 4 : fix control reaches end of non-void function warnings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -2597 lines) Patch
M ash/app_list/app_list_presenter_delegate.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ash/app_list/app_list_presenter_delegate.cc View 1 2 3 2 chunks +22 lines, -7 lines 0 comments Download
M ash/ash.gyp View 1 3 chunks +4 lines, -3 lines 0 comments Download
M ash/aura/wm_shelf_aura.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/DEPS View 1 1 chunk +2 lines, -14 lines 0 comments Download
M ash/common/shelf/app_list_button.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/overflow_bubble.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_button.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + ash/common/shelf/shelf_icon_observer.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ash/common/shelf/shelf_tooltip_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_tooltip_manager_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + ash/common/shelf/shelf_view.h View 1 5 chunks +8 lines, -8 lines 0 comments Download
A + ash/common/shelf/shelf_view.cc View 1 2 25 chunks +62 lines, -51 lines 0 comments Download
M ash/common/shelf/wm_shelf.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A ash/common/shelf/wm_shelf.cc View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
M ash/common/shelf/wm_shelf_util.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 2 chunks +8 lines, -3 lines 0 comments Download
M ash/shelf/shelf.h View 2 chunks +0 lines, -23 lines 0 comments Download
M ash/shelf/shelf.cc View 1 2 3 chunks +2 lines, -7 lines 0 comments Download
D ash/shelf/shelf_icon_observer.h View 1 1 chunk +0 lines, -23 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M ash/shelf/shelf_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view.h View 1 1 chunk +0 lines, -477 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 1 chunk +0 lines, -1922 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 1 14 chunks +21 lines, -26 lines 0 comments Download
M ash/shelf/shelf_widget_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/test/shelf_view_test_api.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/panels/attached_panel_window_targeter.cc View 2 chunks +16 lines, -7 lines 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M ash/wm/window_animations.cc View 1 2 3 1 chunk +11 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc View 1 chunk +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (9 generated)
James Cook
msw, please take a look. This went a little further than just eliminating aura from ...
4 years, 4 months ago (2016-08-08 23:08:40 UTC) #5
msw
Very nice! lgtm
4 years, 4 months ago (2016-08-08 23:29:48 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/2228713003/60001
4 years, 4 months ago (2016-08-08 23:36:40 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-09 00:21:36 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 00:23:15 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/32250bef67ff5256c687c7817b306b55fed54493
Cr-Commit-Position: refs/heads/master@{#410512}

Powered by Google App Engine
This is Rietveld 408576698