| 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 #include "ash/wm/gestures/two_finger_drag_handler.h" | 5 #include "ash/wm/gestures/two_finger_drag_handler.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/wm/default_window_resizer.h" | 8 #include "ash/wm/default_window_resizer.h" |
| 9 #include "ash/wm/window_util.h" | 9 #include "ash/wm/window_util.h" |
| 10 #include "ash/wm/workspace/snap_sizer.h" | 10 #include "ash/wm/workspace/snap_sizer.h" |
| 11 #include "ui/aura/client/window_types.h" | 11 #include "ui/aura/client/window_types.h" |
| 12 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
| 13 #include "ui/base/event.h" | 13 #include "ui/base/events/event.h" |
| 14 #include "ui/base/events.h" | 14 #include "ui/base/events/event_constants.h" |
| 15 #include "ui/base/hit_test.h" | 15 #include "ui/base/hit_test.h" |
| 16 #include "ui/compositor/layer.h" | 16 #include "ui/compositor/layer.h" |
| 17 #include "ui/compositor/scoped_layer_animation_settings.h" | 17 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 18 | 18 |
| 19 namespace ash { | 19 namespace ash { |
| 20 namespace internal { | 20 namespace internal { |
| 21 | 21 |
| 22 TwoFingerDragHandler::TwoFingerDragHandler() { | 22 TwoFingerDragHandler::TwoFingerDragHandler() { |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 bool visible) { | 115 bool visible) { |
| 116 Reset(); | 116 Reset(); |
| 117 } | 117 } |
| 118 | 118 |
| 119 void TwoFingerDragHandler::OnWindowDestroying(aura::Window* window) { | 119 void TwoFingerDragHandler::OnWindowDestroying(aura::Window* window) { |
| 120 Reset(); | 120 Reset(); |
| 121 } | 121 } |
| 122 | 122 |
| 123 } // namespace internal | 123 } // namespace internal |
| 124 } // namespace ash | 124 } // namespace ash |
| OLD | NEW |