Chromium Code Reviews| 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..9f45cfc93cb9075c8a724ca92d10562b57e1053f 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 nullptr in tests. |
|
Peter Kasting
2017/04/14 19:04:40
Nit: In comments, just say "null" in lowercase.
Paezagon
2017/04/14 19:52:34
Done.
|
| // |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. |