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

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

Issue 12843019: Suppress error notifications and detailed view during OOBE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TrayAccessibilityTest Created 7 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
« no previous file with comments | « ash/system/chromeos/network/tray_network.cc ('k') | ash/system/tray/system_tray_item.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_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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 virtual void Initialize() = 0; 119 virtual void Initialize() = 0;
120 120
121 // Returns true if system tray should be visible on startup. 121 // Returns true if system tray should be visible on startup.
122 virtual bool GetTrayVisibilityOnStartup() = 0; 122 virtual bool GetTrayVisibilityOnStartup() = 0;
123 123
124 // Gets information about the logged in user. 124 // Gets information about the logged in user.
125 virtual const string16 GetUserDisplayName() const = 0; 125 virtual const string16 GetUserDisplayName() const = 0;
126 virtual const std::string GetUserEmail() const = 0; 126 virtual const std::string GetUserEmail() const = 0;
127 virtual const gfx::ImageSkia& GetUserImage() const = 0; 127 virtual const gfx::ImageSkia& GetUserImage() const = 0;
128 virtual user::LoginStatus GetUserLoginStatus() const = 0; 128 virtual user::LoginStatus GetUserLoginStatus() const = 0;
129 virtual bool IsOobeCompleted() const = 0;
129 130
130 // Shows UI for changing user's profile picture. 131 // Shows UI for changing user's profile picture.
131 virtual void ChangeProfilePicture() = 0; 132 virtual void ChangeProfilePicture() = 0;
132 133
133 // Returns the domain that manages the device, if it is enterprise-enrolled. 134 // Returns the domain that manages the device, if it is enterprise-enrolled.
134 virtual const std::string GetEnterpriseDomain() const = 0; 135 virtual const std::string GetEnterpriseDomain() const = 0;
135 136
136 // Returns notification for enterprise enrolled devices. 137 // Returns notification for enterprise enrolled devices.
137 virtual const string16 GetEnterpriseMessage() const = 0; 138 virtual const string16 GetEnterpriseMessage() const = 0;
138 139
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Speaks the given text if spoken feedback is enabled. 348 // Speaks the given text if spoken feedback is enabled.
348 virtual void MaybeSpeak(const std::string& utterance) const = 0; 349 virtual void MaybeSpeak(const std::string& utterance) const = 0;
349 350
350 // Creates a dummy delegate for testing. 351 // Creates a dummy delegate for testing.
351 static SystemTrayDelegate* CreateDummyDelegate(); 352 static SystemTrayDelegate* CreateDummyDelegate();
352 }; 353 };
353 354
354 } // namespace ash 355 } // namespace ash
355 356
356 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 357 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/network/tray_network.cc ('k') | ash/system/tray/system_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698