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

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

Issue 2857103007: [Night Light] CL2: Ash and system tray work (Closed)
Patch Set: Update comment Created 3 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
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | chrome/browser/prefs/browser_prefs.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_ITEM_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 UMA_POWER = 16, 54 UMA_POWER = 16,
55 UMA_ROTATION_LOCK = 17, 55 UMA_ROTATION_LOCK = 17,
56 UMA_SCREEN_CAPTURE = 18, 56 UMA_SCREEN_CAPTURE = 18,
57 UMA_SCREEN_SHARE = 19, 57 UMA_SCREEN_SHARE = 19,
58 UMA_SESSION_LENGTH_LIMIT = 20, 58 UMA_SESSION_LENGTH_LIMIT = 20,
59 UMA_SMS = 21, 59 UMA_SMS = 21,
60 UMA_SUPERVISED_USER = 22, 60 UMA_SUPERVISED_USER = 22,
61 UMA_TRACING = 23, 61 UMA_TRACING = 23,
62 UMA_USER = 24, 62 UMA_USER = 24,
63 UMA_VPN = 25, 63 UMA_VPN = 25,
64 UMA_COUNT = 26, 64 UMA_NIGHT_LIGHT = 26,
65 UMA_COUNT = 27,
65 }; 66 };
66 67
67 SystemTrayItem(SystemTray* system_tray, UmaType type); 68 SystemTrayItem(SystemTray* system_tray, UmaType type);
68 virtual ~SystemTrayItem(); 69 virtual ~SystemTrayItem();
69 70
70 // Create* functions may return NULL if nothing should be displayed for the 71 // Create* functions may return NULL if nothing should be displayed for the
71 // type of view. The default implementations return NULL. 72 // type of view. The default implementations return NULL.
72 73
73 // Returns a view to be displayed in the system tray. If this returns NULL, 74 // Returns a view to be displayed in the system tray. If this returns NULL,
74 // then this item is not displayed in the tray. 75 // then this item is not displayed in the tray.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 151
151 // Used to delay the transition to the detailed view. 152 // Used to delay the transition to the detailed view.
152 base::OneShotTimer transition_delay_timer_; 153 base::OneShotTimer transition_delay_timer_;
153 154
154 DISALLOW_COPY_AND_ASSIGN(SystemTrayItem); 155 DISALLOW_COPY_AND_ASSIGN(SystemTrayItem);
155 }; 156 };
156 157
157 } // namespace ash 158 } // namespace ash
158 159
159 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_ 160 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698