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

Unified Diff: ash/shelf/shelf_layout_manager.h

Issue 684643002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « ash/shelf/shelf_item_delegate_manager.h ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager.h
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index 320b4e512274f6fa47bd4e11d6b02068220c9977..ac0c69d813f457bfd9eebe284588d9acf5a27a3c 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -82,7 +82,7 @@ class ASH_EXPORT ShelfLayoutManager
static const int kShelfItemInset;
explicit ShelfLayoutManager(ShelfWidget* shelf);
- virtual ~ShelfLayoutManager();
+ ~ShelfLayoutManager() override;
// Sets the ShelfAutoHideBehavior. See enum description for details.
void SetAutoHideBehavior(ShelfAutoHideBehavior behavior);
@@ -165,23 +165,22 @@ class ASH_EXPORT ShelfLayoutManager
void SetAnimationDurationOverride(int duration_override_in_ms);
// Overridden from SnapLayoutManager:
- virtual void OnWindowResized() override;
- virtual void SetChildBounds(aura::Window* child,
- const gfx::Rect& requested_bounds) override;
+ void OnWindowResized() override;
+ void SetChildBounds(aura::Window* child,
+ const gfx::Rect& requested_bounds) override;
// Overridden from ash::ShellObserver:
- virtual void OnLockStateChanged(bool locked) override;
+ void OnLockStateChanged(bool locked) override;
// Overriden from aura::client::ActivationChangeObserver:
- virtual void OnWindowActivated(aura::Window* gained_active,
- aura::Window* lost_active) override;
+ void OnWindowActivated(aura::Window* gained_active,
+ aura::Window* lost_active) override;
// Overridden from ash::LockStateObserver:
- virtual void OnLockStateEvent(LockStateObserver::EventType event) override;
+ void OnLockStateEvent(LockStateObserver::EventType event) override;
// Overridden from ash::SessionStateObserver:
- virtual void SessionStateChanged(
- SessionStateDelegate::SessionState state) override;
+ void SessionStateChanged(SessionStateDelegate::SessionState state) override;
// TODO(harrym|oshima): These templates will be moved to
// new Shelf class.
@@ -317,10 +316,10 @@ class ASH_EXPORT ShelfLayoutManager
int GetWorkAreaSize(const State& state, int size) const;
// Overridden from keyboard::KeyboardControllerObserver:
- virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override;
+ void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override;
// Overridden from DockedWindowLayoutManagerObserver:
- virtual void OnDockBoundsChanging(
+ void OnDockBoundsChanging(
const gfx::Rect& dock_bounds,
DockedWindowLayoutManagerObserver::Reason reason) override;
« no previous file with comments | « ash/shelf/shelf_item_delegate_manager.h ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698