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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.mm

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.mm
index 9165d1d45851f263cfdef4486354afe619021990..b5d5ad61070f448d3dd636ce633be691e5de5bfd 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.mm
@@ -25,14 +25,11 @@ class BookmarkContextMenuDelegateBridge :
: controller_(controller) {
}
- virtual ~BookmarkContextMenuDelegateBridge() {
- }
+ ~BookmarkContextMenuDelegateBridge() override {}
- virtual void CloseMenu() override {
- [controller_ cancelTracking];
- }
+ void CloseMenu() override { [controller_ cancelTracking]; }
- virtual void WillExecuteCommand(
+ void WillExecuteCommand(
int command_id,
const std::vector<const BookmarkNode*>& bookmarks) override {
[controller_ willExecuteCommand:command_id];

Powered by Google App Engine
This is Rietveld 408576698