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

Unified Diff: ios/web/web_state/js/resources/core.js

Issue 2379653002: Add a inner text parameter to ContextMenuParams (Closed)
Patch Set: Rename inner_text to link_text Created 4 years, 2 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 | « ios/web/public/web_state/context_menu_params.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/js/resources/core.js
diff --git a/ios/web/web_state/js/resources/core.js b/ios/web/web_state/js/resources/core.js
index 225a4549caf385d2fd59865ab63dad082688f0c2..a10de2dcb41d3c5ab63d16dfd16e470b221c2c42 100644
--- a/ios/web/web_state/js/resources/core.js
+++ b/ios/web/web_state/js/resources/core.js
@@ -188,7 +188,8 @@ goog.require('__crWeb.message');
// Found a link.
return {
href: element.href,
- referrerPolicy: getReferrerPolicy_(element)
+ referrerPolicy: getReferrerPolicy_(element),
+ innerText: element.innerText
};
}
« no previous file with comments | « ios/web/public/web_state/context_menu_params.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698