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

Unified Diff: chrome/browser/ui/panels/stacked_panel_collection.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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/panels/stacked_panel_collection.h
diff --git a/chrome/browser/ui/panels/stacked_panel_collection.h b/chrome/browser/ui/panels/stacked_panel_collection.h
index 790910a227a1c1cc45e215afda825ca69d30c8d3..281e186b685e0c54ecaf291f77ba2a43d8c43d31 100644
--- a/chrome/browser/ui/panels/stacked_panel_collection.h
+++ b/chrome/browser/ui/panels/stacked_panel_collection.h
@@ -27,41 +27,41 @@ class StackedPanelCollection : public PanelCollection,
virtual ~StackedPanelCollection();
// PanelCollection OVERRIDES:
- virtual void OnDisplayChanged() OVERRIDE;
- virtual void RefreshLayout() OVERRIDE;
+ virtual void OnDisplayChanged() override;
+ virtual void RefreshLayout() override;
virtual void AddPanel(Panel* panel,
- PositioningMask positioning_mask) OVERRIDE;
- virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE;
- virtual void CloseAll() OVERRIDE;
+ PositioningMask positioning_mask) override;
+ virtual void RemovePanel(Panel* panel, RemovalReason reason) override;
+ virtual void CloseAll() override;
virtual void ResizePanelWindow(
Panel* panel,
- const gfx::Size& preferred_window_size) OVERRIDE;
+ const gfx::Size& preferred_window_size) override;
virtual panel::Resizability GetPanelResizability(
- const Panel* panel) const OVERRIDE;
+ const Panel* panel) const override;
virtual void OnPanelResizedByMouse(Panel* panel,
- const gfx::Rect& new_bounds) OVERRIDE;
- virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE;
+ const gfx::Rect& new_bounds) override;
+ virtual void OnPanelAttentionStateChanged(Panel* panel) override;
virtual void OnPanelTitlebarClicked(Panel* panel,
- panel::ClickModifier modifier) OVERRIDE;
- virtual void ActivatePanel(Panel* panel) OVERRIDE;
- virtual void MinimizePanel(Panel* panel) OVERRIDE;
- virtual void RestorePanel(Panel* panel) OVERRIDE;
+ panel::ClickModifier modifier) override;
+ virtual void ActivatePanel(Panel* panel) override;
+ virtual void MinimizePanel(Panel* panel) override;
+ virtual void RestorePanel(Panel* panel) override;
virtual void OnMinimizeButtonClicked(Panel* panel,
- panel::ClickModifier modifier) OVERRIDE;
+ panel::ClickModifier modifier) override;
virtual void OnRestoreButtonClicked(Panel* panel,
- panel::ClickModifier modifier) OVERRIDE;
- virtual bool CanShowMinimizeButton(const Panel* panel) const OVERRIDE;
- virtual bool CanShowRestoreButton(const Panel* panel) const OVERRIDE;
- virtual bool IsPanelMinimized(const Panel* panel) const OVERRIDE;
- virtual bool UsesAlwaysOnTopPanels() const OVERRIDE;
- virtual void SavePanelPlacement(Panel* panel) OVERRIDE;
- virtual void RestorePanelToSavedPlacement() OVERRIDE;
- virtual void DiscardSavedPanelPlacement() OVERRIDE;
- virtual void UpdatePanelOnCollectionChange(Panel* panel) OVERRIDE;
- virtual void OnPanelExpansionStateChanged(Panel* panel) OVERRIDE;
- virtual void OnPanelActiveStateChanged(Panel* panel) OVERRIDE;
+ panel::ClickModifier modifier) override;
+ virtual bool CanShowMinimizeButton(const Panel* panel) const override;
+ virtual bool CanShowRestoreButton(const Panel* panel) const override;
+ virtual bool IsPanelMinimized(const Panel* panel) const override;
+ virtual bool UsesAlwaysOnTopPanels() const override;
+ virtual void SavePanelPlacement(Panel* panel) override;
+ virtual void RestorePanelToSavedPlacement() override;
+ virtual void DiscardSavedPanelPlacement() override;
+ virtual void UpdatePanelOnCollectionChange(Panel* panel) override;
+ virtual void OnPanelExpansionStateChanged(Panel* panel) override;
+ virtual void OnPanelActiveStateChanged(Panel* panel) override;
virtual gfx::Rect GetInitialPanelBounds(
- const gfx::Rect& requested_bounds) const OVERRIDE;
+ const gfx::Rect& requested_bounds) const override;
Panel* GetPanelAbove(Panel* panel) const;
Panel* GetPanelBelow(Panel* panel) const;
@@ -104,9 +104,9 @@ class StackedPanelCollection : public PanelCollection,
};
// Overridden from PanelBoundsBatchUpdateObserver:
- virtual base::string16 GetTitle() const OVERRIDE;
- virtual gfx::Image GetIcon() const OVERRIDE;
- virtual void PanelBoundsBatchUpdateCompleted() OVERRIDE;
+ virtual base::string16 GetTitle() const override;
+ virtual gfx::Image GetIcon() const override;
+ virtual void PanelBoundsBatchUpdateCompleted() override;
// Returns the enclosing bounds that include all panels in the stack.
gfx::Rect GetEnclosingBounds() const;
« no previous file with comments | « chrome/browser/ui/panels/panel_resize_browsertest.cc ('k') | chrome/browser/ui/panels/test_panel_active_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698