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

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

Issue 23801003: input: Make the OverscrollController less intrusive, and some code cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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 | Annotate | Revision Log
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_IMMEDIATE_INPUT_ROUTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void SendMouseEventImmediately( 55 virtual void SendMouseEventImmediately(
56 const MouseEventWithLatencyInfo& mouse_event) OVERRIDE; 56 const MouseEventWithLatencyInfo& mouse_event) OVERRIDE;
57 virtual void SendTouchEventImmediately( 57 virtual void SendTouchEventImmediately(
58 const TouchEventWithLatencyInfo& touch_event) OVERRIDE; 58 const TouchEventWithLatencyInfo& touch_event) OVERRIDE;
59 virtual void SendGestureEventImmediately( 59 virtual void SendGestureEventImmediately(
60 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; 60 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE;
61 virtual const NativeWebKeyboardEvent* GetLastKeyboardEvent() const OVERRIDE; 61 virtual const NativeWebKeyboardEvent* GetLastKeyboardEvent() const OVERRIDE;
62 virtual bool ShouldForwardTouchEvent() const OVERRIDE; 62 virtual bool ShouldForwardTouchEvent() const OVERRIDE;
63 virtual bool ShouldForwardGestureEvent( 63 virtual bool ShouldForwardGestureEvent(
64 const GestureEventWithLatencyInfo& gesture_event) const OVERRIDE; 64 const GestureEventWithLatencyInfo& gesture_event) const OVERRIDE;
65 virtual bool HasQueuedGestureEvents() const OVERRIDE;
66 65
67 // IPC::Listener 66 // IPC::Listener
68 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 67 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
69 68
70 GestureEventFilter* gesture_event_filter() { 69 GestureEventFilter* gesture_event_filter() {
71 return gesture_event_filter_.get(); 70 return gesture_event_filter_.get();
72 } 71 }
73 72
74 TouchEventQueue* touch_event_queue() { 73 TouchEventQueue* touch_event_queue() {
75 return touch_event_queue_.get(); 74 return touch_event_queue_.get();
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 200
202 scoped_ptr<TouchEventQueue> touch_event_queue_; 201 scoped_ptr<TouchEventQueue> touch_event_queue_;
203 scoped_ptr<GestureEventFilter> gesture_event_filter_; 202 scoped_ptr<GestureEventFilter> gesture_event_filter_;
204 203
205 DISALLOW_COPY_AND_ASSIGN(ImmediateInputRouter); 204 DISALLOW_COPY_AND_ASSIGN(ImmediateInputRouter);
206 }; 205 };
207 206
208 } // namespace content 207 } // namespace content
209 208
210 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_ 209 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698