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 |
Yoyo Zhou
2013/02/19 19:00:50
nit: Comments should end with a period.
François Beaufort
2013/02/20 11:32:06
Done.
|
+ 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, |