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

Unified Diff: public/web/WebContextMenuData.h

Issue 1128933011: Start passing Title text with the context menu data. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch to using Title attribute first 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 | « Source/web/ContextMenuClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebContextMenuData.h
diff --git a/public/web/WebContextMenuData.h b/public/web/WebContextMenuData.h
index 718260c157909c89953cf06ff932df74558f8fcc..6e24e1b5c8888a1fa224478b9081ed7ba15c2b35 100644
--- a/public/web/WebContextMenuData.h
+++ b/public/web/WebContextMenuData.h
@@ -119,6 +119,9 @@ struct WebContextMenuData {
// The raw text of the selection in context.
WebString selectedText;
+ // Title attribute or alt attribute (if title is not available) of the selection in context.
+ WebString titleText;
+
// Whether spell checking is enabled.
bool isSpellCheckingEnabled;
« no previous file with comments | « Source/web/ContextMenuClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698