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

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: Remove LongPressDetector entirely (happiness) Created 6 years, 11 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 InputEventAckState ack_result) OVERRIDE; 150 InputEventAckState ack_result) OVERRIDE;
151 virtual void SetHasHorizontalScrollbar( 151 virtual void SetHasHorizontalScrollbar(
152 bool has_horizontal_scrollbar) OVERRIDE; 152 bool has_horizontal_scrollbar) OVERRIDE;
153 virtual void SetScrollOffsetPinning( 153 virtual void SetScrollOffsetPinning(
154 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 154 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
155 virtual void UnhandledWheelEvent( 155 virtual void UnhandledWheelEvent(
156 const blink::WebMouseWheelEvent& event) OVERRIDE; 156 const blink::WebMouseWheelEvent& event) OVERRIDE;
157 virtual InputEventAckState FilterInputEvent( 157 virtual InputEventAckState FilterInputEvent(
158 const blink::WebInputEvent& input_event) OVERRIDE; 158 const blink::WebInputEvent& input_event) OVERRIDE;
159 virtual void OnSetNeedsFlushInput() OVERRIDE; 159 virtual void OnSetNeedsFlushInput() OVERRIDE;
160 virtual void GestureEventAck(int gesture_event_type, 160 virtual void GestureEventAck(const blink::WebGestureEvent& event,
161 InputEventAckState ack_result) OVERRIDE; 161 InputEventAckState ack_result) OVERRIDE;
162 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; 162 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE;
163 virtual bool LockMouse() OVERRIDE; 163 virtual bool LockMouse() OVERRIDE;
164 virtual void UnlockMouse() OVERRIDE; 164 virtual void UnlockMouse() OVERRIDE;
165 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; 165 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
166 virtual void OnSwapCompositorFrame( 166 virtual void OnSwapCompositorFrame(
167 uint32 output_surface_id, 167 uint32 output_surface_id,
168 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 168 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
169 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 169 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
170 gfx::Vector2dF current_fling_velocity) OVERRIDE; 170 gfx::Vector2dF current_fling_velocity) OVERRIDE;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 const bool using_synchronous_compositor_; 350 const bool using_synchronous_compositor_;
351 351
352 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; 352 scoped_ptr<DelegatedFrameEvictor> frame_evictor_;
353 353
354 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 354 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
355 }; 355 };
356 356
357 } // namespace content 357 } // namespace content
358 358
359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698