| 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 <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void SendMouseEvent(const MouseEventWithLatencyInfo& mouse_event) override; | 61 void SendMouseEvent(const MouseEventWithLatencyInfo& mouse_event) override; |
| 62 void SendWheelEvent( | 62 void SendWheelEvent( |
| 63 const MouseWheelEventWithLatencyInfo& wheel_event) override; | 63 const MouseWheelEventWithLatencyInfo& wheel_event) override; |
| 64 void SendKeyboardEvent(const NativeWebKeyboardEvent& key_event, | 64 void SendKeyboardEvent(const NativeWebKeyboardEvent& key_event, |
| 65 const ui::LatencyInfo& latency_info, | 65 const ui::LatencyInfo& latency_info, |
| 66 bool is_keyboard_shortcut) override; | 66 bool is_keyboard_shortcut) override; |
| 67 void SendGestureEvent( | 67 void SendGestureEvent( |
| 68 const GestureEventWithLatencyInfo& gesture_event) override; | 68 const GestureEventWithLatencyInfo& gesture_event) override; |
| 69 void SendTouchEvent(const TouchEventWithLatencyInfo& touch_event) override; | 69 void SendTouchEvent(const TouchEventWithLatencyInfo& touch_event) override; |
| 70 const NativeWebKeyboardEvent* GetLastKeyboardEvent() const override; | 70 const NativeWebKeyboardEvent* GetLastKeyboardEvent() const override; |
| 71 bool ShouldForwardTouchEvent() const override; | |
| 72 void OnViewUpdated(int view_flags) override; | 71 void OnViewUpdated(int view_flags) override; |
| 73 bool HasPendingEvents() const override; | 72 bool HasPendingEvents() const override; |
| 74 | 73 |
| 75 // IPC::Listener | 74 // IPC::Listener |
| 76 bool OnMessageReceived(const IPC::Message& message) override; | 75 bool OnMessageReceived(const IPC::Message& message) override; |
| 77 | 76 |
| 78 private: | 77 private: |
| 79 friend class InputRouterImplTest; | 78 friend class InputRouterImplTest; |
| 80 | 79 |
| 81 // TouchpadTapSuppressionControllerClient | 80 // TouchpadTapSuppressionControllerClient |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 TouchActionFilter touch_action_filter_; | 253 TouchActionFilter touch_action_filter_; |
| 255 InputEventStreamValidator input_stream_validator_; | 254 InputEventStreamValidator input_stream_validator_; |
| 256 InputEventStreamValidator output_stream_validator_; | 255 InputEventStreamValidator output_stream_validator_; |
| 257 | 256 |
| 258 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); | 257 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); |
| 259 }; | 258 }; |
| 260 | 259 |
| 261 } // namespace content | 260 } // namespace content |
| 262 | 261 |
| 263 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 262 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| OLD | NEW |