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

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

Issue 8135001: Fixed behavior of the bookmark bar visibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DCHECK_EQ instead of DCHECK Created 9 years, 2 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/bookmarks/bookmark_context_menu_controller.h
diff --git a/chrome/browser/bookmarks/bookmark_context_menu_controller.h b/chrome/browser/bookmarks/bookmark_context_menu_controller.h
index 5686c0d7cfab9dfe6c079f55756fab62045db07b..3b960d26443d640dc46e5c728bb564ce78776b0b 100644
--- a/chrome/browser/bookmarks/bookmark_context_menu_controller.h
+++ b/chrome/browser/bookmarks/bookmark_context_menu_controller.h
@@ -57,11 +57,12 @@ class BookmarkContextMenuController : public BaseBookmarkModelObserver,
ui::SimpleMenuModel* menu_model() const { return menu_model_.get(); }
// ui::SimpleMenuModel::Delegate implementation:
- virtual bool IsCommandIdChecked(int command_id) const;
- virtual bool IsCommandIdEnabled(int command_id) const;
- virtual bool GetAcceleratorForCommandId(int command_id,
- ui::Accelerator* accelerator);
- virtual void ExecuteCommand(int command_id);
+ virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
+ virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
+ virtual bool GetAcceleratorForCommandId(
+ int command_id,
+ ui::Accelerator* accelerator) OVERRIDE;
+ virtual void ExecuteCommand(int command_id) OVERRIDE;
// Accessors:
Profile* profile() const { return profile_; }
@@ -77,7 +78,7 @@ class BookmarkContextMenuController : public BaseBookmarkModelObserver,
// Overridden from BaseBookmarkModelObserver:
// Any change to the model results in closing the menu.
- virtual void BookmarkModelChanged();
+ virtual void BookmarkModelChanged() OVERRIDE;
// Returns true if selection_ has at least one bookmark of type url.
bool HasURLs() const;
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/bookmarks/bookmark_context_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698