OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/renderer_host/input/synthetic_gesture_new.h" | 5 #include "content/browser/renderer_host/input/synthetic_gesture_new.h" |
6 | 6 |
7 #include "content/browser/renderer_host/input/synthetic_gesture_target.h" | 7 #include "content/browser/renderer_host/input/synthetic_gesture_target.h" |
8 #include "content/browser/renderer_host/input/synthetic_pinch_gesture_new.h" | 8 #include "content/browser/renderer_host/input/synthetic_pinch_gesture_new.h" |
9 #include "content/browser/renderer_host/input/synthetic_smooth_scroll_gesture_ne
w.h" | 9 #include "content/browser/renderer_host/input/synthetic_smooth_scroll_gesture_ne
w.h" |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 SyntheticSmoothScrollGestureParams>(gesture_params); | 32 SyntheticSmoothScrollGestureParams>(gesture_params); |
33 case SyntheticGestureParams::PINCH_GESTURE: | 33 case SyntheticGestureParams::PINCH_GESTURE: |
34 return CreateGesture<SyntheticPinchGestureNew, | 34 return CreateGesture<SyntheticPinchGestureNew, |
35 SyntheticPinchGestureParams>(gesture_params); | 35 SyntheticPinchGestureParams>(gesture_params); |
36 } | 36 } |
37 NOTREACHED() << "Invalid synthetic gesture type"; | 37 NOTREACHED() << "Invalid synthetic gesture type"; |
38 return scoped_ptr<SyntheticGestureNew>(); | 38 return scoped_ptr<SyntheticGestureNew>(); |
39 } | 39 } |
40 | 40 |
41 } // namespace content | 41 } // namespace content |
OLD | NEW |