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

Issue 2648483002: chromeos: Rename various CreateShelf methods to CreateShelfView (Closed)

Created:
3 years, 11 months ago by James Cook
Modified:
3 years, 11 months ago
Reviewers:
msw, xdai1
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, jam, achuith+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, kalyank, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Rename various CreateShelf methods to CreateShelfView Shelf construction is confusing: WmShelf is created immediately for each RootWindowController and ShelfWidget shortly thereafter. The ShelfView, on the other hand, is only created after login. Attempt to clarify the situation by renaming a bunch of "CreateShelf" methods to CreateShelfView. This exposed a couple other refactors that I tagged with TODOs. No functional changes. BUG=679925 TEST=ash_unittests TBR=xdai@chromium.org Review-Url: https://codereview.chromium.org/2648483002 Cr-Commit-Position: refs/heads/master@{#444782} Committed: https://chromium.googlesource.com/chromium/src/+/072742fba50cd351ef4b7d7b4b73f348b157ddef

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -15 lines) Patch
M ash/common/shelf/wm_shelf.h View 1 chunk +3 lines, -1 line 0 comments Download
M ash/common/shelf/wm_shelf.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/test/test_session_state_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm_shell.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/common/wm_shell.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/root_window_controller.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/root_window_controller.cc View 2 chunks +5 lines, -3 lines 2 comments Download
M ash/shell/content/client/shell_browser_main_parts.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (12 generated)
James Cook
msw, please take a look. Gosh, shelf initialization is a mess. :-)
3 years, 11 months ago (2017-01-19 06:02:14 UTC) #3
msw
lgtm with an aside https://codereview.chromium.org/2648483002/diff/1/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/2648483002/diff/1/ash/root_window_controller.cc#newcode363 ash/root_window_controller.cc:363: // TODO(jamescook): Pass |wm_shelf_| into ...
3 years, 11 months ago (2017-01-19 09:54:26 UTC) #7
James Cook
Thanks for the late-night review! https://codereview.chromium.org/2648483002/diff/1/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/2648483002/diff/1/ash/root_window_controller.cc#newcode363 ash/root_window_controller.cc:363: // TODO(jamescook): Pass |wm_shelf_| ...
3 years, 11 months ago (2017-01-19 17:31:35 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/2648483002/1
3 years, 11 months ago (2017-01-19 17:32:40 UTC) #10
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/345486)
3 years, 11 months ago (2017-01-19 17:40:40 UTC) #12
James Cook
TBR xdai for trivial rename touching c/b/chromeos/login/users/wallpaper
3 years, 11 months ago (2017-01-19 17:51:42 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/2648483002/1
3 years, 11 months ago (2017-01-19 17:52:12 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 17:58:53 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/072742fba50cd351ef4b7d7b4b73...

Powered by Google App Engine
This is Rietveld 408576698