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

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

Issue 945333002: Implement <webview> droplink event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_bpe
Patch Set: Addressed Istiaque's comments Created 5 years, 10 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 7153fd15c880042f3d64e6a5d96ecb581c2dadfd..c42f7b84ed76ecde24e9e3c7e7feb682936b590f 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -42,13 +42,19 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
bool OnMessageReceived(const IPC::Message& message,
RenderFrameHost* render_frame_host) override;
+ // Sends a 'dragend' message to the guest that started the drag.
void DragSourceEndedAt(int client_x, int client_y, int screen_x,
int screen_y, blink::WebDragOperation operation);
- void DragEnteredGuest(BrowserPluginGuest* guest);
+ // Indicates that a drag operation has entered into the bounds of a given
+ // |guest|. Returns whether the |guest| also started the operation.
+ bool DragEnteredGuest(BrowserPluginGuest* guest);
+ // Indicates that a drag operation has left the bounds of a given |guest|.
void DragLeftGuest(BrowserPluginGuest* guest);
+ // Called by WebContentsViewGuest when a drag operation is started within
+ // |guest|. This |guest| will be signaled at the end of the drag operation.
void StartDrag(BrowserPluginGuest* guest);
// Sends EndSystemDrag message to the guest that initiated the last drag/drop
« no previous file with comments | « chrome/browser/resources/gaia_auth_host/authenticator.js ('k') | content/browser/browser_plugin/browser_plugin_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698