| 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 ddcf6f1fbea001b9fc37cebece4ef7fc76f6be1f..d3ca10ceff26a99aa2896d6d217952bda78c0abf 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder.h
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.h
|
| @@ -16,6 +16,7 @@
|
|
|
| #include <map>
|
|
|
| +#include "base/memory/weak_ptr.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
|
|
| @@ -28,6 +29,7 @@ class Point;
|
|
|
| namespace content {
|
|
|
| +class BrowserPluginGuest;
|
| class BrowserPluginGuestManager;
|
| class BrowserPluginHostFactory;
|
| class WebContentsImpl;
|
| @@ -55,6 +57,23 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
|
| // WebContentsObserver implementation.
|
| virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
| + virtual void SystemDragEnded() OVERRIDE;
|
| +
|
| + void DragSourceEndedAt(int client_x, int client_y, int screen_x,
|
| + int screen_y, WebKit::WebDragOperation operation);
|
| +
|
| + void DragSourceMovedTo(int client_x, int client_y,
|
| + int screen_x, int screen_y);
|
| +
|
| + void OnUpdateDragCursor(bool* handled);
|
| +
|
| + void DragEnteredGuest(BrowserPluginGuest* guest);
|
| +
|
| + void DragLeftGuest(BrowserPluginGuest* guest);
|
| +
|
| + void StartDrag(BrowserPluginGuest* guest);
|
| +
|
| + void StopDrag(BrowserPluginGuest* guest);
|
|
|
| private:
|
| friend class TestBrowserPluginEmbedder;
|
| @@ -87,6 +106,8 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
|
| GetRenderViewHostCallbackMap pending_get_render_view_callbacks_;
|
| // Next request id for BrowserPluginMsg_PluginAtPositionRequest query.
|
| int next_get_render_view_request_id_;
|
| + base::WeakPtr<BrowserPluginGuest> guest_dragging_over_;
|
| + base::WeakPtr<BrowserPluginGuest> guest_started_drag_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedder);
|
| };
|
|
|