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

Unified Diff: chrome/browser/tab_contents/web_drop_target_win.cc

Issue 2126010: Don't populate WebDropData with file URLs when dragging files. (Closed)
Patch Set: . Created 10 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 | « app/os_exchange_data_provider_win.cc ('k') | webkit/glue/webdropdata_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_drop_target_win.cc
diff --git a/chrome/browser/tab_contents/web_drop_target_win.cc b/chrome/browser/tab_contents/web_drop_target_win.cc
index c79578c882d734625abaddd8445839f12a6a574e..a9c6dd25d5396464a3815453067642ab8e33e50d 100644
--- a/chrome/browser/tab_contents/web_drop_target_win.cc
+++ b/chrome/browser/tab_contents/web_drop_target_win.cc
@@ -67,7 +67,7 @@ class InterstitialDropTarget {
if (ClipboardUtil::HasUrl(data_object)) {
std::wstring url;
std::wstring title;
- ClipboardUtil::GetUrl(data_object, &url, &title);
+ ClipboardUtil::GetUrl(data_object, &url, &title, true);
tab_contents_->OpenURL(GURL(url), GURL(), CURRENT_TAB,
PageTransition::AUTO_BOOKMARK);
return GetPreferredDropEffect(effect);
« no previous file with comments | « app/os_exchange_data_provider_win.cc ('k') | webkit/glue/webdropdata_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698