| 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();
|
|
|