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

Side by Side Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc

Issue 2084733002: mash: Move tray accessibility and keyboard to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@typenamespace
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/chromeos/system/tray_accessibility_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/ash/system_tray_delegate_chromeos.h" 5 #include "chrome/browser/ui/ash/system_tray_delegate_chromeos.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "ash/common/ash_switches.h" 15 #include "ash/common/ash_switches.h"
16 #include "ash/common/session/session_state_delegate.h" 16 #include "ash/common/session/session_state_delegate.h"
17 #include "ash/common/session/session_state_observer.h" 17 #include "ash/common/session/session_state_observer.h"
18 #include "ash/common/shell_window_ids.h" 18 #include "ash/common/shell_window_ids.h"
19 #include "ash/common/system/chromeos/power/power_status.h" 19 #include "ash/common/system/chromeos/power/power_status.h"
20 #include "ash/common/system/chromeos/shutdown_policy_observer.h" 20 #include "ash/common/system/chromeos/shutdown_policy_observer.h"
21 #include "ash/common/system/date/clock_observer.h" 21 #include "ash/common/system/date/clock_observer.h"
22 #include "ash/common/system/tray/system_tray_delegate.h" 22 #include "ash/common/system/tray/system_tray_delegate.h"
23 #include "ash/common/system/tray/wm_system_tray_notifier.h" 23 #include "ash/common/system/tray/wm_system_tray_notifier.h"
24 #include "ash/common/system/tray_accessibility.h"
24 #include "ash/common/system/update/update_observer.h" 25 #include "ash/common/system/update/update_observer.h"
25 #include "ash/common/system/volume_control_delegate.h" 26 #include "ash/common/system/volume_control_delegate.h"
26 #include "ash/common/wm_shell.h" 27 #include "ash/common/wm_shell.h"
27 #include "ash/desktop_background/desktop_background_controller.h" 28 #include "ash/desktop_background/desktop_background_controller.h"
28 #include "ash/metrics/user_metrics_recorder.h" 29 #include "ash/metrics/user_metrics_recorder.h"
29 #include "ash/shell.h" 30 #include "ash/shell.h"
30 #include "ash/shell_delegate.h" 31 #include "ash/shell_delegate.h"
31 #include "ash/system/chromeos/bluetooth/bluetooth_observer.h" 32 #include "ash/system/chromeos/bluetooth/bluetooth_observer.h"
32 #include "ash/system/chromeos/session/logout_button_observer.h" 33 #include "ash/system/chromeos/session/logout_button_observer.h"
33 #include "ash/system/ime/ime_observer.h" 34 #include "ash/system/ime/ime_observer.h"
34 #include "ash/system/tray/system_tray.h" 35 #include "ash/system/tray/system_tray.h"
35 #include "ash/system/tray/system_tray_notifier.h" 36 #include "ash/system/tray/system_tray_notifier.h"
36 #include "ash/system/tray_accessibility.h"
37 #include "ash/system/user/login_status.h" 37 #include "ash/system/user/login_status.h"
38 #include "ash/system/user/user_observer.h" 38 #include "ash/system/user/user_observer.h"
39 #include "ash/wm/lock_state_controller.h" 39 #include "ash/wm/lock_state_controller.h"
40 #include "base/bind_helpers.h" 40 #include "base/bind_helpers.h"
41 #include "base/callback.h" 41 #include "base/callback.h"
42 #include "base/logging.h" 42 #include "base/logging.h"
43 #include "base/memory/ptr_util.h" 43 #include "base/memory/ptr_util.h"
44 #include "base/memory/weak_ptr.h" 44 #include "base/memory/weak_ptr.h"
45 #include "base/strings/stringprintf.h" 45 #include "base/strings/stringprintf.h"
46 #include "base/strings/utf_string_conversions.h" 46 #include "base/strings/utf_string_conversions.h"
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 LOG(WARNING) << "SystemTrayDelegateChromeOS::GetChildUserMessage call while " 1337 LOG(WARNING) << "SystemTrayDelegateChromeOS::GetChildUserMessage call while "
1338 << "ENABLE_SUPERVISED_USERS undefined."; 1338 << "ENABLE_SUPERVISED_USERS undefined.";
1339 return base::string16(); 1339 return base::string16();
1340 } 1340 }
1341 1341
1342 ash::SystemTrayDelegate* CreateSystemTrayDelegate() { 1342 ash::SystemTrayDelegate* CreateSystemTrayDelegate() {
1343 return new SystemTrayDelegateChromeOS(); 1343 return new SystemTrayDelegateChromeOS();
1344 } 1344 }
1345 1345
1346 } // namespace chromeos 1346 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/system/tray_accessibility_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698