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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataObject.cpp

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: Created 5 years, 1 month 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: third_party/WebKit/Source/core/clipboard/DataObject.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.cpp b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
index 768532a05cfd8fc3602fb9c96d253795b26b398a..4ecc4eb46fc3fe70133ff7dbbb34a0fd4c749d8d 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
@@ -297,6 +297,7 @@ WebDragData DataObject::toWebDragData()
{
WebDragData data;
data.initialize();
+ data.setModifierKeyState(m_modifiers);
WebVector<WebDragData::Item> itemList(length());
for (size_t i = 0; i < length(); ++i) {

Powered by Google App Engine
This is Rietveld 408576698