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

Unified Diff: content/renderer/context_menu_params_builder.cc

Issue 1126203011: Start displaying title text for HTML elements without links. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 63dcd4d1e7b6b3c5b903b9dac8906f4e88882da2..9e17abbfd67802268357dd6a8831d40781d1f699 100644
--- a/content/renderer/context_menu_params_builder.cc
+++ b/content/renderer/context_menu_params_builder.cc
@@ -31,6 +31,7 @@ ContextMenuParams ContextMenuParamsBuilder::Build(
params.frame_url = data.frameURL;
params.media_flags = data.mediaFlags;
params.selection_text = data.selectedText;
+ params.title_text = data.titleText;
params.misspelled_word = data.misspelledWord;
params.misspelling_hash = data.misspellingHash;
params.spellcheck_enabled = data.isSpellCheckingEnabled;
« content/public/common/context_menu_params.h ('K') | « 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