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

Unified Diff: content/port/browser/render_view_host_delegate_view.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/port/browser/render_view_host_delegate_view.h
diff --git a/content/port/browser/render_view_host_delegate_view.h b/content/port/browser/render_view_host_delegate_view.h
index b59d6e02411fda0dd03669604d92f2a3539799e3..4b84cb84d1b6bb12ec256482d30d7667ad5aaa49 100644
--- a/content/port/browser/render_view_host_delegate_view.h
+++ b/content/port/browser/render_view_host_delegate_view.h
@@ -18,8 +18,8 @@ struct WebMenuItem;
namespace gfx {
class ImageSkia;
-class Point;
class Rect;
+class Vector2d;
}
namespace content {
@@ -53,7 +53,7 @@ class CONTENT_EXPORT RenderViewHostDelegateView {
virtual void StartDragging(const WebDropData& drop_data,
WebKit::WebDragOperationsMask allowed_ops,
const gfx::ImageSkia& image,
- const gfx::Point& image_offset) {}
+ const gfx::Vector2d& image_offset) {}
// The page wants to update the mouse cursor during a drag & drop operation.
// |operation| describes the current operation (none, move, copy, link.)

Powered by Google App Engine
This is Rietveld 408576698