diff options
author | aruslan@chromium.org <aruslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-27 23:52:34 +0000 |
---|---|---|
committer | aruslan@chromium.org <aruslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-27 23:52:34 +0000 |
commit | fa8562ec457b23ea817811080f2a72a0d1480de1 (patch) | |
tree | 3bec29c84c246f1b4c68a41beb702e6ffd54ea13 /content/port | |
parent | 7a7736848d087c6189ba6cd40ddc635f2b20438e (diff) | |
download | chromium_src-fa8562ec457b23ea817811080f2a72a0d1480de1.zip chromium_src-fa8562ec457b23ea817811080f2a72a0d1480de1.tar.gz chromium_src-fa8562ec457b23ea817811080f2a72a0d1480de1.tar.bz2 |
This is a no-op CL (with exceptions of int->float switch and the units used for scrolling).
All necessary fixes for incorrect units/transforms had been already landed.
- Removed ScheduleUpdateFrameInfo() and SendUpdateFrameInfo().
- Extracted a RenderCoordinates utility class that caches the floating point frame info received from the renderer.
- Scroll offset/extent/range are now in physical pixels.
- Clarified and unified unit conversions (pix vs css vs dp) where reasonable.
- Switched CompositorFrameInfo to use floats and changed ContentViewCore accordingly where feasible.
BUG=174102, 175499, 175497
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12278024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index a67253f..9b74202 100644 --- a/content/port/browser/render_widget_host_view_port.h +++ b/content/port/browser/render_widget_host_view_port.h @@ -270,11 +270,11 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, #if defined(OS_ANDROID) virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap) = 0; - virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, + virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, float page_scale_factor, - float min_page_scale_factor, - float max_page_scale_factor, - const gfx::Size& content_size, + const gfx::Vector2dF& page_scale_factor_limits, + const gfx::SizeF& content_size, + const gfx::SizeF& viewport_size, const gfx::Vector2dF& controls_offset, const gfx::Vector2dF& content_offset) = 0; virtual void HasTouchEventHandlers(bool need_touch_events) = 0; |