| 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_GESTURES_LONG_PRESS_AFFORDANCE_HANDLER_H_ | 5 #ifndef ASH_WM_GESTURES_LONG_PRESS_AFFORDANCE_HANDLER_H_ |
| 6 #define ASH_WM_GESTURES_LONG_PRESS_AFFORDANCE_HANDLER_H_ | 6 #define ASH_WM_GESTURES_LONG_PRESS_AFFORDANCE_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| 10 #include "ui/aura/window_observer.h" | 11 #include "ui/aura/window_observer.h" |
| 11 #include "ui/gfx/animation/linear_animation.h" | 12 #include "ui/gfx/animation/linear_animation.h" |
| 12 #include "ui/gfx/geometry/point.h" | 13 #include "ui/gfx/geometry/point.h" |
| 13 | 14 |
| 14 namespace ui { | 15 namespace ui { |
| 15 class GestureEvent; | 16 class GestureEvent; |
| 16 } | 17 } |
| 17 | 18 |
| 18 namespace ash { | 19 namespace ash { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 base::OneShotTimer timer_; | 65 base::OneShotTimer timer_; |
| 65 aura::Window* tap_down_target_; | 66 aura::Window* tap_down_target_; |
| 66 LongPressAnimationType current_animation_type_; | 67 LongPressAnimationType current_animation_type_; |
| 67 | 68 |
| 68 DISALLOW_COPY_AND_ASSIGN(LongPressAffordanceHandler); | 69 DISALLOW_COPY_AND_ASSIGN(LongPressAffordanceHandler); |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 } // namespace ash | 72 } // namespace ash |
| 72 | 73 |
| 73 #endif // ASH_WM_GESTURES_LONG_PRESS_AFFORDANCE_HANDLER_H_ | 74 #endif // ASH_WM_GESTURES_LONG_PRESS_AFFORDANCE_HANDLER_H_ |
| OLD | NEW |