diff options
author | tedchoc@chromium.org <tedchoc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 03:58:38 +0000 |
---|---|---|
committer | tedchoc@chromium.org <tedchoc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 03:58:38 +0000 |
commit | 3ba4cae36f9c80067c103809fa3f65ad18c7f2d5 (patch) | |
tree | d62946f6f8e8a15cc76d37fe8f2c89117a6b35d8 /content/port | |
parent | dc87a404f3c9f0d64df6fc208b9857e8d115eba3 (diff) | |
download | chromium_src-3ba4cae36f9c80067c103809fa3f65ad18c7f2d5.zip chromium_src-3ba4cae36f9c80067c103809fa3f65ad18c7f2d5.tar.gz chromium_src-3ba4cae36f9c80067c103809fa3f65ad18c7f2d5.tar.bz2 |
Add support for calculating the position of the top controls in the cc layer.
Provides a means for keeping the top controls in sync with the currently
renderered frame, which will allow us to move the top controls around the
screen.
BUG=161303
Review URL: https://chromiumcodereview.appspot.com/11552009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index ad1dfcd..248681e 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::Vector2dF& controls_offset, + const gfx::Vector2dF& content_offset) = 0; virtual void HasTouchEventHandlers(bool need_touch_events) = 0; #endif |