OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_ |
6 #define CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_ | 6 #define CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "cc/input/input_handler.h" | 11 #include "cc/input/input_handler.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebActiveWheelFlingPa
rameters.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
13 #include "third_party/WebKit/public/platform/WebGestureCurve.h" | 15 #include "third_party/WebKit/public/platform/WebGestureCurve.h" |
14 #include "third_party/WebKit/public/platform/WebGestureCurveTarget.h" | 16 #include "third_party/WebKit/public/platform/WebGestureCurveTarget.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebActiveWheelFlingPa
rameters.h" | |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
20 class InputHandlerProxyClient; | 20 class InputHandlerProxyClient; |
21 | 21 |
22 // This class is a proxy between the content input event filtering and the | 22 // This class is a proxy between the content input event filtering and the |
23 // compositor's input handling logic. InputHandlerProxy instances live entirely | 23 // compositor's input handling logic. InputHandlerProxy instances live entirely |
24 // on the compositor thread. Each InputHandler instance handles input events | 24 // on the compositor thread. Each InputHandler instance handles input events |
25 // intended for a specific WebWidget. | 25 // intended for a specific WebWidget. |
26 class CONTENT_EXPORT InputHandlerProxy | 26 class CONTENT_EXPORT InputHandlerProxy |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // The axes on which the current fling has overshot the bounds of the content. | 84 // The axes on which the current fling has overshot the bounds of the content. |
85 bool fling_overscrolled_horizontally_; | 85 bool fling_overscrolled_horizontally_; |
86 bool fling_overscrolled_vertically_; | 86 bool fling_overscrolled_vertically_; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); | 88 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace content | 91 } // namespace content |
92 | 92 |
93 #endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_ | 93 #endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_ |
OLD | NEW |