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

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

Powered by Google App Engine
This is Rietveld 408576698