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

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

Issue 9812043: aura: Uber tray should not show up on start screen in kiosk mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 }; 41 };
42 42
43 typedef std::vector<IMEInfo> IMEInfoList; 43 typedef std::vector<IMEInfo> IMEInfoList;
44 44
45 struct PowerSupplyStatus; 45 struct PowerSupplyStatus;
46 46
47 class SystemTrayDelegate { 47 class SystemTrayDelegate {
48 public: 48 public:
49 virtual ~SystemTrayDelegate() {} 49 virtual ~SystemTrayDelegate() {}
50 50
51 // Returns true if system tray should be visible on startup.
52 virtual bool GetTrayVisibilityOnStartup() = 0;
53
51 // Gets information about the logged in user. 54 // Gets information about the logged in user.
52 virtual const std::string GetUserDisplayName() const = 0; 55 virtual const std::string GetUserDisplayName() const = 0;
53 virtual const std::string GetUserEmail() const = 0; 56 virtual const std::string GetUserEmail() const = 0;
54 virtual const SkBitmap& GetUserImage() const = 0; 57 virtual const SkBitmap& GetUserImage() const = 0;
55 virtual user::LoginStatus GetUserLoginStatus() const = 0; 58 virtual user::LoginStatus GetUserLoginStatus() const = 0;
56 59
57 // Returns whether a system upgrade is available. 60 // Returns whether a system upgrade is available.
58 virtual bool SystemShouldUpgrade() const = 0; 61 virtual bool SystemShouldUpgrade() const = 0;
59 62
60 // Returns the resource id for the icon to show for the update notification. 63 // Returns the resource id for the icon to show for the update notification.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Returns whether cellular networking is enabled. 143 // Returns whether cellular networking is enabled.
141 virtual bool GetCellularEnabled() = 0; 144 virtual bool GetCellularEnabled() = 0;
142 145
143 // Shows UI for changing proxy settings. 146 // Shows UI for changing proxy settings.
144 virtual void ChangeProxySettings() = 0; 147 virtual void ChangeProxySettings() = 0;
145 }; 148 };
146 149
147 } // namespace ash 150 } // namespace ash
148 151
149 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 152 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698