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

Issue 2074913005: Convert TrayAccessibility to wm common types (Closed)

Created:
4 years, 6 months ago by James Cook
Modified:
4 years, 6 months ago
Reviewers:
msw, stevenjb
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, sadrul, oshima+watch_chromium.org, aboxhall+watch_chromium.org, achuith+watch_chromium.org, dzhioev+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@webnotification
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert TrayAccessibility to wm common types * Move //ui/chromeos/accessibility_types.h into //ash/common because it is used in non-chromeos code, but only in //ash. * Migrate AccessibilityObserver to WmSystemTrayNotifier * Move AccessibilityObserver to its own file to reduce the #include burden of wm_system_tray_notifier.h * Fix include-what-you-use violations I will move tray_accessibility.* into //ash/common in a separate CL because it will involve moving tray_details_view.h, which is widely used. BUG=619636, 621574 TEST=ash_unittests TBR=atwilson@chromium.org for mechanical change to //chrome/browser/policy Committed: https://crrev.com/2741744f732caf973d062a4bf3d5b53e6d621a25 Cr-Commit-Position: refs/heads/master@{#400791}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 5

Patch Set 3 : rebase #

Total comments: 1

Patch Set 4 : review comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -145 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ash/ash.gyp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ash/ash_touch_exploration_manager_chromeos.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/ash_touch_exploration_manager_chromeos.cc View 2 chunks +7 lines, -6 lines 0 comments Download
M ash/common/accessibility_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
A + ash/common/accessibility_types.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
A ash/common/system/accessibility_observer.h View 1 chunk +24 lines, -0 lines 0 comments Download
M ash/common/system/tray/wm_system_tray_notifier.h View 3 chunks +9 lines, -0 lines 0 comments Download
M ash/common/system/tray/wm_system_tray_notifier.cc View 1 3 chunks +17 lines, -0 lines 0 comments Download
M ash/keyboard/keyboard_ui.cc View 1 2 3 3 chunks +10 lines, -8 lines 0 comments Download
M ash/magnifier/magnification_controller_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/shell.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/cast/tray_cast.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/chromeos/bluetooth/tray_bluetooth.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/chromeos/network/tray_sms.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/ime/tray_ime_chromeos.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/ime/tray_ime_chromeos.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/ime/tray_ime_chromeos_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M ash/system/tray/system_tray_notifier.h View 4 chunks +0 lines, -7 lines 0 comments Download
M ash/system/tray/system_tray_notifier.cc View 2 chunks +0 lines, -18 lines 0 comments Download
M ash/system/tray/tray_details_view_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/system/tray_accessibility.h View 2 chunks +1 line, -10 lines 0 comments Download
M ash/system/tray_accessibility.cc View 1 8 chunks +15 lines, -27 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/chromevox_panel.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/magnification_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 2 chunks +1 line, -1 line 0 comments Download
M ui/chromeos/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D ui/chromeos/accessibility_types.h View 1 chunk +0 lines, -38 lines 0 comments Download
M ui/chromeos/ui_chromeos.gyp View 1 chunk +0 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (10 generated)
James Cook
msw, please take a look at //ash. stevenjb, please take a look at //ui/chromeos. (The ...
4 years, 6 months ago (2016-06-18 00:00:03 UTC) #3
msw
https://codereview.chromium.org/2074913005/diff/20001/ash/common/accessibility_types.h File ash/common/accessibility_types.h (right): https://codereview.chromium.org/2074913005/diff/20001/ash/common/accessibility_types.h#newcode8 ash/common/accessibility_types.h:8: namespace ui { It seems odd to move this ...
4 years, 6 months ago (2016-06-18 01:15:06 UTC) #4
James Cook
msw / stevenjb - please take another look. https://codereview.chromium.org/2074913005/diff/20001/ash/common/accessibility_types.h File ash/common/accessibility_types.h (right): https://codereview.chromium.org/2074913005/diff/20001/ash/common/accessibility_types.h#newcode8 ash/common/accessibility_types.h:8: namespace ...
4 years, 6 months ago (2016-06-20 17:27:34 UTC) #5
msw
lgtm https://codereview.chromium.org/2074913005/diff/20001/ash/common/accessibility_types.h File ash/common/accessibility_types.h (right): https://codereview.chromium.org/2074913005/diff/20001/ash/common/accessibility_types.h#newcode8 ash/common/accessibility_types.h:8: namespace ui { On 2016/06/20 17:27:33, James Cook ...
4 years, 6 months ago (2016-06-20 17:35:56 UTC) #7
stevenjb
lgtm https://codereview.chromium.org/2074913005/diff/40001/ash/system/tray_accessibility.cc File ash/system/tray_accessibility.cc (right): https://codereview.chromium.org/2074913005/diff/40001/ash/system/tray_accessibility.cc#newcode201 ash/system/tray_accessibility.cc:201: WmShell::Get()->GetSessionStateDelegate()->IsInSecondaryLoginScreen()) We really should do a (separate) cleanup ...
4 years, 6 months ago (2016-06-20 17:49:17 UTC) #8
James Cook
On 2016/06/20 17:49:17, stevenjb wrote: > lgtm > > https://codereview.chromium.org/2074913005/diff/40001/ash/system/tray_accessibility.cc > File ash/system/tray_accessibility.cc (right): > ...
4 years, 6 months ago (2016-06-20 18:01:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2074913005/80001
4 years, 6 months ago (2016-06-20 19:51:15 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/231056)
4 years, 6 months ago (2016-06-20 20:30:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2074913005/80001
4 years, 6 months ago (2016-06-20 20:51:01 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-20 21:37:27 UTC) #19
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 21:40:01 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2741744f732caf973d062a4bf3d5b53e6d621a25
Cr-Commit-Position: refs/heads/master@{#400791}

Powered by Google App Engine
This is Rietveld 408576698