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

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

Issue 1126203011: Start displaying title text for HTML elements without links. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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/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 0ba819da2fb53dc99061d9282daccc469011421d..e45ad0a936f3ecceb3352979973e50c18ce134c8 100644
--- a/content/public/common/context_menu_params.h
+++ b/content/public/common/context_menu_params.h
@@ -105,6 +105,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 title or alt (if title not available) text of the selection
+ // that the context menu was invoked on.
+ base::string16 title_text;
+
// This is the suggested filename to be used when saving file through "Save
// Link As" option of context menu.
base::string16 suggested_filename;
« 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