Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: content/browser/renderer_host/input/input_router_impl.h

Issue 954973003: Always forward touch events to the TouchEventQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More validation Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/input_router.h ('k') | content/browser/renderer_host/input/input_router_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698