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