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

Unified Diff: third_party/WebKit/public/platform/WebDragData.h

Issue 1411913010: Propagate drag-and-drop key modifiers to WebView's guest renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix initialiser order. Created 4 years, 7 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 | « third_party/WebKit/Source/core/clipboard/DataObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebDragData.h
diff --git a/third_party/WebKit/public/platform/WebDragData.h b/third_party/WebKit/public/platform/WebDragData.h
index dd3254a75d873cd50c3bd189765f15cabd23f638..3e5fc11ec1b0f913f42a45e52abfb7a83db4ba63 100644
--- a/third_party/WebKit/public/platform/WebDragData.h
+++ b/third_party/WebKit/public/platform/WebDragData.h
@@ -137,6 +137,16 @@ public:
m_filesystemId = filesystemId;
}
+ int modifierKeyState() const
+ {
+ return m_modifierKeyState;
+ }
+
+ void setModifierKeyState(int state)
+ {
+ m_modifierKeyState = state;
+ }
+
private:
bool m_valid;
WebVector<Item> m_itemList;
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698