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

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: 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/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 f7b73616a5edc6c8adca0285b54b36c2a86d25a8..12f07cc43a62e1b71000003bc69f49f988be4e7b 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