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

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

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 | « no previous file | ios/web/web_state/js/resources/core.js » ('j') | no next file with comments »
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..9c793f5a2b6ba6bac3e18fd72f1364bb9a5f3350 100644
--- a/ios/web/public/web_state/context_menu_params.h
+++ b/ios/web/public/web_state/context_menu_params.h
@@ -38,6 +38,10 @@ struct ContextMenuParams {
// The location in |view| to present the menu.
CGPoint location;
+
+ // The text associated with the link. It is either nil or nonempty (it can not
+ // be empty).
+ base::scoped_nsobject<NSString> link_text;
};
} // namespace web
« no previous file with comments | « no previous file | ios/web/web_state/js/resources/core.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698