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

Unified Diff: webkit/glue/webview_impl.h

Issue 28158: Add an identity (id) to system drag & drop. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « webkit/glue/webview.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.h
diff --git a/webkit/glue/webview_impl.h b/webkit/glue/webview_impl.h
index 9023d9619d58d8c8d51d741c90400f75cf5039b4..2c0a118db18e7e4edc7623f22f3668fb04a9c48a 100644
--- a/webkit/glue/webview_impl.h
+++ b/webkit/glue/webview_impl.h
@@ -100,6 +100,7 @@ class WebViewImpl : public WebView, public base::RefCounted<WebViewImpl> {
virtual void DragTargetDragLeave();
virtual void DragTargetDrop(
int client_x, int client_y, int screen_x, int screen_y);
+ virtual int32 GetDragIdentity();
virtual void AutofillSuggestionsForNode(
int64 node_id,
const std::vector<std::wstring>& suggestions,
@@ -294,6 +295,14 @@ class WebViewImpl : public WebView, public base::RefCounted<WebViewImpl> {
// Represents whether or not this object should process incoming IME events.
bool ime_accept_events_;
+ // True while dispatching system drag and drop events to drag/drop targets
+ // within this WebView.
+ bool drag_target_dispatch_;
+
+ // Valid when drag_target_dispatch_ is true; the identity of the drag data
+ // copied from the WebDropData object sent from the browser process.
+ int32 drag_identity_;
+
// The autocomplete popup. Kept around and reused every-time new suggestions
// should be shown.
RefPtr<WebCore::PopupContainer> autocomplete_popup_;
« no previous file with comments | « webkit/glue/webview.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698