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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, 229 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel,
230 int gpu_host_id) OVERRIDE; 230 int gpu_host_id) OVERRIDE;
231 virtual void AcceleratedSurfacePostSubBuffer( 231 virtual void AcceleratedSurfacePostSubBuffer(
232 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, 232 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel,
233 int gpu_host_id) OVERRIDE; 233 int gpu_host_id) OVERRIDE;
234 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 234 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
235 virtual void AcceleratedSurfaceRelease() OVERRIDE; 235 virtual void AcceleratedSurfaceRelease() OVERRIDE;
236 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 236 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
237 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; 237 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE;
238 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 238 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
239 virtual void GestureEventAck(int gesture_event_type, 239 virtual void GestureEventAck(const blink::WebGestureEvent& event,
240 InputEventAckState ack_result) OVERRIDE; 240 InputEventAckState ack_result) OVERRIDE;
241 virtual void ProcessAckedTouchEvent( 241 virtual void ProcessAckedTouchEvent(
242 const TouchEventWithLatencyInfo& touch, 242 const TouchEventWithLatencyInfo& touch,
243 InputEventAckState ack_result) OVERRIDE; 243 InputEventAckState ack_result) OVERRIDE;
244 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 244 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
245 OVERRIDE; 245 OVERRIDE;
246 virtual void SetHasHorizontalScrollbar( 246 virtual void SetHasHorizontalScrollbar(
247 bool has_horizontal_scrollbar) OVERRIDE; 247 bool has_horizontal_scrollbar) OVERRIDE;
248 virtual void SetScrollOffsetPinning( 248 virtual void SetScrollOffsetPinning(
249 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 249 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 // passed to windowless plugins like Flash/Silverlight, etc as the 802 // passed to windowless plugins like Flash/Silverlight, etc as the
803 // container window. 803 // container window.
804 HWND plugin_parent_window_; 804 HWND plugin_parent_window_;
805 #endif 805 #endif
806 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 806 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
807 }; 807 };
808 808
809 } // namespace content 809 } // namespace content
810 810
811 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 811 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698