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

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 11552009: Add support for calculating the position of the top controls in the cc layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to add the changes to cc_messages.h Created 8 years 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/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 0da1bc0c7c2a11500b450664603949b2f06d479a..4d9baff9687e52e88970099e553d148ae8fbdac8 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -237,7 +237,9 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
float page_scale_factor,
float min_page_scale_factor,
float max_page_scale_factor,
- const gfx::Size& content_size) = 0;
+ const gfx::Size& content_size,
+ const gfx::PointF& controls_offset,
+ const gfx::PointF& content_offset) = 0;
virtual void HasTouchEventHandlers(bool need_touch_events) = 0;
#endif
« content/browser/renderer_host/render_process_host_impl.cc ('K') | « content/common/cc_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698