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 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "ash/shell_observer.h" | 9 #include "ash/shell_observer.h" |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/time.h" | 12 #include "base/time.h" |
14 #include "base/timer.h" | 13 #include "base/timer.h" |
15 #include "ui/aura/root_window_observer.h" | 14 #include "ui/aura/root_window_observer.h" |
16 | 15 |
17 namespace gfx { | 16 namespace gfx { |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // |background_layer_|, as the desktop background is now covering the whole | 253 // |background_layer_|, as the desktop background is now covering the whole |
255 // screen. | 254 // screen. |
256 base::OneShotTimer<PowerButtonController> hide_background_layer_timer_; | 255 base::OneShotTimer<PowerButtonController> hide_background_layer_timer_; |
257 | 256 |
258 DISALLOW_COPY_AND_ASSIGN(PowerButtonController); | 257 DISALLOW_COPY_AND_ASSIGN(PowerButtonController); |
259 }; | 258 }; |
260 | 259 |
261 } // namespace ash | 260 } // namespace ash |
262 | 261 |
263 #endif // ASH_WM_POWER_BUTTON_CONTROLLER_H_ | 262 #endif // ASH_WM_POWER_BUTTON_CONTROLLER_H_ |
OLD | NEW |