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

Issue 2118593002: mash: Migrate ShellDelegate ownership and access to WmShell. (Closed)

Created:
4 years, 5 months ago by msw
Modified:
4 years, 5 months ago
Reviewers:
James Cook, Yusuke Sato, sky
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, jam, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, dmazzoni+watch_chromium.org, stevenjb+watch_chromium.org, extensions-reviews_chromium.org, aboxhall+watch_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, je_julie, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, yuzo+watch_chromium.org, oshima+watch_chromium.org, kalyank, sync-reviews_chromium.org, elijahtaylor+arcwatch_chromium.org, nektar+watch_chromium.org, dtseng+watch_chromium.org, 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: Migrate ShellDelegate ownership and access to WmShell. Move ownership of ShellDelegate to WMShell (was in Shell). (pass via WmShell[Aura|Mus] constructors, create earlier) TODO: Port and use ShellDelegateMus in ash::mus::WindowManager::Init? TODO: Move VirtualKeyboardStateObserver out of shell_delegate.h BUG=619636 TEST=Compiles; unit tests; no behavior changes. R=jamescook@chromium.org TBR=sky@chromium.org,yusukes@chromium.org Committed: https://crrev.com/0414d41295a36b35a9fca54a993b0b56a60ddacf Cr-Commit-Position: refs/heads/master@{#403964}

Patch Set 1 #

Patch Set 2 : Working on it #

Patch Set 3 : Sync and rebase. #

Patch Set 4 : Cleanup. #

Total comments: 14

Patch Set 5 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -360 lines) Patch
M ash/accelerators/accelerator_commands.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/accelerators/accelerator_controller.cc View 1 2 8 chunks +6 lines, -8 lines 0 comments Download
M ash/accelerators/debug_commands.cc View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M ash/accelerators/exit_warning_handler.cc View 1 3 chunks +2 lines, -3 lines 0 comments Download
M ash/app_list/app_list_presenter_delegate.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/ash.gyp View 1 2 2 chunks +1 line, -1 line 0 comments Download
M ash/aura/wm_shell_aura.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/aura/wm_shell_aura.cc View 1 2 5 chunks +4 lines, -4 lines 0 comments Download
A + ash/common/shell_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/common/wm_shell.h View 1 2 3 4 4 chunks +5 lines, -2 lines 0 comments Download
M ash/common/wm_shell.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M ash/content/keyboard_overlay/keyboard_overlay_view_unittest.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M ash/display/window_tree_host_manager.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M ash/mus/window_manager.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M ash/root_window_controller.cc View 1 6 chunks +5 lines, -5 lines 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_view.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M ash/shell.h View 1 2 3 chunks +0 lines, -4 lines 0 comments Download
M ash/shell.cc View 1 2 12 chunks +29 lines, -24 lines 0 comments Download
M ash/shell/app_list.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
M ash/shell/window_type_launcher.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D ash/shell_delegate.h View 1 chunk +0 lines, -169 lines 0 comments Download
M ash/shell_init_params.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M ash/shell_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/user/tray_user_unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M ash/system/user/user_view.cc View 1 3 chunks +2 lines, -3 lines 0 comments Download
M ash/sysui/keyboard_ui_mus.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/sysui/shell_delegate_mus.h View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
M ash/test/shell_test_api.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ash/test/test_keyboard_ui.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/test/test_shell_delegate.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/ash_focus_rules.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/lock_layout_manager.h View 1 chunk +1 line, -2 lines 0 comments Download
M ash/wm/lock_layout_manager.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M ash/wm/lock_state_controller.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/lock_state_controller_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/window_positioner_unittest.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/accessibility/magnification_manager.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/display/display_configuration_observer.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/display/output_protection_delegate.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/signin/merge_session_load_page.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.cc View 1 2 3 3 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/ui/idle_app_name_notification_view.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_error_notifier_ash.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/sync_error_notifier_ash.cc View 1 2 3 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc View 1 2 chunks +18 lines, -18 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/window_positioner_unittest.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2118593002/40001
4 years, 5 months ago (2016-07-06 19:53:02 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/250887) win_chromium_x64_rel_ng on ...
4 years, 5 months ago (2016-07-06 20:28:05 UTC) #4
msw
Hey James, please take a look; thanks! (lmk if you're busy and I should ping ...
4 years, 5 months ago (2016-07-06 20:46:20 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2118593002/100001
4 years, 5 months ago (2016-07-06 20:47:18 UTC) #13
James Cook
https://codereview.chromium.org/2118593002/diff/100001/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2118593002/diff/100001/ash/common/wm_shell.h#newcode16 ash/common/wm_shell.h:16: #include "ash/common/shell_delegate.h" Can this be forward declared? wm_shell.h is ...
4 years, 5 months ago (2016-07-06 21:27:28 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 21:27:29 UTC) #16
msw
+sky@ for chrome/*, yusukes@ for components/arc/* https://codereview.chromium.org/2118593002/diff/100001/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2118593002/diff/100001/ash/common/wm_shell.h#newcode16 ash/common/wm_shell.h:16: #include "ash/common/shell_delegate.h" On ...
4 years, 5 months ago (2016-07-06 21:58:56 UTC) #20
James Cook
LGTM
4 years, 5 months ago (2016-07-06 22:04:21 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2118593002/120001
4 years, 5 months ago (2016-07-06 22:07:37 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 22:47:19 UTC) #25
msw
TBR'ing sky@ and yusukes@ for fairly mechanical changes.
4 years, 5 months ago (2016-07-06 22:50:52 UTC) #27
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/2118593002/120001
4 years, 5 months ago (2016-07-06 22:52:03 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 5 months ago (2016-07-06 22:59:05 UTC) #31
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 22:59:26 UTC) #32
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 23:01:08 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0414d41295a36b35a9fca54a993b0b56a60ddacf
Cr-Commit-Position: refs/heads/master@{#403964}

Powered by Google App Engine
This is Rietveld 408576698