| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/browser/renderer_host/input/touch_emulator_client.h" | 10 #include "content/browser/renderer_host/input/touch_emulator_client.h" |
| 10 #include "content/common/cursors/webcursor.h" | 11 #include "content/common/cursors/webcursor.h" |
| 11 #include "content/common/input/input_event_ack_state.h" | 12 #include "content/common/input/input_event_ack_state.h" |
| 12 #include "third_party/WebKit/public/web/WebInputEvent.h" | 13 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 13 #include "ui/events/gesture_detection/filtered_gesture_provider.h" | 14 #include "ui/events/gesture_detection/filtered_gesture_provider.h" |
| 14 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" | 15 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" |
| 15 #include "ui/gfx/geometry/size_f.h" | 16 #include "ui/gfx/geometry/size_f.h" |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| 18 | 19 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 // The cumulative scale change from the start of pinch gesture. | 114 // The cumulative scale change from the start of pinch gesture. |
| 114 float pinch_scale_; | 115 float pinch_scale_; |
| 115 bool pinch_gesture_active_; | 116 bool pinch_gesture_active_; |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(TouchEmulator); | 118 DISALLOW_COPY_AND_ASSIGN(TouchEmulator); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 } // namespace content | 121 } // namespace content |
| 121 | 122 |
| 122 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_ | 123 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_ |
| OLD | NEW |