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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder_helper.h

Issue 11088043: browser-plugin: Allow accepting drag-n-drop events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/browser_plugin/browser_plugin_embedder_helper.h
diff --git a/content/browser/browser_plugin/browser_plugin_embedder_helper.h b/content/browser/browser_plugin/browser_plugin_embedder_helper.h
index f89cb48fd99a35ac25d2618e5c077be5dcb1d35f..30db73f33c3e77df1db512f0054b9cb62976d2dd 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder_helper.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.h
@@ -9,6 +9,8 @@
#include "base/compiler_specific.h"
#include "content/public/browser/render_view_host_observer.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
namespace IPC {
class Message;
@@ -16,10 +18,12 @@ class SyncMessage;
}
namespace gfx {
+class Point;
class Size;
}
struct BrowserPluginHostMsg_ResizeGuest_Params;
+struct WebDropData;
namespace content {
@@ -68,6 +72,11 @@ class BrowserPluginEmbedderHelper : public RenderViewHostObserver {
void OnReload(int instance_id);
void OnTerminateGuest(int instance_id);
void OnSetGuestVisibility(int instance_id, bool visible);
+ void OnDragStatusUpdate(int instance_id,
+ WebKit::WebDragStatus drag_status,
+ const WebDropData& drop_data,
+ WebKit::WebDragOperationsMask drag_mask,
+ const gfx::Point& location);
BrowserPluginEmbedder* embedder_;

Powered by Google App Engine
This is Rietveld 408576698