Index: chrome/browser/extensions/context_menu_matcher.h |
=================================================================== |
--- chrome/browser/extensions/context_menu_matcher.h (revision 182231) |
+++ chrome/browser/extensions/context_menu_matcher.h (working copy) |
@@ -40,6 +40,11 @@ |
void Clear(); |
+ // This function returns the top level context menu title of an extension |
+ // based on a printable selection text. |
+ std::string GetTopLevelContextMenuTitle(const std::string& extension_id, |
+ const string16& selection_text); |
+ |
bool IsCommandIdChecked(int command_id) const; |
bool IsCommandIdEnabled(int command_id) const; |
void ExecuteCommand(int command_id, |