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

Unified Diff: content/common/drag_messages.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/common/drag_messages.h
diff --git a/content/common/drag_messages.h b/content/common/drag_messages.h
index f1d8ce7df54924bd52029849657b1685d0f7bfe9..0ad3db81342ff9dfb96d81bc733be10a3edd7dc5 100644
--- a/content/common/drag_messages.h
+++ b/content/common/drag_messages.h
@@ -10,6 +10,7 @@
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
#include "ui/gfx/point.h"
+#include "ui/gfx/vector2d.h"
#include "webkit/glue/webdropdata.h"
#define IPC_MESSAGE_START DragMsgStart
@@ -57,7 +58,7 @@ IPC_MESSAGE_ROUTED4(DragHostMsg_StartDragging,
WebDropData /* drop_data */,
WebKit::WebDragOperationsMask /* ops_allowed */,
SkBitmap /* image */,
- gfx::Point /* image_offset */)
+ gfx::Vector2d /* image_offset */)
// The page wants to update the mouse cursor during a drag & drop operation.
// |is_drop_target| is true if the mouse is over a valid drop target.

Powered by Google App Engine
This is Rietveld 408576698