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 CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ | 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ |
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ | 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void UnregisterBeginFrameSource(int routing_id, | 59 void UnregisterBeginFrameSource(int routing_id, |
60 SynchronousCompositorExternalBeginFrameSource* | 60 SynchronousCompositorExternalBeginFrameSource* |
61 begin_frame_source) override; | 61 begin_frame_source) override; |
62 | 62 |
63 // InputHandlerManagerClient overrides. | 63 // InputHandlerManagerClient overrides. |
64 void SetBoundHandler(const Handler& handler) override; | 64 void SetBoundHandler(const Handler& handler) override; |
65 void DidAddInputHandler(int routing_id) override; | 65 void DidAddInputHandler(int routing_id) override; |
66 void DidRemoveInputHandler(int routing_id) override; | 66 void DidRemoveInputHandler(int routing_id) override; |
67 void DidOverscroll(int routing_id, | 67 void DidOverscroll(int routing_id, |
68 const DidOverscrollParams& params) override; | 68 const DidOverscrollParams& params) override; |
| 69 void DidStartFlinging(int routing_id) override; |
69 void DidStopFlinging(int routing_id) override; | 70 void DidStopFlinging(int routing_id) override; |
70 void NotifyInputEventHandled(int routing_id, | 71 void NotifyInputEventHandled(int routing_id, |
71 blink::WebInputEvent::Type type) override; | 72 blink::WebInputEvent::Type type) override; |
72 | 73 |
73 // SynchronousInputHandlerProxyClient overrides. | 74 // SynchronousInputHandlerProxyClient overrides. |
74 void DidAddSynchronousHandlerProxy( | 75 void DidAddSynchronousHandlerProxy( |
75 int routing_id, | 76 int routing_id, |
76 ui::SynchronousInputHandlerProxy* synchronous_input_handler_proxy) | 77 ui::SynchronousInputHandlerProxy* synchronous_input_handler_proxy) |
77 override; | 78 override; |
78 void DidRemoveSynchronousHandlerProxy(int routing_id) override; | 79 void DidRemoveSynchronousHandlerProxy(int routing_id) override; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 }; | 117 }; |
117 using EntryMap = base::hash_map<int, Entry>; | 118 using EntryMap = base::hash_map<int, Entry>; |
118 EntryMap entry_map_; | 119 EntryMap entry_map_; |
119 | 120 |
120 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorFilter); | 121 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorFilter); |
121 }; | 122 }; |
122 | 123 |
123 } // namespace content | 124 } // namespace content |
124 | 125 |
125 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ | 126 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ |
OLD | NEW |