| 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..bdf1592dc6733e8cc87f382c701ed93a128aff91 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 for putting in the title of a menu item.
|
| + 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_;
|
|
|