| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // IPC::Listener | 78 // IPC::Listener |
| 79 bool OnMessageReceived(const IPC::Message& message) override; | 79 bool OnMessageReceived(const IPC::Message& message) override; |
| 80 | 80 |
| 81 void SetFrameTreeNodeId(int frameTreeNodeId) override; | 81 void SetFrameTreeNodeId(int frameTreeNodeId) override; |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 friend class InputRouterImplTest; | 84 friend class InputRouterImplTest; |
| 85 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, | 85 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, |
| 86 SubframeTouchEventRouting); | 86 SubframeTouchEventRouting); |
| 87 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, |
| 88 MainframeTouchEventRouting); |
| 87 | 89 |
| 88 // TouchpadTapSuppressionControllerClient | 90 // TouchpadTapSuppressionControllerClient |
| 89 void SendMouseEventImmediately( | 91 void SendMouseEventImmediately( |
| 90 const MouseEventWithLatencyInfo& mouse_event) override; | 92 const MouseEventWithLatencyInfo& mouse_event) override; |
| 91 | 93 |
| 92 // TouchEventQueueClient | 94 // TouchEventQueueClient |
| 93 void SendTouchEventImmediately( | 95 void SendTouchEventImmediately( |
| 94 const TouchEventWithLatencyInfo& touch_event) override; | 96 const TouchEventWithLatencyInfo& touch_event) override; |
| 95 void OnTouchEventAck(const TouchEventWithLatencyInfo& event, | 97 void OnTouchEventAck(const TouchEventWithLatencyInfo& event, |
| 96 InputEventAckState ack_result) override; | 98 InputEventAckState ack_result) override; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 InputEventStreamValidator output_stream_validator_; | 259 InputEventStreamValidator output_stream_validator_; |
| 258 | 260 |
| 259 float device_scale_factor_; | 261 float device_scale_factor_; |
| 260 | 262 |
| 261 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); | 263 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); |
| 262 }; | 264 }; |
| 263 | 265 |
| 264 } // namespace content | 266 } // namespace content |
| 265 | 267 |
| 266 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 268 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| OLD | NEW |