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

Unified Diff: chrome/browser/ui/views/toolbar/wrench_toolbar_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
« no previous file with comments | « chrome/browser/ui/views/toolbar/wrench_menu.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/wrench_toolbar_button.h
diff --git a/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h b/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h
index a45e3cbd5614ab7586132e4cf9d32c3ae79b3284..f5a9efcaff5f66aab741b99cf1ae62adcb72bde1 100644
--- a/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h
+++ b/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h
@@ -18,16 +18,16 @@ class WrenchToolbarButton : public views::MenuButton,
public WrenchIconPainter::Delegate {
public:
explicit WrenchToolbarButton(ToolbarView* toolbar_view);
- virtual ~WrenchToolbarButton();
+ ~WrenchToolbarButton() override;
void SetSeverity(WrenchIconPainter::Severity severity, bool animate);
// views::MenuButton:
- virtual gfx::Size GetPreferredSize() const override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
+ gfx::Size GetPreferredSize() const override;
+ void OnPaint(gfx::Canvas* canvas) override;
// WrenchIconPainter::Delegate:
- virtual void ScheduleWrenchIconPaint() override;
+ void ScheduleWrenchIconPaint() override;
// Opens the wrench menu immediately during a drag-and-drop operation.
// Used only in testing.
@@ -35,14 +35,15 @@ class WrenchToolbarButton : public views::MenuButton,
private:
// views::View:
- virtual bool GetDropFormats(int* formats,
+ 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;
// Show the extension action overflow menu (which is in the app menu).
void ShowOverflowMenu();
« no previous file with comments | « chrome/browser/ui/views/toolbar/wrench_menu.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698