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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.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.h
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
index 72fa56981561fcbe1c7cc76bfd53b1b466db9cbf..d28279881733530ea8e6db529f185c64aa46bd31 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -26,7 +26,10 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_contents_observer.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
#include "ui/surface/transport_dib.h"
+#include "webkit/glue/webdropdata.h"
class WebContentsImpl;
struct BrowserPluginHostMsg_ResizeGuest_Params;
@@ -36,6 +39,7 @@ class WebInputEvent;
}
namespace gfx {
+class Point;
class Rect;
class Size;
}
@@ -107,6 +111,11 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
void PluginDestroyed(int instance_id);
void SetGuestVisibility(int instance_id,
bool guest_visible);
+ void DragStatusUpdate(int instance_id,
+ WebKit::WebDragStatus drag_status,
+ const WebDropData& drop_data,
+ WebKit::WebDragOperationsMask drag_mask,
+ const gfx::Point& location);
// Overrides factory for testing. Default (NULL) value indicates regular
// (non-test) environment.

Powered by Google App Engine
This is Rietveld 408576698