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

Issue 2895713002: [mus+ash] Removes WmWindow from ash/wm/mru_window_tracker and overview mode (Closed)

Created:
3 years, 7 months ago by varkha
Modified:
3 years, 7 months ago
Reviewers:
msw, James Cook
CC:
chromium-reviews, mlamouri+watch-screen-orientation_chromium.org, kalyank, jam, sadrul, darin-cc_chromium.org, sky
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[mus+ash] Removes WmWindow from ash/wm/mru_window_tracker and overview Refactoring mru_window_tracker and connected classes to remove use of WmWindow. BUG=722553 TEST=None TBR=xiyuan@chromium.org for a small non-behavioral change in chrome/browser/chromeos/login/users/wallpaper/wallpaper_window_state_manager.cc Review-Url: https://codereview.chromium.org/2895713002 Cr-Commit-Position: refs/heads/master@{#474310} Committed: https://chromium.googlesource.com/chromium/src/+/843aa52b01713a6605988ab3ee104b43d9087cd7

Patch Set 1 #

Patch Set 2 : [mus+ash] Removes WmWindow from ash/wm/mru_window_tracker and overview mode #

Patch Set 3 : Chrome compiles #

Patch Set 4 : Ash unittests compile #

Patch Set 5 : Ash unittests compile (cleanup #include wm_window.h) #

Total comments: 49

Patch Set 6 : Address nits, unit_tests target compiles #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+587 lines, -582 lines) Patch
M ash/accelerators/accelerator_commands.cc View 1 2 3 4 2 chunks +7 lines, -8 lines 0 comments Download
M ash/content/screen_orientation_delegate_chromeos.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M ash/display/display_manager_unittest.cc View 1 2 3 4 6 chunks +18 lines, -19 lines 0 comments Download
M ash/display/screen_orientation_controller_chromeos.h View 3 chunks +7 lines, -3 lines 0 comments Download
M ash/display/screen_orientation_controller_chromeos.cc View 1 2 3 4 7 chunks +17 lines, -15 lines 0 comments Download
M ash/focus_cycler.cc View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 4 5 1 chunk +3 lines, -4 lines 0 comments Download
M ash/system/overview/overview_button_tray.cc View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M ash/wm/ash_focus_rules.cc View 1 2 3 4 5 4 chunks +4 lines, -6 lines 0 comments Download
M ash/wm/focus_rules.h View 1 chunk +7 lines, -5 lines 0 comments Download
M ash/wm/focus_rules.cc View 1 2 4 chunks +10 lines, -8 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller.h View 1 3 chunks +6 lines, -2 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager.h View 4 chunks +10 lines, -6 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager.cc View 1 2 3 4 5 10 chunks +26 lines, -28 lines 2 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_state.h View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_state.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M ash/wm/mru_window_tracker.h View 1 2 3 4 5 3 chunks +3 lines, -5 lines 0 comments Download
M ash/wm/mru_window_tracker.cc View 1 2 3 4 5 7 chunks +22 lines, -23 lines 0 comments Download
M ash/wm/mru_window_tracker_unittest.cc View 1 2 3 4 chunks +15 lines, -15 lines 0 comments Download
M ash/wm/overview/scoped_overview_animation_settings_factory.h View 2 chunks +5 lines, -2 lines 0 comments Download
M ash/wm/overview/scoped_overview_animation_settings_factory_aura.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M ash/wm/overview/scoped_transform_overview_window.h View 1 2 3 4 5 10 chunks +29 lines, -27 lines 0 comments Download
M ash/wm/overview/scoped_transform_overview_window.cc View 1 2 3 4 5 22 chunks +82 lines, -74 lines 0 comments Download
M ash/wm/overview/window_grid.h View 4 chunks +5 lines, -5 lines 0 comments Download
M ash/wm/overview/window_grid.cc View 1 2 3 4 5 20 chunks +55 lines, -56 lines 0 comments Download
M ash/wm/overview/window_selector.h View 1 2 3 4 5 5 chunks +6 lines, -7 lines 0 comments Download
M ash/wm/overview/window_selector.cc View 1 2 3 4 5 23 chunks +59 lines, -62 lines 0 comments Download
M ash/wm/overview/window_selector_controller.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ash/wm/overview/window_selector_item.h View 1 2 3 4 5 3 chunks +6 lines, -7 lines 0 comments Download
M ash/wm/overview/window_selector_item.cc View 1 2 15 chunks +33 lines, -33 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 9 chunks +19 lines, -28 lines 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/window_cycle_controller.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M ash/wm/window_positioner.h View 1 2 5 chunks +7 lines, -5 lines 0 comments Download
M ash/wm/window_positioner.cc View 1 2 3 4 5 19 chunks +60 lines, -53 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.cc View 1 2 3 4 5 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_window_state_manager.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc View 1 2 3 4 5 8 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
varkha
msw@, jamescook@, not ready for review yet, just trying to give visibility into what I ...
3 years, 7 months ago (2017-05-19 19:11:24 UTC) #2
James Cook
On 2017/05/19 19:11:24, varkha wrote: > msw@, jamescook@, not ready for review yet, just trying ...
3 years, 7 months ago (2017-05-22 08:47:40 UTC) #3
msw
A quick sampling looks pretty good, I'll probably hold off on more conversion work until ...
3 years, 7 months ago (2017-05-22 19:45:59 UTC) #4
varkha
Can you please take a first look? Thanks!
3 years, 7 months ago (2017-05-23 18:32:40 UTC) #7
James Cook
On 2017/05/23 18:32:40, varkha wrote: > Can you please take a first look? > Thanks! ...
3 years, 7 months ago (2017-05-23 20:24:06 UTC) #8
James Cook
On 2017/05/23 20:24:06, James Cook wrote: > On 2017/05/23 18:32:40, varkha wrote: > > Can ...
3 years, 7 months ago (2017-05-23 20:25:59 UTC) #9
varkha
> Also, just FYI sky@ recently landed https://codereview.chromium.org/2901663003 > that touches WmWindow in ash/wm. Yes, ...
3 years, 7 months ago (2017-05-23 21:30:28 UTC) #10
msw
lgtm with minor nits; feel free to ignore some/most (many are just about aura::Window::Windows use ...
3 years, 7 months ago (2017-05-23 22:50:25 UTC) #11
varkha
Thanks, jamescook@, could you please take a look for OWNERS? https://codereview.chromium.org/2895713002/diff/80001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2895713002/diff/80001/ash/shelf/shelf_layout_manager.cc#newcode880 ...
3 years, 7 months ago (2017-05-24 15:29:15 UTC) #15
varkha
+cc:sky@ - FYI, this seems to be almost ready to land.
3 years, 7 months ago (2017-05-24 15:31:32 UTC) #16
James Cook
LGTM https://codereview.chromium.org/2895713002/diff/100001/ash/wm/maximize_mode/maximize_mode_window_manager.cc File ash/wm/maximize_mode/maximize_mode_window_manager.cc (right): https://codereview.chromium.org/2895713002/diff/100001/ash/wm/maximize_mode/maximize_mode_window_manager.cc#newcode210 ash/wm/maximize_mode/maximize_mode_window_manager.cc:210: for (auto* window : windows) Aside: This is ...
3 years, 7 months ago (2017-05-24 15:50:22 UTC) #17
varkha
https://codereview.chromium.org/2895713002/diff/100001/ash/wm/maximize_mode/maximize_mode_window_manager.cc File ash/wm/maximize_mode/maximize_mode_window_manager.cc (right): https://codereview.chromium.org/2895713002/diff/100001/ash/wm/maximize_mode/maximize_mode_window_manager.cc#newcode210 ash/wm/maximize_mode/maximize_mode_window_manager.cc:210: for (auto* window : windows) On 2017/05/24 15:50:22, James ...
3 years, 7 months ago (2017-05-24 16:00:07 UTC) #20
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/2895713002/100001
3 years, 7 months ago (2017-05-24 16:00:57 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/843aa52b01713a6605988ab3ee104b43d9087cd7
3 years, 7 months ago (2017-05-24 16:06:21 UTC) #26
varkha
3 years, 7 months ago (2017-05-24 17:26:33 UTC) #28
Message was sent while issue was closed.
https://codereview.chromium.org/2895713002/diff/80001/ash/wm/overview/scoped_...
File ash/wm/overview/scoped_overview_animation_settings_factory_aura.h (right):

https://codereview.chromium.org/2895713002/diff/80001/ash/wm/overview/scoped_...
ash/wm/overview/scoped_overview_animation_settings_factory_aura.h:16: class
ScopedOverviewAnimationSettingsFactoryAura
On 2017/05/24 15:29:15, varkha wrote:
> On 2017/05/23 22:50:24, msw wrote:
> > aside: This is *super* ripe for cleanup, but feel free to punt that for now.
> 
> I'll do it in a follow-up, it seems isolated enough.

Update - done in https://codereview.chromium.org/2901903003/ .

Powered by Google App Engine
This is Rietveld 408576698