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

Unified Diff: webkit/tools/test_shell/event_sending_controller.h

Issue 174364: Plumb the DragOperation through all the layers between the platform DnD code ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « webkit/tools/test_shell/drop_delegate.cc ('k') | webkit/tools/test_shell/event_sending_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/event_sending_controller.h
===================================================================
--- webkit/tools/test_shell/event_sending_controller.h (revision 25321)
+++ webkit/tools/test_shell/event_sending_controller.h (working copy)
@@ -19,6 +19,7 @@
#include "build/build_config.h"
#include "base/gfx/point.h"
#include "base/task.h"
+#include "webkit/api/public/WebDragOperation.h"
#include "webkit/api/public/WebInputEvent.h"
#include "webkit/glue/cpp_bound_class.h"
@@ -28,6 +29,7 @@
namespace WebKit {
class WebDragData;
class WebMouseEvent;
+struct WebPoint;
}
class EventSendingController : public CppBoundClass {
@@ -40,7 +42,9 @@
void Reset();
// Simulate drag&drop system call.
- static void DoDragDrop(const WebKit::WebDragData& drag_data);
+ static void DoDragDrop(const WebKit::WebPoint &event_pos,
+ const WebKit::WebDragData& drag_data,
+ WebKit::WebDragOperationsMask operations_mask);
// JS callback methods.
void mouseDown(const CppArgumentList& args, CppVariant* result);
« no previous file with comments | « webkit/tools/test_shell/drop_delegate.cc ('k') | webkit/tools/test_shell/event_sending_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698