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

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

Issue 10285002: Revert 134774 because of win aura compile and chromium os browser_test crashes - Created uber tray … (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
« no previous file with comments | « ash/system/drive/tray_drive.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')
Property Changes:
Deleted: svn:mergeinfo
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"
11 #include "ash/system/tray/tray_views.h" 11 #include "ash/system/tray/tray_views.h"
12 #include "ash/system/user/login_status.h" 12 #include "ash/system/user/login_status.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
17 #include "ui/views/view.h" 17 #include "ui/views/view.h"
18 18
19 #include <vector> 19 #include <vector>
20 20
21 namespace ash { 21 namespace ash {
22 22
23 class AccessibilityObserver; 23 class AccessibilityObserver;
24 class AudioObserver; 24 class AudioObserver;
25 class BluetoothObserver; 25 class BluetoothObserver;
26 class BrightnessObserver; 26 class BrightnessObserver;
27 class CapsLockObserver; 27 class CapsLockObserver;
28 class ClockObserver; 28 class ClockObserver;
29 class DriveObserver;
30 class IMEObserver; 29 class IMEObserver;
31 class NetworkObserver; 30 class NetworkObserver;
32 class PowerStatusObserver; 31 class PowerStatusObserver;
33 class UpdateObserver; 32 class UpdateObserver;
34 class UserObserver; 33 class UserObserver;
35 34
36 class SystemTrayItem; 35 class SystemTrayItem;
37 36
38 namespace internal { 37 namespace internal {
39 class SystemTrayBackground; 38 class SystemTrayBackground;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 98 }
100 BrightnessObserver* brightness_observer() const { 99 BrightnessObserver* brightness_observer() const {
101 return brightness_observer_; 100 return brightness_observer_;
102 } 101 }
103 CapsLockObserver* caps_lock_observer() const { 102 CapsLockObserver* caps_lock_observer() const {
104 return caps_lock_observer_; 103 return caps_lock_observer_;
105 } 104 }
106 ClockObserver* clock_observer() const { 105 ClockObserver* clock_observer() const {
107 return clock_observer_; 106 return clock_observer_;
108 } 107 }
109 DriveObserver* drive_observer() const {
110 return drive_observer_;
111 }
112 IMEObserver* ime_observer() const { 108 IMEObserver* ime_observer() const {
113 return ime_observer_; 109 return ime_observer_;
114 } 110 }
115 NetworkObserver* network_observer() const { 111 NetworkObserver* network_observer() const {
116 return network_observer_; 112 return network_observer_;
117 } 113 }
118 PowerStatusObserver* power_status_observer() const { 114 PowerStatusObserver* power_status_observer() const {
119 return power_status_observer_; 115 return power_status_observer_;
120 } 116 }
121 UpdateObserver* update_observer() const { 117 UpdateObserver* update_observer() const {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // The container for all the tray views of the items. 153 // The container for all the tray views of the items.
158 views::View* container_; 154 views::View* container_;
159 155
160 // These observers are not owned by the tray. 156 // These observers are not owned by the tray.
161 AccessibilityObserver* accessibility_observer_; 157 AccessibilityObserver* accessibility_observer_;
162 AudioObserver* audio_observer_; 158 AudioObserver* audio_observer_;
163 BluetoothObserver* bluetooth_observer_; 159 BluetoothObserver* bluetooth_observer_;
164 BrightnessObserver* brightness_observer_; 160 BrightnessObserver* brightness_observer_;
165 CapsLockObserver* caps_lock_observer_; 161 CapsLockObserver* caps_lock_observer_;
166 ClockObserver* clock_observer_; 162 ClockObserver* clock_observer_;
167 DriveObserver* drive_observer_;
168 IMEObserver* ime_observer_; 163 IMEObserver* ime_observer_;
169 NetworkObserver* network_observer_; 164 NetworkObserver* network_observer_;
170 PowerStatusObserver* power_status_observer_; 165 PowerStatusObserver* power_status_observer_;
171 UpdateObserver* update_observer_; 166 UpdateObserver* update_observer_;
172 UserObserver* user_observer_; 167 UserObserver* user_observer_;
173 168
174 // The widget hosting the tray. 169 // The widget hosting the tray.
175 views::Widget* widget_; 170 views::Widget* widget_;
176 171
177 // The popup widget and the delegate. 172 // The popup widget and the delegate.
178 scoped_ptr<internal::SystemTrayBubble> bubble_; 173 scoped_ptr<internal::SystemTrayBubble> bubble_;
179 174
180 // Owned by the view it's installed on. 175 // Owned by the view it's installed on.
181 internal::SystemTrayBackground* background_; 176 internal::SystemTrayBackground* background_;
182 177
183 // See description agove getter. 178 // See description agove getter.
184 bool should_show_launcher_; 179 bool should_show_launcher_;
185 180
186 internal::BackgroundAnimator hide_background_animator_; 181 internal::BackgroundAnimator hide_background_animator_;
187 internal::BackgroundAnimator hover_background_animator_; 182 internal::BackgroundAnimator hover_background_animator_;
188 183
189 DISALLOW_COPY_AND_ASSIGN(SystemTray); 184 DISALLOW_COPY_AND_ASSIGN(SystemTray);
190 }; 185 };
191 186
192 } // namespace ash 187 } // namespace ash
193 188
194 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_ 189 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_
OLDNEW
« no previous file with comments | « ash/system/drive/tray_drive.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698