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

Issue 2154523002: Move AccessibilityDelegate ownership to ash::WmShell (Closed)

Created:
4 years, 5 months ago by James Cook
Modified:
4 years, 5 months ago
Reviewers:
msw, dmazzoni
CC:
chromium-reviews, sadrul, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, kalyank
Base URL:
https://chromium.googlesource.com/chromium/src.git@setmediadelegate
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move AccessibilityDelegate ownership to ash::WmShell All access is via WmShell, so it should live there. * Move AccessibilityDelegateMus to its own file * Introduce a WmShell::Shutdown() phase * Rename WmShell::GetAccessibilityDelegate() to accessibility_delegate() No functional changes. BUG=619636 TEST=ash_unittests, chrome unit_tests TBR=dmazzoni@chromium.org Committed: https://crrev.com/428f986f6e49f55a148d399cf4f1cca310fe4434 Cr-Commit-Position: refs/heads/master@{#405810}

Patch Set 1 #

Patch Set 2 : cleanup, fix test #

Total comments: 5

Patch Set 3 : rebase #

Patch Set 4 : review comments #

Patch Set 5 : fix mash_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -113 lines) Patch
M ash/accelerators/accelerator_controller.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/accelerators/spoken_feedback_toggler.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/accelerators/spoken_feedback_toggler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/ash_touch_exploration_manager_chromeos.cc View 3 chunks +8 lines, -9 lines 0 comments Download
M ash/aura/wm_shell_aura.h View 2 chunks +1 line, -4 lines 0 comments Download
M ash/aura/wm_shell_aura.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M ash/common/keyboard/keyboard_ui.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ash/common/system/ime/tray_ime_chromeos.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ash/common/system/ime/tray_ime_chromeos_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/common/system/tray/system_tray.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/system/tray/system_tray_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray_accessibility.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M ash/common/wm/overview/window_selector.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm_shell.h View 3 chunks +6 lines, -2 lines 0 comments Download
M ash/common/wm_shell.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M ash/magnifier/magnification_controller.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/mus/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A ash/mus/accessibility_delegate_mus.h View 1 chunk +37 lines, -0 lines 0 comments Download
A ash/mus/accessibility_delegate_mus.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 3 chunks +1 line, -6 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 5 chunks +1 line, -36 lines 0 comments Download
M ash/mus/shell_delegate_mus.h View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 2 3 4 3 chunks +8 lines, -5 lines 0 comments Download
M ash/mus/window_manager.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M ash/shell.h View 1 2 3 chunks +0 lines, -6 lines 0 comments Download
M ash/shell.cc View 1 2 3 chunks +1 line, -5 lines 0 comments Download
M ash/wm/lock_state_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (16 generated)
James Cook
msw, please take a look. sadrul, just FYI, I moved AccessibilityDelegateMus into its own file. ...
4 years, 5 months ago (2016-07-14 23:31:46 UTC) #6
msw
lgtm with Shutdown comment and nit. https://codereview.chromium.org/2154523002/diff/20001/ash/common/wm_shell.cc File ash/common/wm_shell.cc (right): https://codereview.chromium.org/2154523002/diff/20001/ash/common/wm_shell.cc#newcode54 ash/common/wm_shell.cc:54: media_delegate_.reset(); On 2016/07/14 ...
4 years, 5 months ago (2016-07-15 15:33:14 UTC) #9
James Cook
https://codereview.chromium.org/2154523002/diff/20001/ash/common/wm_shell.cc File ash/common/wm_shell.cc (right): https://codereview.chromium.org/2154523002/diff/20001/ash/common/wm_shell.cc#newcode54 ash/common/wm_shell.cc:54: media_delegate_.reset(); On 2016/07/15 15:33:14, msw wrote: > On 2016/07/14 ...
4 years, 5 months ago (2016-07-15 17:03:06 UTC) #10
James Cook
TBR dmazzoni for mechanical rename touching chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc
4 years, 5 months ago (2016-07-15 17:04:05 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/2154523002/60001
4 years, 5 months ago (2016-07-15 17:04:36 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/245064)
4 years, 5 months ago (2016-07-15 18:05:47 UTC) #18
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/2154523002/80001
4 years, 5 months ago (2016-07-15 18:19:34 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-15 19:13:47 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 19:14:07 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 19:17:18 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/428f986f6e49f55a148d399cf4f1cca310fe4434
Cr-Commit-Position: refs/heads/master@{#405810}

Powered by Google App Engine
This is Rietveld 408576698