OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_POWER_BUTTON_CONTROLLER_DELEGATE_CHROMEOS_
H_ | |
6 #define CHROME_BROWSER_CHROMEOS_POWER_POWER_BUTTON_CONTROLLER_DELEGATE_CHROMEOS_
H_ | |
7 | |
8 #include "ash/wm/power_button_controller.h" | |
9 #include "base/basictypes.h" | |
10 #include "base/compiler_specific.h" | |
11 | |
12 namespace chromeos { | |
13 | |
14 class PowerButtonControllerDelegateChromeos | |
15 : public ash::PowerButtonControllerDelegate { | |
16 public: | |
17 PowerButtonControllerDelegateChromeos() {} | |
18 virtual ~PowerButtonControllerDelegateChromeos() {} | |
19 | |
20 private: | |
21 // PowerButtonControllerDelegate implementation. | |
22 virtual void RequestLockScreen() OVERRIDE; | |
23 virtual void RequestShutdown() OVERRIDE; | |
24 | |
25 DISALLOW_COPY_AND_ASSIGN(PowerButtonControllerDelegateChromeos); | |
26 }; | |
27 | |
28 } // namespace chromeos | |
29 | |
30 #endif // CHROME_BROWSER_CHROMEOS_POWER_POWER_BUTTON_CONTROLLER_DELEGATE_CHROME
OS_H_ | |
OLD | NEW |