OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_TOUCH_HANDLER_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_TOUCH_HANDLER_H_ |
6 #define COMPONENTS_HTML_VIEWER_TOUCH_HANDLER_H_ | 6 #define COMPONENTS_HTML_VIEWER_TOUCH_HANDLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "components/mus/public/interfaces/input_events.mojom.h" | 9 #include "components/mus/public/interfaces/input_events.mojom.h" |
10 #include "ui/events/gesture_detection/filtered_gesture_provider.h" | 10 #include "ui/events/gesture_detection/filtered_gesture_provider.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 class WebWidget; | 13 class WebWidget; |
14 } | 14 } |
15 | 15 |
16 namespace ui { | 16 namespace ui { |
17 class MotionEventGeneric; | 17 class MotionEventGeneric; |
18 } | 18 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // As touch events are received they are converted to this event. If null no | 51 // As touch events are received they are converted to this event. If null no |
52 // touch events are in progress. | 52 // touch events are in progress. |
53 scoped_ptr<ui::MotionEventGeneric> current_motion_event_; | 53 scoped_ptr<ui::MotionEventGeneric> current_motion_event_; |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(TouchHandler); | 55 DISALLOW_COPY_AND_ASSIGN(TouchHandler); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace html_viewer | 58 } // namespace html_viewer |
59 | 59 |
60 #endif // COMPONENTS_HTML_VIEWER_TOUCH_HANDLER_H_ | 60 #endif // COMPONENTS_HTML_VIEWER_TOUCH_HANDLER_H_ |
OLD | NEW |