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

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: more vector use fixes 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 7e543407b442fb5102919c18da1a1fd947e1fa0e..6bc87eb88eaca8b9f3101ac2c34b5ba8ea20b02b 100644
--- a/content/browser/web_contents/web_contents_drag_win.h
+++ b/content/browser/web_contents/web_contents_drag_win.h
@@ -48,7 +48,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.
@@ -75,7 +75,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,
@@ -83,7 +83,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