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

Unified Diff: chrome/browser/ui/views/toolbar/chevron_menu_button.h

Issue 680053003: 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/toolbar/chevron_menu_button.h
diff --git a/chrome/browser/ui/views/toolbar/chevron_menu_button.h b/chrome/browser/ui/views/toolbar/chevron_menu_button.h
index dbf3e8352ff65329ec039a841de8db897974d5a9..582ee34f65b7e84f740bf7bf17b955ceed52f789 100644
--- a/chrome/browser/ui/views/toolbar/chevron_menu_button.h
+++ b/chrome/browser/ui/views/toolbar/chevron_menu_button.h
@@ -20,7 +20,7 @@ class ChevronMenuButton : public views::MenuButton,
public:
explicit ChevronMenuButton(
BrowserActionsContainer* browser_actions_container);
- virtual ~ChevronMenuButton();
+ ~ChevronMenuButton() override;
// Closes the overflow menu (and any context menu), if it is open.
void CloseMenu();
@@ -29,20 +29,19 @@ class ChevronMenuButton : public views::MenuButton,
class MenuController;
// views::MenuButton:
- virtual scoped_ptr<views::LabelButtonBorder> CreateDefaultBorder() const
- override;
- virtual bool GetDropFormats(int* formats,
+ scoped_ptr<views::LabelButtonBorder> CreateDefaultBorder() const override;
+ bool GetDropFormats(
+ int* formats,
std::set<ui::OSExchangeData::CustomFormat>* custom_formats) override;
- virtual bool AreDropTypesRequired() override;
- virtual bool CanDrop(const ui::OSExchangeData& data) override;
- virtual void OnDragEntered(const ui::DropTargetEvent& event) override;
- virtual int OnDragUpdated(const ui::DropTargetEvent& event) override;
- virtual void OnDragExited() override;
- virtual int OnPerformDrop(const ui::DropTargetEvent& event) override;
+ bool AreDropTypesRequired() override;
+ bool CanDrop(const ui::OSExchangeData& data) override;
+ void OnDragEntered(const ui::DropTargetEvent& event) override;
+ int OnDragUpdated(const ui::DropTargetEvent& event) override;
+ void OnDragExited() override;
+ int OnPerformDrop(const ui::DropTargetEvent& event) override;
// views::MenuButtonListener:
- virtual void OnMenuButtonClicked(View* source, const gfx::Point& point)
- override;
+ void OnMenuButtonClicked(View* source, const gfx::Point& point) override;
// Shows the overflow menu.
void ShowOverflowMenu(bool for_drop);

Powered by Google App Engine
This is Rietveld 408576698