| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 void NotifyInputEventHandled(int routing_id, | 70 void NotifyInputEventHandled(int routing_id, |
| 71 blink::WebInputEvent::Type type) override; | 71 blink::WebInputEvent::Type type) override; |
| 72 | 72 |
| 73 // SynchronousInputHandlerProxyClient overrides. | 73 // SynchronousInputHandlerProxyClient overrides. |
| 74 void DidAddSynchronousHandlerProxy( | 74 void DidAddSynchronousHandlerProxy( |
| 75 int routing_id, | 75 int routing_id, |
| 76 ui::SynchronousInputHandlerProxy* synchronous_input_handler_proxy) | 76 ui::SynchronousInputHandlerProxy* synchronous_input_handler_proxy) |
| 77 override; | 77 override; |
| 78 void DidRemoveSynchronousHandlerProxy(int routing_id) override; | 78 void DidRemoveSynchronousHandlerProxy(int routing_id) override; |
| 79 | 79 |
| 80 void SetIsFlinging(bool is_flinging) override; |
| 81 |
| 80 private: | 82 private: |
| 81 ~SynchronousCompositorFilter() override; | 83 ~SynchronousCompositorFilter() override; |
| 82 | 84 |
| 83 // IO thread methods. | 85 // IO thread methods. |
| 84 void SendOnIOThread(IPC::Message* message); | 86 void SendOnIOThread(IPC::Message* message); |
| 85 | 87 |
| 86 // Compositor thread methods. | 88 // Compositor thread methods. |
| 87 void FilterReadyyOnCompositorThread(); | 89 void FilterReadyyOnCompositorThread(); |
| 88 void OnMessageReceivedOnCompositorThread(const IPC::Message& message); | 90 void OnMessageReceivedOnCompositorThread(const IPC::Message& message); |
| 89 void SetBoundHandlerOnCompositorThread(const Handler& handler); | 91 void SetBoundHandlerOnCompositorThread(const Handler& handler); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 116 }; | 118 }; |
| 117 using EntryMap = base::hash_map<int, Entry>; | 119 using EntryMap = base::hash_map<int, Entry>; |
| 118 EntryMap entry_map_; | 120 EntryMap entry_map_; |
| 119 | 121 |
| 120 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorFilter); | 122 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorFilter); |
| 121 }; | 123 }; |
| 122 | 124 |
| 123 } // namespace content | 125 } // namespace content |
| 124 | 126 |
| 125 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ | 127 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ |
| OLD | NEW |