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

Unified Diff: chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h

Issue 2809003002: Making bookmark folder context menu display the number of bookmarks that will be opened by Open All (Closed)
Patch Set: Fixing compilation issues Created 3 years, 8 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
« no previous file with comments | « chrome/app/bookmarks_strings.grdp ('k') | chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h
diff --git a/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h b/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h
index 03eba59701e6dfb51b2aee10c7ef8623d3099cb6..3a021e2f01ce02c97687b7d86901f0aaa092984f 100644
--- a/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h
+++ b/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h
@@ -46,7 +46,7 @@ class BookmarkContextMenuController
public ui::SimpleMenuModel::Delegate {
public:
// Creates the bookmark context menu.
- // |browser| is used to open the bookmark manager and is NULL in tests.
+ // |browser| is used to open the bookmark manager and is null in tests.
// |profile| is used for opening urls as well as enabling 'open incognito'.
// |navigator| is used if |browser| is null, and is provided for testing.
// |parent| is the parent for newly created nodes if |selection| is empty.
@@ -78,6 +78,8 @@ class BookmarkContextMenuController
private:
void BuildMenu();
+ // Adds a IDC_* style command to the menu with a string16.
+ void AddItem(int id, const base::string16 str);
// Adds a IDC_* style command to the menu with a localized string.
void AddItem(int id, int localization_id);
// Adds a separator to the menu.
« no previous file with comments | « chrome/app/bookmarks_strings.grdp ('k') | chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698