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

Unified Diff: content/renderer/context_menu_params_builder.cc

Issue 339153002: Use suggested filename for "Save Link As" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback Created 6 years, 6 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/context_menu_params.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/context_menu_params_builder.cc
diff --git a/content/renderer/context_menu_params_builder.cc b/content/renderer/context_menu_params_builder.cc
index 48355e832bb3f00bdb865d213f6f4dc69fe3163b..7cd34beb46476c69e2ae3a4e8203745954f3ae92 100644
--- a/content/renderer/context_menu_params_builder.cc
+++ b/content/renderer/context_menu_params_builder.cc
@@ -40,6 +40,7 @@ ContextMenuParams ContextMenuParamsBuilder::Build(
params.edit_flags = data.editFlags;
params.frame_charset = data.frameEncoding.utf8();
params.referrer_policy = data.referrerPolicy;
+ params.suggested_filename = data.suggestedFilename;
for (size_t i = 0; i < data.dictionarySuggestions.size(); ++i)
params.dictionary_suggestions.push_back(data.dictionarySuggestions[i]);
« no previous file with comments | « content/public/common/context_menu_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698