OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_SYSTEM_POWER_TABLET_POWER_BUTTON_CONTROLLER_H_ | 5 #ifndef ASH_SYSTEM_POWER_TABLET_POWER_BUTTON_CONTROLLER_H_ |
6 #define ASH_SYSTEM_POWER_TABLET_POWER_BUTTON_CONTROLLER_H_ | 6 #define ASH_SYSTEM_POWER_TABLET_POWER_BUTTON_CONTROLLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ash/common/shell_observer.h" | 11 #include "ash/shell_observer.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/time/tick_clock.h" | 14 #include "base/time/tick_clock.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
17 #include "chromeos/dbus/power_manager_client.h" | 17 #include "chromeos/dbus/power_manager_client.h" |
18 #include "ui/events/devices/input_device_event_observer.h" | 18 #include "ui/events/devices/input_device_event_observer.h" |
19 #include "ui/events/event_handler.h" | 19 #include "ui/events/event_handler.h" |
20 | 20 |
21 namespace ash { | 21 namespace ash { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 LockStateController* controller_; // Not owned. | 130 LockStateController* controller_; // Not owned. |
131 | 131 |
132 base::WeakPtrFactory<TabletPowerButtonController> weak_ptr_factory_; | 132 base::WeakPtrFactory<TabletPowerButtonController> weak_ptr_factory_; |
133 | 133 |
134 DISALLOW_COPY_AND_ASSIGN(TabletPowerButtonController); | 134 DISALLOW_COPY_AND_ASSIGN(TabletPowerButtonController); |
135 }; | 135 }; |
136 | 136 |
137 } // namespace ash | 137 } // namespace ash |
138 | 138 |
139 #endif // ASH_SYSTEM_POWER_TABLET_POWER_BUTTON_CONTROLLER_H_ | 139 #endif // ASH_SYSTEM_POWER_TABLET_POWER_BUTTON_CONTROLLER_H_ |
OLD | NEW |