Index: chrome/browser/renderer_context_menu/render_view_context_menu.h |
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.h b/chrome/browser/renderer_context_menu/render_view_context_menu.h |
index 549d9d4e9734b04ed3a49adade2fe26db83a9f71..c551b65008bd248e9248633ef9cbaba105cfeb82 100644 |
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.h |
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.h |
@@ -64,6 +64,13 @@ class RenderViewContextMenu : public RenderViewContextMenuBase { |
protected: |
Profile* GetProfile(); |
+ // Returns a (possibly truncated) version of the current selection text |
+ // suitable or putting in the title of a menu item. |
Avi (use Gerrit)
2015/07/21 05:18:53
s/or/for/
Bons
2015/07/21 05:51:11
Done.
|
+ base::string16 PrintableSelectionText(); |
+ |
+ // Helper function to escape "&" as "&&". |
+ void EscapeAmpersands(base::string16* text); |
+ |
#if defined(ENABLE_EXTENSIONS) |
extensions::ContextMenuMatcher extension_items_; |
#endif |
@@ -146,10 +153,6 @@ class RenderViewContextMenu : public RenderViewContextMenuBase { |
// on URL. |
ProtocolHandlerRegistry::ProtocolHandlerList GetHandlersForLinkUrl(); |
- // Returns a (possibly truncated) version of the current selection text |
- // suitable or putting in the title of a menu item. |
- base::string16 PrintableSelectionText(); |
- |
// The destination URL to use if the user tries to search for or navigate to |
// a text selection. |
GURL selection_navigation_url_; |