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

Issue 2075923002: mash: Convert FocusCycler to wm common types and move to //ash/common (Closed)

Created:
4 years, 6 months ago by James Cook
Modified:
4 years, 6 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, sadrul, dzhioev+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_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: Convert FocusCycler to wm common types and move to //ash/common FocusCycler is a dependency of the status area widget code I'm trying to move. * Introduce WmWindow::GetWidget(). * Move FocusCycler ownership from ash::Shell to WmShell. * Eliminate extraneous Shell::RotateFocus() method in favor of calling FocusCycler directly. I'm intentionally leaving the unit test in place, as it has dependencies that haven't migrated yet. BUG=619636 TEST=ash_unittests Committed: https://crrev.com/26f32092680910d571ea398888263cb4f01f1e10 Cr-Commit-Position: refs/heads/master@{#400354}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 7

Patch Set 3 : review feedback #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -268 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 2 3 4 chunks +8 lines, -11 lines 0 comments Download
M ash/ash.gyp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/aura/wm_window_aura.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ash/aura/wm_window_aura.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
A + ash/common/focus_cycler.h View 2 chunks +3 lines, -4 lines 0 comments Download
A + ash/common/focus_cycler.cc View 1 2 4 chunks +18 lines, -24 lines 0 comments Download
M ash/common/wm_shell.h View 3 chunks +4 lines, -0 lines 0 comments Download
M ash/common/wm_shell.cc View 2 chunks +4 lines, -1 line 0 comments Download
M ash/common/wm_window.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
D ash/focus_cycler.h View 1 chunk +0 lines, -60 lines 0 comments Download
D ash/focus_cycler.cc View 1 chunk +0 lines, -120 lines 0 comments Download
M ash/focus_cycler_unittest.cc View 1 2 5 chunks +7 lines, -8 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M ash/mus/bridge/wm_window_mus.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/shelf/shelf.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/shelf/shelf_widget.cc View 6 chunks +5 lines, -5 lines 0 comments Download
M ash/shell.h View 5 chunks +0 lines, -11 lines 0 comments Download
M ash/shell.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M ash/system/status_area_widget_delegate.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M ash/wm/window_cycle_controller_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
James Cook
msw, please take a look.
4 years, 6 months ago (2016-06-16 23:08:51 UTC) #3
msw
lgtm with nits; +sky for any WmWindow::GetWidget() thoughts. https://codereview.chromium.org/2075923002/diff/20001/ash/aura/wm_window_aura.cc File ash/aura/wm_window_aura.cc (right): https://codereview.chromium.org/2075923002/diff/20001/ash/aura/wm_window_aura.cc#newcode521 ash/aura/wm_window_aura.cc:521: void ...
4 years, 6 months ago (2016-06-16 23:57:45 UTC) #5
sky
LGTM https://codereview.chromium.org/2075923002/diff/20001/ash/common/wm_window.h File ash/common/wm_window.h (right): https://codereview.chromium.org/2075923002/diff/20001/ash/common/wm_window.h#newcode213 ash/common/wm_window.h:213: virtual views::Widget* GetWidget() = 0; On 2016/06/16 23:57:44, ...
4 years, 6 months ago (2016-06-17 00:08:30 UTC) #6
James Cook
Thanks for the quick review! https://codereview.chromium.org/2075923002/diff/20001/ash/aura/wm_window_aura.cc File ash/aura/wm_window_aura.cc (right): https://codereview.chromium.org/2075923002/diff/20001/ash/aura/wm_window_aura.cc#newcode521 ash/aura/wm_window_aura.cc:521: void WmWindowAura::CloseWidget() { On ...
4 years, 6 months ago (2016-06-17 03:39:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2075923002/60001
4 years, 6 months ago (2016-06-17 03:46:44 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-17 04:27:05 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 04:28:32 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/26f32092680910d571ea398888263cb4f01f1e10
Cr-Commit-Position: refs/heads/master@{#400354}

Powered by Google App Engine
This is Rietveld 408576698