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

Unified Diff: content/browser/renderer_host/test_render_view_host.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/test_render_view_host.h
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h
index baddd15a787ee1543fced8bbd951055a68dc3a74..f8b72b727d66b4970bfaebf057f4421f2244c917 100644
--- a/content/browser/renderer_host/test_render_view_host.h
+++ b/content/browser/renderer_host/test_render_view_host.h
@@ -88,7 +88,7 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
virtual void WasShown() OVERRIDE {}
virtual void WasHidden() 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 {}
@@ -145,7 +145,7 @@ class TestRenderWidgetHostView : 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 {}
virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {}

Powered by Google App Engine
This is Rietveld 408576698