| Index: ash/wm/tablet_power_state_delegate_chromeos.h
|
| diff --git a/ash/wm/tablet_power_state_delegate_chromeos.h b/ash/wm/tablet_power_state_delegate_chromeos.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6b89842748182d3ab62042544cd9338b198c5a6e
|
| --- /dev/null
|
| +++ b/ash/wm/tablet_power_state_delegate_chromeos.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef ASH_WM_TABLET_POWER_STATE_DELEGATE_CHROMEOS_H_
|
| +#define ASH_WM_TABLET_POWER_STATE_DELEGATE_CHROMEOS_H_
|
| +
|
| +#include "ash/ash_export.h"
|
| +#include "ash/wm/power_button_controller.h"
|
| +#include "base/macros.h"
|
| +
|
| +namespace ash {
|
| +
|
| +class ASH_EXPORT TabletPowerStateDelegateChromeos
|
| + : public TabletPowerStateDelegate {
|
| + public:
|
| + TabletPowerStateDelegateChromeos();
|
| + ~TabletPowerStateDelegateChromeos() override;
|
| +
|
| + // TabletPowerStateDelegate:
|
| + void SetBacklightsForcedOff(bool forced_off) override;
|
| + void GetBacklightsForcedOff(
|
| + const base::Callback<void(bool)>& callback) override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(TabletPowerStateDelegateChromeos);
|
| +};
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_WM_TABLET_POWER_STATE_DELEGATE_CHROMEOS_H_
|
|
|