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

Issue 2699033002: Replace WmWindowObserver with aura::WindowObserver. (Closed)

Created:
3 years, 10 months ago by msw
Modified:
3 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, mlamouri+watch-screen-orientation_chromium.org, dcheng, posciak+watch_chromium.org, rginda+watch_chromium.org, devtools-reviews_chromium.org, kalyank, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace WmWindowObserver with aura::WindowObserver. Also, some cleanup, mostly around ShelfWindowWatcher: -Convert most ShelfWindowWatcher WmWindow use to aura::Window. -Use aura::client::ActivationChangeObserver in ShelfWindowWatcher. -Persist mash default shelf item type (app) workaround from WmWindow. BUG=687654 TEST=No behavior changes R=sky@chromium.org Review-Url: https://codereview.chromium.org/2699033002 Cr-Commit-Position: refs/heads/master@{#451467} Committed: https://chromium.googlesource.com/chromium/src/+/13fbda637196d8a45059840cfd285cd7c3d85124

Patch Set 1 #

Patch Set 2 : Also remove ash/common/wm_window_tracker.h #

Patch Set 3 : Reassemble 6-part split. #

Patch Set 4 : Check for null images in ShelfWindowWatcher. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+617 lines, -751 lines) Patch
M ash/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ash/common/devtools/ash_devtools_dom_agent.h View 1 3 chunks +6 lines, -8 lines 0 comments Download
M ash/common/devtools/ash_devtools_dom_agent.cc View 1 4 chunks +23 lines, -23 lines 0 comments Download
M ash/common/frame/custom_frame_view_ash.cc View 5 chunks +7 lines, -6 lines 0 comments Download
M ash/common/shelf/shelf_window_watcher.h View 6 chunks +30 lines, -29 lines 0 comments Download
M ash/common/shelf/shelf_window_watcher.cc View 1 2 3 10 chunks +72 lines, -57 lines 0 comments Download
M ash/common/test/test_shelf_delegate.h View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M ash/common/test/test_shelf_delegate.cc View 1 2 4 chunks +8 lines, -7 lines 0 comments Download
M ash/common/wallpaper/wallpaper_widget_controller.h View 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/wallpaper/wallpaper_widget_controller.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/common/wm/always_on_top_controller.h View 2 chunks +10 lines, -8 lines 0 comments Download
M ash/common/wm/always_on_top_controller.cc View 1 2 3 chunks +21 lines, -19 lines 0 comments Download
M ash/common/wm/dock/docked_window_layout_manager.h View 3 chunks +6 lines, -6 lines 0 comments Download
M ash/common/wm/dock/docked_window_layout_manager.cc View 1 2 9 chunks +30 lines, -22 lines 0 comments Download
M ash/common/wm/lock_layout_manager.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/common/wm/lock_layout_manager.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M ash/common/wm/maximize_mode/maximize_mode_window_manager.h View 5 chunks +12 lines, -12 lines 0 comments Download
M ash/common/wm/maximize_mode/maximize_mode_window_manager.cc View 13 chunks +35 lines, -31 lines 0 comments Download
M ash/common/wm/maximize_mode/workspace_backdrop_delegate.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M ash/common/wm/mru_window_tracker.h View 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/wm/mru_window_tracker.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M ash/common/wm/overview/window_grid.h View 4 chunks +6 lines, -6 lines 0 comments Download
M ash/common/wm/overview/window_grid.cc View 5 chunks +9 lines, -7 lines 0 comments Download
M ash/common/wm/overview/window_selector.h View 3 chunks +5 lines, -6 lines 0 comments Download
M ash/common/wm/overview/window_selector.cc View 6 chunks +13 lines, -13 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.h View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M ash/common/wm/panels/panel_layout_manager.h View 4 chunks +9 lines, -7 lines 0 comments Download
M ash/common/wm/panels/panel_layout_manager.cc View 8 chunks +19 lines, -14 lines 0 comments Download
M ash/common/wm/root_window_layout_manager.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M ash/common/wm/system_modal_container_layout_manager.h View 3 chunks +6 lines, -5 lines 0 comments Download
M ash/common/wm/system_modal_container_layout_manager.cc View 3 chunks +15 lines, -11 lines 0 comments Download
M ash/common/wm/window_cycle_list.h View 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/wm/window_cycle_list.cc View 7 chunks +13 lines, -11 lines 0 comments Download
M ash/common/wm/window_dimmer.h View 3 chunks +8 lines, -7 lines 0 comments Download
M ash/common/wm/window_dimmer.cc View 4 chunks +16 lines, -14 lines 0 comments Download
M ash/common/wm/window_positioning_utils.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M ash/common/wm/wm_toplevel_window_event_handler.cc View 6 chunks +8 lines, -7 lines 0 comments Download
M ash/common/wm/workspace/multi_window_resize_controller.h View 4 chunks +4 lines, -3 lines 0 comments Download
M ash/common/wm/workspace/multi_window_resize_controller.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager.h View 3 chunks +12 lines, -11 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager.cc View 6 chunks +28 lines, -26 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager_unittest.cc View 6 chunks +17 lines, -14 lines 0 comments Download
M ash/common/wm/workspace/workspace_window_resizer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/common/wm/workspace/workspace_window_resizer.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/common/wm/workspace_controller.h View 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/wm/workspace_controller.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/common/wm_window.h View 4 chunks +0 lines, -18 lines 0 comments Download
M ash/common/wm_window.cc View 5 chunks +1 line, -97 lines 0 comments Download
D ash/common/wm_window_observer.h View 1 chunk +0 lines, -62 lines 0 comments Download
D ash/common/wm_window_tracker.h View 1 chunk +0 lines, -18 lines 0 comments Download
M ash/common/wm_window_unittest.cc View 5 chunks +13 lines, -10 lines 0 comments Download
M ash/common/wm_window_user_data.h View 4 chunks +10 lines, -9 lines 0 comments Download
M ash/display/screen_orientation_controller_chromeos.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/display/screen_orientation_controller_chromeos.cc View 5 chunks +11 lines, -10 lines 0 comments Download
M ash/root_window_controller.cc View 1 chunk +8 lines, -8 lines 0 comments Download
M ash/shelf/shelf_window_targeter.h View 1 chunk +5 lines, -4 lines 0 comments Download
M ash/shelf/shelf_window_targeter.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/wm/screen_pinning_controller.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/video_detector.h View 5 chunks +4 lines, -11 lines 0 comments Download
M ash/wm/video_detector.cc View 1 3 chunks +16 lines, -15 lines 0 comments Download
M chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 20 (14 generated)
msw
Hey Scott, please take a look; thanks!
3 years, 10 months ago (2017-02-17 23:13:14 UTC) #7
sky
Nice! LGTM
3 years, 10 months ago (2017-02-17 23:37:59 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/2699033002/60001
3 years, 10 months ago (2017-02-18 01:38:38 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_daisy_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-18 03:41:02 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/2699033002/60001
3 years, 10 months ago (2017-02-18 16:55:27 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-18 17:01:05 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/13fbda637196d8a45059840cfd28...

Powered by Google App Engine
This is Rietveld 408576698