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

Unified Diff: content/browser/web_contents/web_contents_drag_win.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: build 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/web_contents/web_contents_drag_win.h
diff --git a/content/browser/web_contents/web_contents_drag_win.h b/content/browser/web_contents/web_contents_drag_win.h
index 73c65c14c36f087234b3e655287df8b9828311fb..d10c92270a0b91b0ee9e8ed1a3b27f02f0a7a68b 100644
--- a/content/browser/web_contents/web_contents_drag_win.h
+++ b/content/browser/web_contents/web_contents_drag_win.h
@@ -49,7 +49,7 @@ class CONTENT_EXPORT WebContentsDragWin
void StartDragging(const WebDropData& drop_data,
WebKit::WebDragOperationsMask ops,
const gfx::ImageSkia& image,
- const gfx::Point& image_offset);
+ const gfx::Vector2d& image_offset);
void CancelDrag();
// DataObjectImpl::Observer implementation.
@@ -76,7 +76,7 @@ class CONTENT_EXPORT WebContentsDragWin
const GURL& page_url,
const std::string& page_encoding,
const gfx::ImageSkia& image,
- const gfx::Point& image_offset);
+ const gfx::Vector2d& image_offset);
// Called on drag-and-drop thread.
void StartBackgroundDragging(const WebDropData& drop_data,
@@ -84,7 +84,7 @@ class CONTENT_EXPORT WebContentsDragWin
const GURL& page_url,
const std::string& page_encoding,
const gfx::ImageSkia& image,
- const gfx::Point& image_offset);
+ const gfx::Vector2d& image_offset);
// Called on UI thread.
void EndDragging();
void CloseThread();

Powered by Google App Engine
This is Rietveld 408576698