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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_context_menu.h

Issue 678803003: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ui/views/bookmarks/bookmark_context_menu.h
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h b/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h
index dc0b42444ff298eaf0c8df7e756ae0e6d3525e87..4631eaadadfd1e1c35ebc9533908f64aa2f4298c 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h
@@ -42,7 +42,7 @@ class BookmarkContextMenu : public BookmarkContextMenuControllerDelegate,
const BookmarkNode* parent,
const std::vector<const BookmarkNode*>& selection,
bool close_on_remove);
- virtual ~BookmarkContextMenu();
+ ~BookmarkContextMenu() override;
// Shows the context menu at the specified point.
void RunMenuAt(const gfx::Point& point,
@@ -58,18 +58,18 @@ class BookmarkContextMenu : public BookmarkContextMenuControllerDelegate,
void SetPageNavigator(content::PageNavigator* navigator);
// Overridden from views::MenuDelegate:
- virtual void ExecuteCommand(int command_id, int event_flags) override;
- virtual bool IsItemChecked(int command_id) const override;
- virtual bool IsCommandEnabled(int command_id) const override;
- virtual bool IsCommandVisible(int command_id) const override;
- virtual bool ShouldCloseAllMenusOnExecute(int id) override;
+ void ExecuteCommand(int command_id, int event_flags) override;
+ bool IsItemChecked(int command_id) const override;
+ bool IsCommandEnabled(int command_id) const override;
+ bool IsCommandVisible(int command_id) const override;
+ bool ShouldCloseAllMenusOnExecute(int id) override;
// Overridden from BookmarkContextMenuControllerDelegate:
- virtual void CloseMenu() override;
- virtual void WillExecuteCommand(
+ void CloseMenu() override;
+ void WillExecuteCommand(
int command_id,
const std::vector<const BookmarkNode*>& bookmarks) override;
- virtual void DidExecuteCommand(int command_id) override;
+ void DidExecuteCommand(int command_id) override;
private:
scoped_ptr<BookmarkContextMenuController> controller_;

Powered by Google App Engine
This is Rietveld 408576698