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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 120513005: [Android] Perform eager gesture recognition on MotionEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More testing Created 6 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 InputEventAckState ack_result) OVERRIDE; 152 InputEventAckState ack_result) OVERRIDE;
153 virtual void SetHasHorizontalScrollbar( 153 virtual void SetHasHorizontalScrollbar(
154 bool has_horizontal_scrollbar) OVERRIDE; 154 bool has_horizontal_scrollbar) OVERRIDE;
155 virtual void SetScrollOffsetPinning( 155 virtual void SetScrollOffsetPinning(
156 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 156 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
157 virtual void UnhandledWheelEvent( 157 virtual void UnhandledWheelEvent(
158 const blink::WebMouseWheelEvent& event) OVERRIDE; 158 const blink::WebMouseWheelEvent& event) OVERRIDE;
159 virtual InputEventAckState FilterInputEvent( 159 virtual InputEventAckState FilterInputEvent(
160 const blink::WebInputEvent& input_event) OVERRIDE; 160 const blink::WebInputEvent& input_event) OVERRIDE;
161 virtual void OnSetNeedsFlushInput() OVERRIDE; 161 virtual void OnSetNeedsFlushInput() OVERRIDE;
162 virtual void GestureEventAck(int gesture_event_type, 162 virtual void GestureEventAck(const blink::WebGestureEvent& event,
163 InputEventAckState ack_result) OVERRIDE; 163 InputEventAckState ack_result) OVERRIDE;
164 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; 164 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE;
165 virtual bool LockMouse() OVERRIDE; 165 virtual bool LockMouse() OVERRIDE;
166 virtual void UnlockMouse() OVERRIDE; 166 virtual void UnlockMouse() OVERRIDE;
167 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; 167 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
168 virtual void OnSwapCompositorFrame( 168 virtual void OnSwapCompositorFrame(
169 uint32 output_surface_id, 169 uint32 output_surface_id,
170 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 170 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
171 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 171 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
172 gfx::Vector2dF current_fling_velocity) OVERRIDE; 172 gfx::Vector2dF current_fling_velocity) OVERRIDE;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 const bool using_synchronous_compositor_; 356 const bool using_synchronous_compositor_;
357 357
358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; 358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_;
359 359
360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
361 }; 361 };
362 362
363 } // namespace content 363 } // namespace content
364 364
365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698