| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    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 |    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_WM_POWER_BUTTON_CONTROLLER_H_ |    5 #ifndef ASH_WM_POWER_BUTTON_CONTROLLER_H_ | 
|    6 #define ASH_WM_POWER_BUTTON_CONTROLLER_H_ |    6 #define ASH_WM_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 "base/macros.h" |   11 #include "base/macros.h" | 
|   12 #include "base/time/time.h" |   12 #include "base/time/time.h" | 
|   13 #include "ui/events/event_handler.h" |   13 #include "ui/events/event_handler.h" | 
|   14  |   14  | 
|   15 #if defined(OS_CHROMEOS) |   15 #if defined(OS_CHROMEOS) | 
|   16 #include "chromeos/dbus/power_manager_client.h" |   16 #include "chromeos/dbus/power_manager_client.h" | 
|   17 #include "ui/display/chromeos/display_configurator.h" |   17 #include "ui/display/manager/chromeos/display_configurator.h" | 
|   18 #endif |   18 #endif | 
|   19  |   19  | 
|   20 namespace ash { |   20 namespace ash { | 
|   21  |   21  | 
|   22 class LockStateController; |   22 class LockStateController; | 
|   23 #if defined(OS_CHROMEOS) |   23 #if defined(OS_CHROMEOS) | 
|   24 class TabletPowerButtonController; |   24 class TabletPowerButtonController; | 
|   25 #endif |   25 #endif | 
|   26  |   26  | 
|   27 // Handles power & lock button events which may result in the locking or |   27 // Handles power & lock button events which may result in the locking or | 
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  101   // Handles events for convertible/tablet devices. |  101   // Handles events for convertible/tablet devices. | 
|  102   std::unique_ptr<TabletPowerButtonController> tablet_controller_; |  102   std::unique_ptr<TabletPowerButtonController> tablet_controller_; | 
|  103 #endif |  103 #endif | 
|  104  |  104  | 
|  105   DISALLOW_COPY_AND_ASSIGN(PowerButtonController); |  105   DISALLOW_COPY_AND_ASSIGN(PowerButtonController); | 
|  106 }; |  106 }; | 
|  107  |  107  | 
|  108 }  // namespace ash |  108 }  // namespace ash | 
|  109  |  109  | 
|  110 #endif  // ASH_WM_POWER_BUTTON_CONTROLLER_H_ |  110 #endif  // ASH_WM_POWER_BUTTON_CONTROLLER_H_ | 
| OLD | NEW |