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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 12077046: Plumb an overscroll callback form the compositor to the Android UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 823208aeb89e5f9608b8873005a8cd3933cf6c8c..82104eaae5bb86e3fb9b7af943e367327a188836 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -32,6 +32,7 @@
class WebCursor;
struct AcceleratedSurfaceMsg_BufferPresented_Params;
struct ViewHostMsg_UpdateRect_Params;
+struct ViewHostMsg_UpdateFrameInfo_Params;
struct ViewHostMsg_TextInputState_Params;
struct ViewHostMsg_BeginSmoothScroll_Params;
@@ -603,11 +604,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
uint64 surface_handle);
#endif
#if defined(OS_ANDROID)
- void OnUpdateFrameInfo(const gfx::Vector2d& scroll_offset,
- float page_scale_factor,
- float min_page_scale_factor,
- float max_page_scale_factor,
- const gfx::Size& content_size);
+ void OnUpdateFrameInfo(const ViewHostMsg_UpdateFrameInfo_Params& params);
#endif
#if defined(TOOLKIT_GTK)
void OnCreatePluginContainer(gfx::PluginWindowHandle id);

Powered by Google App Engine
This is Rietveld 408576698