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

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: 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
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 120 }
120 ClockObserver* clock_observer() const { 121 ClockObserver* clock_observer() const {
121 return clock_observer_; 122 return clock_observer_;
122 } 123 }
123 DriveObserver* drive_observer() const { 124 DriveObserver* drive_observer() const {
124 return drive_observer_; 125 return drive_observer_;
125 } 126 }
126 IMEObserver* ime_observer() const { 127 IMEObserver* ime_observer() const {
127 return ime_observer_; 128 return ime_observer_;
128 } 129 }
130 LocaleObserver* locale_observer() const {
131 return locale_observer_;
132 }
129 NetworkObserver* network_observer() const { 133 NetworkObserver* network_observer() const {
130 return network_observer_; 134 return network_observer_;
131 } 135 }
132 PowerStatusObserver* power_status_observer() const { 136 PowerStatusObserver* power_status_observer() const {
133 return power_status_observer_; 137 return power_status_observer_;
134 } 138 }
135 UpdateObserver* update_observer() const { 139 UpdateObserver* update_observer() const {
136 return update_observer_; 140 return update_observer_;
137 } 141 }
138 UserObserver* user_observer() const { 142 UserObserver* user_observer() const {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 206
203 // These observers are not owned by the tray. 207 // These observers are not owned by the tray.
204 AccessibilityObserver* accessibility_observer_; 208 AccessibilityObserver* accessibility_observer_;
205 AudioObserver* audio_observer_; 209 AudioObserver* audio_observer_;
206 BluetoothObserver* bluetooth_observer_; 210 BluetoothObserver* bluetooth_observer_;
207 BrightnessObserver* brightness_observer_; 211 BrightnessObserver* brightness_observer_;
208 CapsLockObserver* caps_lock_observer_; 212 CapsLockObserver* caps_lock_observer_;
209 ClockObserver* clock_observer_; 213 ClockObserver* clock_observer_;
210 DriveObserver* drive_observer_; 214 DriveObserver* drive_observer_;
211 IMEObserver* ime_observer_; 215 IMEObserver* ime_observer_;
216 LocaleObserver* locale_observer_;
212 NetworkObserver* network_observer_; 217 NetworkObserver* network_observer_;
213 PowerStatusObserver* power_status_observer_; 218 PowerStatusObserver* power_status_observer_;
214 UpdateObserver* update_observer_; 219 UpdateObserver* update_observer_;
215 UserObserver* user_observer_; 220 UserObserver* user_observer_;
216 221
217 // The widget hosting the tray. 222 // The widget hosting the tray.
218 views::Widget* widget_; 223 views::Widget* widget_;
219 224
220 // Bubble for default and detailed views. 225 // Bubble for default and detailed views.
221 scoped_ptr<internal::SystemTrayBubble> bubble_; 226 scoped_ptr<internal::SystemTrayBubble> bubble_;
(...skipping 11 matching lines...) Expand all
233 internal::BackgroundAnimator hover_background_animator_; 238 internal::BackgroundAnimator hover_background_animator_;
234 scoped_ptr<internal::SystemTrayLayerAnimationObserver> 239 scoped_ptr<internal::SystemTrayLayerAnimationObserver>
235 layer_animation_observer_; 240 layer_animation_observer_;
236 241
237 DISALLOW_COPY_AND_ASSIGN(SystemTray); 242 DISALLOW_COPY_AND_ASSIGN(SystemTray);
238 }; 243 };
239 244
240 } // namespace ash 245 } // namespace ash
241 246
242 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_ 247 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_
OLDNEW
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/system/tray/system_tray.cc » ('j') | ash/system/tray_locale.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698