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

Unified Diff: content/renderer/drop_data_builder.cc

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 | « content/public/common/drop_data.cc ('k') | third_party/WebKit/Source/core/clipboard/DataObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/drop_data_builder.cc
diff --git a/content/renderer/drop_data_builder.cc b/content/renderer/drop_data_builder.cc
index 1016bcffe5be0952f51045db52860acc35a5af1a..e10d8d798788b9e2289cd674d95d38aa2e70eeb1 100644
--- a/content/renderer/drop_data_builder.cc
+++ b/content/renderer/drop_data_builder.cc
@@ -23,6 +23,7 @@ namespace content {
// static
DropData DropDataBuilder::Build(const WebDragData& drag_data) {
DropData result;
+ result.key_modifiers = drag_data.modifierKeyState();
result.referrer_policy = blink::WebReferrerPolicyDefault;
const WebVector<WebDragData::Item>& item_list = drag_data.items();
« no previous file with comments | « content/public/common/drop_data.cc ('k') | third_party/WebKit/Source/core/clipboard/DataObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698