| 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 b8450070f171e9a4aa3d27813860789e82f3680d..5850e00f747f1844da775a487801a674de5a418e 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder.h
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.h
|
| @@ -101,6 +101,12 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) OVERRIDE;
|
|
|
| + void DragEnteredGuest(BrowserPluginGuest* guest);
|
| +
|
| + void DragLeftGuest(BrowserPluginGuest* guest);
|
| +
|
| + void StartDrag(BrowserPluginGuest* guest);
|
| +
|
| private:
|
| friend class TestBrowserPluginEmbedder;
|
|
|
| @@ -131,6 +137,12 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
|
| const std::string& mailbox_name,
|
| uint32 sync_point);
|
|
|
| + // Returns the guest browser plugin delegate that is currently dragging.
|
| + BrowserPluginGuest* GetDraggingGuest() const;
|
| +
|
| + // Returns true if there is a guest currently being dragged over.
|
| + bool IsDragOverGuest() const;
|
| +
|
| // Static factory instance (always NULL for non-test).
|
| static BrowserPluginHostFactory* factory_;
|
|
|
| @@ -151,6 +163,8 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
|
| // Next request id for BrowserPluginMsg_PluginAtPositionRequest query.
|
| int next_get_render_view_request_id_;
|
| int next_instance_id_;
|
| + BrowserPluginGuest* guest_dragging_over;
|
| + BrowserPluginGuest* guest_started_drag;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedder);
|
| };
|
|
|