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

Issue 2787363002: Moves couple of WmShell methods to standalone functions (Closed)

Created:
3 years, 8 months ago by sky
Modified:
3 years, 8 months ago
Reviewers:
James Cook
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, sadrul, victorhsieh+watch_chromium.org, hidehiko+watch_chromium.org, oshima+watch_chromium.org, lhchavez+watch_chromium.org, davemoore+watch_chromium.org, oka+watchvk_chromium.org, yhanada+watchvk_chromium.org, kalyank, dfaden+virtualkb_google.com, groby+virtualkb_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Moves couple of WmShell methods to standalone functions Specifically GetActiveWindow(), GetFocusedWindow() and GetCaptureWindow(). BUG=687660 TEST=covered by tests R=jamescook@chromium.org Review-Url: https://codereview.chromium.org/2787363002 Cr-Commit-Position: refs/heads/master@{#461224} Committed: https://chromium.googlesource.com/chromium/src/+/9e1148fba194af58c68f064be85a02ac5abafb56

Patch Set 1 #

Patch Set 2 : moar #

Patch Set 3 : merge #

Total comments: 6

Patch Set 4 : feedback and fix applist #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -104 lines) Patch
M ash/aura/wm_shell_aura.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ash/aura/wm_shell_aura.cc View 2 chunks +0 lines, -19 lines 0 comments Download
M ash/common/accelerators/accelerator_commands.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/accelerators/accelerator_controller.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/accelerators/debug_commands.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/common/focus_cycler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/wm/fullscreen_window_finder.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/wm/immersive_context_ash.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/wm/maximize_mode/maximize_mode_event_handler.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/wm/mru_window_tracker.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/wm/overview/window_selector.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/wm/panels/panel_layout_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm/system_modal_container_layout_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/wm/window_positioner.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/common/wm/window_positioning_utils.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/wm_shell.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ash/mus/accelerators/accelerator_controller_registrar.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 2 chunks +0 lines, -19 lines 0 comments Download
M ash/virtual_keyboard_controller.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 10 chunks +15 lines, -20 lines 0 comments Download
M ash/wm/window_util.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ash/wm/window_util.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/boot_phase_monitor/arc_instance_throttle.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
sky
3 years, 8 months ago (2017-03-31 15:30:58 UTC) #1
James Cook
LGTM. Your bot failures look like compile in an uncommon test suite. Also, not for ...
3 years, 8 months ago (2017-03-31 19:29:52 UTC) #10
sky
There is indeed a bug filed on removing WmWindow. https://codereview.chromium.org/2787363002/diff/40001/ash/common/wm/fullscreen_window_finder.cc File ash/common/wm/fullscreen_window_finder.cc (right): https://codereview.chromium.org/2787363002/diff/40001/ash/common/wm/fullscreen_window_finder.cc#newcode9 ash/common/wm/fullscreen_window_finder.cc:9: ...
3 years, 8 months ago (2017-03-31 20:15:14 UTC) #13
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/2787363002/60001
3 years, 8 months ago (2017-03-31 20:15:38 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 21:00:01 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9e1148fba194af58c68f064be85a...

Powered by Google App Engine
This is Rietveld 408576698