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

Side by Side Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.h

Issue 2492063002: chromeos: Simplify ShutdownPolicyHandler
Patch Set: unused typedef Created 4 years, 1 month 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
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 CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void ActiveUserWasChanged() override; 116 void ActiveUserWasChanged() override;
117 bool IsSearchKeyMappedToCapsLock() override; 117 bool IsSearchKeyMappedToCapsLock() override;
118 void AddCustodianInfoTrayObserver( 118 void AddCustodianInfoTrayObserver(
119 ash::CustodianInfoTrayObserver* observer) override; 119 ash::CustodianInfoTrayObserver* observer) override;
120 void RemoveCustodianInfoTrayObserver( 120 void RemoveCustodianInfoTrayObserver(
121 ash::CustodianInfoTrayObserver* observer) override; 121 ash::CustodianInfoTrayObserver* observer) override;
122 void AddShutdownPolicyObserver( 122 void AddShutdownPolicyObserver(
123 ash::ShutdownPolicyObserver* observer) override; 123 ash::ShutdownPolicyObserver* observer) override;
124 void RemoveShutdownPolicyObserver( 124 void RemoveShutdownPolicyObserver(
125 ash::ShutdownPolicyObserver* observer) override; 125 ash::ShutdownPolicyObserver* observer) override;
126 void ShouldRebootOnShutdown( 126 void CheckIfRebootOnShutdown() override;
127 const ash::RebootOnShutdownCallback& callback) override;
128 ash::VPNDelegate* GetVPNDelegate() const override; 127 ash::VPNDelegate* GetVPNDelegate() const override;
129 std::unique_ptr<ash::SystemTrayItem> CreateRotationLockTrayItem( 128 std::unique_ptr<ash::SystemTrayItem> CreateRotationLockTrayItem(
130 ash::SystemTray* tray) override; 129 ash::SystemTray* tray) override;
131 130
132 // Overridden from user_manager::UserManager::UserSessionStateObserver: 131 // Overridden from user_manager::UserManager::UserSessionStateObserver:
133 void UserAddedToSession(const user_manager::User* active_user) override; 132 void UserAddedToSession(const user_manager::User* active_user) override;
134 void ActiveUserChanged(const user_manager::User* active_user) override; 133 void ActiveUserChanged(const user_manager::User* active_user) override;
135 134
136 void UserChangedChildStatus(user_manager::User* user) override; 135 void UserChangedChildStatus(user_manager::User* user) override;
137 136
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 274
276 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; 275 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_;
277 276
278 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); 277 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS);
279 }; 278 };
280 279
281 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); 280 ash::SystemTrayDelegate* CreateSystemTrayDelegate();
282 281
283 } // namespace chromeos 282 } // namespace chromeos
284 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 283 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698