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

Unified Diff: content/public/common/drop_data.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 | « content/common/drag_traits.h ('k') | content/public/common/drop_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/drop_data.h
diff --git a/content/public/common/drop_data.h b/content/public/common/drop_data.h
index fce6db13774f772181d135a12c452ff553f58699..53a76de75a1f9ff9df35e4475f096b6acd61f90e 100644
--- a/content/public/common/drop_data.h
+++ b/content/public/common/drop_data.h
@@ -75,6 +75,12 @@ struct CONTENT_EXPORT DropData {
std::string file_contents;
std::map<base::string16, base::string16> custom_data;
+
+ // The key-modifiers present for this update, included here so BrowserPlugin
+ // can forward them to the guest renderer.
+ // TODO(wjmaclean): This can probably be removed when BrowserPlugin goes
+ // away, https://crbug.com/533069.
+ int key_modifiers;
};
} // namespace content
« no previous file with comments | « content/common/drag_traits.h ('k') | content/public/common/drop_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698