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

Unified Diff: ios/web/public/web_state/context_menu_params.h

Issue 2379653002: Add a inner text parameter to ContextMenuParams (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | ios/web/web_state/js/resources/core.js » ('j') | ios/web/web_state/ui/crw_web_controller.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/web_state/context_menu_params.h
diff --git a/ios/web/public/web_state/context_menu_params.h b/ios/web/public/web_state/context_menu_params.h
index 246bc8afbcdac78ca667f0116adb8e526a172aa8..347c09f467f48f6cccc1d237fa922d7d444a4a9e 100644
--- a/ios/web/public/web_state/context_menu_params.h
+++ b/ios/web/public/web_state/context_menu_params.h
@@ -38,6 +38,9 @@ struct ContextMenuParams {
// The location in |view| to present the menu.
CGPoint location;
+
+ // The inner text of the link.
+ base::scoped_nsobject<NSString> inner_text;
};
} // namespace web
« no previous file with comments | « no previous file | ios/web/web_state/js/resources/core.js » ('j') | ios/web/web_state/ui/crw_web_controller.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698