| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 const NativeWebKeyboardEvent& key_event, | 56 const NativeWebKeyboardEvent& key_event, |
| 57 const ui::LatencyInfo& latency_info, | 57 const ui::LatencyInfo& latency_info, |
| 58 bool is_keyboard_shortcut) OVERRIDE; | 58 bool is_keyboard_shortcut) OVERRIDE; |
| 59 virtual void SendGestureEvent( | 59 virtual void SendGestureEvent( |
| 60 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; | 60 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; |
| 61 virtual void SendTouchEvent( | 61 virtual void SendTouchEvent( |
| 62 const TouchEventWithLatencyInfo& touch_event) OVERRIDE; | 62 const TouchEventWithLatencyInfo& touch_event) OVERRIDE; |
| 63 virtual const NativeWebKeyboardEvent* GetLastKeyboardEvent() const OVERRIDE; | 63 virtual const NativeWebKeyboardEvent* GetLastKeyboardEvent() const OVERRIDE; |
| 64 virtual bool ShouldForwardTouchEvent() const OVERRIDE; | 64 virtual bool ShouldForwardTouchEvent() const OVERRIDE; |
| 65 virtual void OnViewUpdated(int view_flags) OVERRIDE; | 65 virtual void OnViewUpdated(int view_flags) OVERRIDE; |
| 66 virtual void DidStopFlinging() OVERRIDE; |
| 66 | 67 |
| 67 // IPC::Listener | 68 // IPC::Listener |
| 68 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 69 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 69 | 70 |
| 70 private: | 71 private: |
| 71 friend class InputRouterImplTest; | 72 friend class InputRouterImplTest; |
| 72 friend class MockRenderWidgetHost; | 73 friend class MockRenderWidgetHost; |
| 73 | 74 |
| 74 // TouchpadTapSuppressionControllerClient | 75 // TouchpadTapSuppressionControllerClient |
| 75 virtual void SendMouseEventImmediately( | 76 virtual void SendMouseEventImmediately( |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 scoped_ptr<TouchEventQueue> touch_event_queue_; | 247 scoped_ptr<TouchEventQueue> touch_event_queue_; |
| 247 scoped_ptr<GestureEventFilter> gesture_event_filter_; | 248 scoped_ptr<GestureEventFilter> gesture_event_filter_; |
| 248 TouchActionFilter touch_action_filter_; | 249 TouchActionFilter touch_action_filter_; |
| 249 | 250 |
| 250 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); | 251 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); |
| 251 }; | 252 }; |
| 252 | 253 |
| 253 } // namespace content | 254 } // namespace content |
| 254 | 255 |
| 255 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 256 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| OLD | NEW |