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

Unified Diff: chrome/browser/extensions/context_menu_matcher.h

Issue 12299013: Fix top-level context menus sorting by name (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
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,
« no previous file with comments | « no previous file | chrome/browser/extensions/context_menu_matcher.cc » ('j') | chrome/browser/extensions/context_menu_matcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698