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

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

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RenderText fixup Created 8 years, 2 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_view_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index 54452bc5485cf18a22e92894b655f7caec947478..67c1f039c175fabf08cb1a66263c3b83aedbdf33 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -56,7 +56,7 @@ class RenderWidgetHostViewAndroid : public RenderWidgetHostViewBase {
virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE;
virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE;
virtual void MovePluginWindows(
- const gfx::Point& scroll_offset,
+ const gfx::Vector2d& scroll_offset,
const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE;
virtual void Focus() OVERRIDE;
virtual void Blur() OVERRIDE;
@@ -120,7 +120,7 @@ class RenderWidgetHostViewAndroid : public RenderWidgetHostViewBase {
virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE;
virtual void SetCachedPageScaleFactorLimits(float minimum_scale,
float maximum_scale) OVERRIDE;
- virtual void UpdateFrameInfo(const gfx::Point& scroll_offset,
+ virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset,
float page_scale_factor,
const gfx::Size& content_size) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698