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

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

Issue 614363002: Added Aura notification that relaunch and powerwash is required in case of downgrade. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring of SystemTrayDelegate(Windows|Linux) is delayed. Created 6 years, 2 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/ash_strings.grd ('k') | ash/system/tray/default_system_tray_delegate.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/tray/system_tray_delegate.h" 9 #include "ash/system/tray/system_tray_delegate.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 class ASH_EXPORT DefaultSystemTrayDelegate : public SystemTrayDelegate { 15 class ASH_EXPORT DefaultSystemTrayDelegate : public SystemTrayDelegate {
16 public: 16 public:
17 DefaultSystemTrayDelegate(); 17 DefaultSystemTrayDelegate();
18 virtual ~DefaultSystemTrayDelegate(); 18 virtual ~DefaultSystemTrayDelegate();
19 19
20 // Overridden from SystemTrayDelegate: 20 // Overridden from SystemTrayDelegate:
21 virtual void Initialize() override; 21 virtual void Initialize() override;
22 virtual void Shutdown() override; 22 virtual void Shutdown() override;
23 virtual bool GetTrayVisibilityOnStartup() override; 23 virtual bool GetTrayVisibilityOnStartup() override;
24 virtual user::LoginStatus GetUserLoginStatus() const override; 24 virtual user::LoginStatus GetUserLoginStatus() const override;
25 virtual void ChangeProfilePicture() override; 25 virtual void ChangeProfilePicture() override;
26 virtual const std::string GetEnterpriseDomain() const override; 26 virtual const std::string GetEnterpriseDomain() const override;
27 virtual const base::string16 GetEnterpriseMessage() const override; 27 virtual const base::string16 GetEnterpriseMessage() const override;
28 virtual const std::string GetSupervisedUserManager() const override; 28 virtual const std::string GetSupervisedUserManager() const override;
29 virtual const base::string16 GetSupervisedUserManagerName() const 29 virtual const base::string16 GetSupervisedUserManagerName() const override;
30 override;
31 virtual const base::string16 GetSupervisedUserMessage() const override; 30 virtual const base::string16 GetSupervisedUserMessage() const override;
32 virtual bool IsUserSupervised() const override; 31 virtual bool IsUserSupervised() const override;
33 virtual bool SystemShouldUpgrade() const override; 32 virtual void GetSystemUpdateInfo(UpdateInfo* info) const override;
34 virtual base::HourClockType GetHourClockType() const override; 33 virtual base::HourClockType GetHourClockType() const override;
35 virtual void ShowSettings() override; 34 virtual void ShowSettings() override;
36 virtual bool ShouldShowSettings() override; 35 virtual bool ShouldShowSettings() override;
37 virtual void ShowDateSettings() override; 36 virtual void ShowDateSettings() override;
38 virtual void ShowSetTimeDialog() override; 37 virtual void ShowSetTimeDialog() override;
39 virtual void ShowNetworkSettings(const std::string& service_path) override; 38 virtual void ShowNetworkSettings(const std::string& service_path) override;
40 virtual void ShowBluetoothSettings() override; 39 virtual void ShowBluetoothSettings() override;
41 virtual void ShowDisplaySettings() override; 40 virtual void ShowDisplaySettings() override;
42 virtual void ShowChromeSlow() override; 41 virtual void ShowChromeSlow() override;
43 virtual bool ShouldShowDisplayNotification() override; 42 virtual bool ShouldShowDisplayNotification() override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 private: 92 private:
94 bool bluetooth_enabled_; 93 bool bluetooth_enabled_;
95 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; 94 scoped_ptr<VolumeControlDelegate> volume_control_delegate_;
96 95
97 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); 96 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate);
98 }; 97 };
99 98
100 } // namespace ash 99 } // namespace ash
101 100
102 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 101 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/system/tray/default_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698