OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 ASH_WM_TABLET_POWER_STATE_DELEGATE_CHROMEOS_H_ |
| 6 #define ASH_WM_TABLET_POWER_STATE_DELEGATE_CHROMEOS_H_ |
| 7 |
| 8 #include "ash/ash_export.h" |
| 9 #include "ash/wm/power_button_controller.h" |
| 10 #include "base/macros.h" |
| 11 |
| 12 namespace ash { |
| 13 |
| 14 class ASH_EXPORT TabletPowerStateDelegateChromeos |
| 15 : public TabletPowerStateDelegate { |
| 16 public: |
| 17 TabletPowerStateDelegateChromeos(); |
| 18 ~TabletPowerStateDelegateChromeos() override; |
| 19 |
| 20 // TabletPowerStateDelegate: |
| 21 void SetBacklightsForcedOff(bool forced_off) override; |
| 22 void GetBacklightsForcedOff( |
| 23 const base::Callback<void(bool)>& callback) override; |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(TabletPowerStateDelegateChromeos); |
| 27 }; |
| 28 |
| 29 } // namespace ash |
| 30 |
| 31 #endif // ASH_WM_TABLET_POWER_STATE_DELEGATE_CHROMEOS_H_ |
OLD | NEW |