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); | |
89 | 87 |
90 // TouchpadTapSuppressionControllerClient | 88 // TouchpadTapSuppressionControllerClient |
91 void SendMouseEventImmediately( | 89 void SendMouseEventImmediately( |
92 const MouseEventWithLatencyInfo& mouse_event) override; | 90 const MouseEventWithLatencyInfo& mouse_event) override; |
93 | 91 |
94 // TouchEventQueueClient | 92 // TouchEventQueueClient |
95 void SendTouchEventImmediately( | 93 void SendTouchEventImmediately( |
96 const TouchEventWithLatencyInfo& touch_event) override; | 94 const TouchEventWithLatencyInfo& touch_event) override; |
97 void OnTouchEventAck(const TouchEventWithLatencyInfo& event, | 95 void OnTouchEventAck(const TouchEventWithLatencyInfo& event, |
98 InputEventAckState ack_result) override; | 96 InputEventAckState ack_result) override; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 InputEventStreamValidator output_stream_validator_; | 257 InputEventStreamValidator output_stream_validator_; |
260 | 258 |
261 float device_scale_factor_; | 259 float device_scale_factor_; |
262 | 260 |
263 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); | 261 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); |
264 }; | 262 }; |
265 | 263 |
266 } // namespace content | 264 } // namespace content |
267 | 265 |
268 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 266 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
OLD | NEW |