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

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

Issue 15029006: Make it possible for the scroll offset delegate to intercept fling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reactivate the patch! Created 7 years, 4 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 (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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, 215 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel,
216 int gpu_host_id) OVERRIDE; 216 int gpu_host_id) OVERRIDE;
217 virtual void AcceleratedSurfacePostSubBuffer( 217 virtual void AcceleratedSurfacePostSubBuffer(
218 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, 218 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel,
219 int gpu_host_id) OVERRIDE; 219 int gpu_host_id) OVERRIDE;
220 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 220 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
221 virtual void AcceleratedSurfaceRelease() OVERRIDE; 221 virtual void AcceleratedSurfaceRelease() OVERRIDE;
222 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 222 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
223 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 223 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
224 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 224 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
225 virtual void GestureEventAck(int gesture_event_type) OVERRIDE; 225 virtual void GestureEventAck(int gesture_event_type,
226 InputEventAckState ack_result) OVERRIDE;
226 virtual void ProcessAckedTouchEvent( 227 virtual void ProcessAckedTouchEvent(
227 const TouchEventWithLatencyInfo& touch, 228 const TouchEventWithLatencyInfo& touch,
228 InputEventAckState ack_result) OVERRIDE; 229 InputEventAckState ack_result) OVERRIDE;
229 virtual SmoothScrollGesture* CreateSmoothScrollGesture( 230 virtual SmoothScrollGesture* CreateSmoothScrollGesture(
230 bool scroll_down, 231 bool scroll_down,
231 int pixels_to_scroll, 232 int pixels_to_scroll,
232 int mouse_event_x, 233 int mouse_event_x,
233 int mouse_event_y) OVERRIDE; 234 int mouse_event_y) OVERRIDE;
234 virtual void SetHasHorizontalScrollbar( 235 virtual void SetHasHorizontalScrollbar(
235 bool has_horizontal_scrollbar) OVERRIDE; 236 bool has_horizontal_scrollbar) OVERRIDE;
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 TouchEditingClient* touch_editing_client_; 694 TouchEditingClient* touch_editing_client_;
694 695
695 ui::LatencyInfo software_latency_info_; 696 ui::LatencyInfo software_latency_info_;
696 697
697 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 698 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
698 }; 699 };
699 700
700 } // namespace content 701 } // namespace content
701 702
702 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 703 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698