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

Unified Diff: content/public/common/context_menu_params.h

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/common/frame_messages.h ('k') | content/renderer/context_menu_params_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/context_menu_params.h
diff --git a/content/public/common/context_menu_params.h b/content/public/common/context_menu_params.h
index ccef48ec2ca40b39fb42c817f097213e8383beda..b91d5a191e18bfbb121b305fb1743a7c0c94e1fc 100644
--- a/content/public/common/context_menu_params.h
+++ b/content/public/common/context_menu_params.h
@@ -98,6 +98,10 @@ struct CONTENT_EXPORT ContextMenuParams {
// This is the text of the selection that the context menu was invoked on.
base::string16 selection_text;
+ // This is the suggested filename to be used when saving file through "Save
+ // Link As" option of context menu.
+ base::string16 suggested_filename;
+
// The misspelled word under the cursor, if any. Used to generate the
// |dictionary_suggestions| list.
base::string16 misspelled_word;
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/context_menu_params_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698