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 2267183002: ash: Remove unnecessary utility methods from ash::Shelf (Closed)

Created:
4 years, 4 months ago by James Cook
Modified:
4 years, 4 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Remove unnecessary utility methods from ash::Shelf IsVisible(), IsShowingMenu() and IsShowingOverflowBubble() are only used by shelf code and are better handled directly by ShelfWidget. This is a step toward eliminating ash::Shelf. BUG=615502 TEST=ash_unittests Committed: https://crrev.com/9e30e4cfa33d319c7bd8e2b27f0a7e9db93a78e8 Cr-Commit-Position: refs/heads/master@{#413757}

Patch Set 1 : . #

Total comments: 1

Patch Set 2 : rebase #

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -30 lines) Patch
M ash/common/shelf/wm_shelf.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf.h View 1 chunk +0 lines, -9 lines 0 comments Download
M ash/shelf/shelf.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M ash/shelf/shelf_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/shelf/shelf_widget.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
James Cook
msw, please take a look.
4 years, 4 months ago (2016-08-22 23:38:16 UTC) #4
msw
lgtm with an optional nit https://codereview.chromium.org/2267183002/diff/20001/ash/shelf/shelf_widget.h File ash/shelf/shelf_widget.h (right): https://codereview.chromium.org/2267183002/diff/20001/ash/shelf/shelf_widget.h#newcode76 ash/shelf/shelf_widget.h:76: bool IsShowingMenu() const; nit: ...
4 years, 4 months ago (2016-08-22 23:45:30 UTC) #6
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/2267183002/60001
4 years, 4 months ago (2016-08-23 15:37:40 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 4 months ago (2016-08-23 16:28:09 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 16:29:36 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9e30e4cfa33d319c7bd8e2b27f0a7e9db93a78e8
Cr-Commit-Position: refs/heads/master@{#413757}

Powered by Google App Engine
This is Rietveld 408576698