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

Unified Diff: chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h

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/panels/panel_stack_window_cocoa.h
diff --git a/chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h b/chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h
index f5dac23b6fe74e9b34ced60d52bc52c57cf088e7..3e963809e2de25b5f5ebfa3558a18bcc9d4d6d70 100644
--- a/chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h
+++ b/chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h
@@ -25,7 +25,7 @@ class PanelStackWindowCocoa;
class PanelStackWindowCocoa : public NativePanelStackWindow {
public:
explicit PanelStackWindowCocoa(NativePanelStackWindowDelegate* delegate);
- virtual ~PanelStackWindowCocoa();
+ ~PanelStackWindowCocoa() override;
// Notified by BatchBoundsAnimationDelegate about the ending of the bounds
// animation.
@@ -33,22 +33,22 @@ class PanelStackWindowCocoa : public NativePanelStackWindow {
protected:
// Overridden from NativePanelStackWindow:
- virtual void Close() override;
- virtual void AddPanel(Panel* panel) override;
- virtual void RemovePanel(Panel* panel) override;
- virtual void MergeWith(NativePanelStackWindow* another) override;
- virtual bool IsEmpty() const override;
- virtual bool HasPanel(Panel* panel) const override;
- virtual void MovePanelsBy(const gfx::Vector2d& delta) override;
- virtual void BeginBatchUpdatePanelBounds(bool animate) override;
- virtual void AddPanelBoundsForBatchUpdate(Panel* panel,
- const gfx::Rect& bounds) override;
- virtual void EndBatchUpdatePanelBounds() override;
- virtual bool IsAnimatingPanelBounds() const override;
- virtual void Minimize() override;
- virtual bool IsMinimized() const override;
- virtual void DrawSystemAttention(bool draw_attention) override;
- virtual void OnPanelActivated(Panel* panel) override;
+ void Close() override;
+ void AddPanel(Panel* panel) override;
+ void RemovePanel(Panel* panel) override;
+ void MergeWith(NativePanelStackWindow* another) override;
+ bool IsEmpty() const override;
+ bool HasPanel(Panel* panel) const override;
+ void MovePanelsBy(const gfx::Vector2d& delta) override;
+ void BeginBatchUpdatePanelBounds(bool animate) override;
+ void AddPanelBoundsForBatchUpdate(Panel* panel,
+ const gfx::Rect& bounds) override;
+ void EndBatchUpdatePanelBounds() override;
+ bool IsAnimatingPanelBounds() const override;
+ void Minimize() override;
+ bool IsMinimized() const override;
+ void DrawSystemAttention(bool draw_attention) override;
+ void OnPanelActivated(Panel* panel) override;
private:
typedef std::list<Panel*> Panels;

Powered by Google App Engine
This is Rietveld 408576698