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

Side by Side Diff: ash/system/tray/system_tray.h

Issue 10391177: Add TrayLocale for locale change notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase w/ icons in tot Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ash/system/locale/tray_locale.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/launcher/background_animator.h" 9 #include "ash/launcher/background_animator.h"
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 11 matching lines...) Expand all
22 namespace ash { 22 namespace ash {
23 23
24 class AccessibilityObserver; 24 class AccessibilityObserver;
25 class AudioObserver; 25 class AudioObserver;
26 class BluetoothObserver; 26 class BluetoothObserver;
27 class BrightnessObserver; 27 class BrightnessObserver;
28 class CapsLockObserver; 28 class CapsLockObserver;
29 class ClockObserver; 29 class ClockObserver;
30 class DriveObserver; 30 class DriveObserver;
31 class IMEObserver; 31 class IMEObserver;
32 class LocaleObserver;
32 class NetworkObserver; 33 class NetworkObserver;
33 class PowerStatusObserver; 34 class PowerStatusObserver;
34 class UpdateObserver; 35 class UpdateObserver;
35 class UserObserver; 36 class UserObserver;
36 37
37 class SystemTrayItem; 38 class SystemTrayItem;
38 39
39 namespace internal { 40 namespace internal {
40 class SystemTrayBackground; 41 class SystemTrayBackground;
41 class SystemTrayBubble; 42 class SystemTrayBubble;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 123 }
123 ClockObserver* clock_observer() const { 124 ClockObserver* clock_observer() const {
124 return clock_observer_; 125 return clock_observer_;
125 } 126 }
126 DriveObserver* drive_observer() const { 127 DriveObserver* drive_observer() const {
127 return drive_observer_; 128 return drive_observer_;
128 } 129 }
129 IMEObserver* ime_observer() const { 130 IMEObserver* ime_observer() const {
130 return ime_observer_; 131 return ime_observer_;
131 } 132 }
133 LocaleObserver* locale_observer() const {
134 return locale_observer_;
135 }
132 NetworkObserver* network_observer() const { 136 NetworkObserver* network_observer() const {
133 return network_observer_; 137 return network_observer_;
134 } 138 }
135 PowerStatusObserver* power_status_observer() const { 139 PowerStatusObserver* power_status_observer() const {
136 return power_status_observer_; 140 return power_status_observer_;
137 } 141 }
138 UpdateObserver* update_observer() const { 142 UpdateObserver* update_observer() const {
139 return update_observer_; 143 return update_observer_;
140 } 144 }
141 UserObserver* user_observer() const { 145 UserObserver* user_observer() const {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 212
209 // These observers are not owned by the tray. 213 // These observers are not owned by the tray.
210 AccessibilityObserver* accessibility_observer_; 214 AccessibilityObserver* accessibility_observer_;
211 AudioObserver* audio_observer_; 215 AudioObserver* audio_observer_;
212 BluetoothObserver* bluetooth_observer_; 216 BluetoothObserver* bluetooth_observer_;
213 BrightnessObserver* brightness_observer_; 217 BrightnessObserver* brightness_observer_;
214 CapsLockObserver* caps_lock_observer_; 218 CapsLockObserver* caps_lock_observer_;
215 ClockObserver* clock_observer_; 219 ClockObserver* clock_observer_;
216 DriveObserver* drive_observer_; 220 DriveObserver* drive_observer_;
217 IMEObserver* ime_observer_; 221 IMEObserver* ime_observer_;
222 LocaleObserver* locale_observer_;
218 NetworkObserver* network_observer_; 223 NetworkObserver* network_observer_;
219 PowerStatusObserver* power_status_observer_; 224 PowerStatusObserver* power_status_observer_;
220 UpdateObserver* update_observer_; 225 UpdateObserver* update_observer_;
221 UserObserver* user_observer_; 226 UserObserver* user_observer_;
222 227
223 // The widget hosting the tray. 228 // The widget hosting the tray.
224 views::Widget* widget_; 229 views::Widget* widget_;
225 230
226 // Bubble for default and detailed views. 231 // Bubble for default and detailed views.
227 scoped_ptr<internal::SystemTrayBubble> bubble_; 232 scoped_ptr<internal::SystemTrayBubble> bubble_;
(...skipping 11 matching lines...) Expand all
239 internal::BackgroundAnimator hover_background_animator_; 244 internal::BackgroundAnimator hover_background_animator_;
240 scoped_ptr<internal::SystemTrayLayerAnimationObserver> 245 scoped_ptr<internal::SystemTrayLayerAnimationObserver>
241 layer_animation_observer_; 246 layer_animation_observer_;
242 247
243 DISALLOW_COPY_AND_ASSIGN(SystemTray); 248 DISALLOW_COPY_AND_ASSIGN(SystemTray);
244 }; 249 };
245 250
246 } // namespace ash 251 } // namespace ash
247 252
248 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_ 253 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_
OLDNEW
« no previous file with comments | « ash/system/locale/tray_locale.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698