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

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

Issue 20045007: Use DidOverscrollParams in the browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase... Created 6 years, 8 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(const blink::WebGestureEvent& event, 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 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 DidOverscroll(const DidOverscrollParams& params) OVERRIDE;
170 gfx::Vector2dF current_fling_velocity) OVERRIDE;
171 virtual void DidStopFlinging() OVERRIDE; 170 virtual void DidStopFlinging() OVERRIDE;
172 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 171 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
173 const SkBitmap& zoomed_bitmap) OVERRIDE; 172 const SkBitmap& zoomed_bitmap) OVERRIDE;
174 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 173 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
175 OVERRIDE; 174 OVERRIDE;
176 virtual void LockCompositingSurface() OVERRIDE; 175 virtual void LockCompositingSurface() OVERRIDE;
177 virtual void UnlockCompositingSurface() OVERRIDE; 176 virtual void UnlockCompositingSurface() OVERRIDE;
178 177
179 // Implementation of BrowserAccessibilityDelegate: 178 // Implementation of BrowserAccessibilityDelegate:
180 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE; 179 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 }; 372 };
374 373
375 scoped_ptr<LastFrameInfo> last_frame_info_; 374 scoped_ptr<LastFrameInfo> last_frame_info_;
376 375
377 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 376 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
378 }; 377 };
379 378
380 } // namespace content 379 } // namespace content
381 380
382 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 381 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698