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

Side by Side Diff: ash/wm/tablet_power_state_delegate_chromeos.h

Issue 2474913004: Tablet-like power button behavior on Convertible/Tablet ChromeOS devices (Closed)
Patch Set: 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698