Index: mojo/services/window_manager/window_manager_app.cc |
diff --git a/mojo/services/window_manager/window_manager_app.cc b/mojo/services/window_manager/window_manager_app.cc |
index ffd80a89d6a10f1314690ecac41265597814e6af..2852bd273a0e1906256cc11aad33a6859555cc5c 100644 |
--- a/mojo/services/window_manager/window_manager_app.cc |
+++ b/mojo/services/window_manager/window_manager_app.cc |
@@ -34,32 +34,34 @@ namespace mojo { |
class DummyDelegate : public aura::WindowDelegate { |
public: |
DummyDelegate() {} |
- virtual ~DummyDelegate() {} |
+ ~DummyDelegate() override {} |
private: |
// WindowDelegate overrides: |
- virtual gfx::Size GetMinimumSize() const override { return gfx::Size(); } |
- virtual gfx::Size GetMaximumSize() const override { return gfx::Size(); } |
- virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
- const gfx::Rect& new_bounds) override {} |
- virtual gfx::NativeCursor GetCursor(const gfx::Point& point) override { |
+ gfx::Size GetMinimumSize() const override { return gfx::Size(); } |
+ gfx::Size GetMaximumSize() const override { return gfx::Size(); } |
+ void OnBoundsChanged(const gfx::Rect& old_bounds, |
+ const gfx::Rect& new_bounds) override {} |
+ gfx::NativeCursor GetCursor(const gfx::Point& point) override { |
return gfx::kNullCursor; |
} |
- virtual int GetNonClientComponent(const gfx::Point& point) const override { |
+ int GetNonClientComponent(const gfx::Point& point) const override { |
return HTCAPTION; |
} |
- virtual bool ShouldDescendIntoChildForEventHandling( |
+ bool ShouldDescendIntoChildForEventHandling( |
aura::Window* child, |
- const gfx::Point& location) override { return true; } |
- virtual bool CanFocus() override { return true; } |
- virtual void OnCaptureLost() override {} |
- virtual void OnPaint(gfx::Canvas* canvas) override {} |
- virtual void OnDeviceScaleFactorChanged(float device_scale_factor) override {} |
- virtual void OnWindowDestroying(aura::Window* window) override {} |
- virtual void OnWindowDestroyed(aura::Window* window) override {} |
- virtual void OnWindowTargetVisibilityChanged(bool visible) override {} |
- virtual bool HasHitTestMask() const override { return false; } |
- virtual void GetHitTestMask(gfx::Path* mask) const override {} |
+ const gfx::Point& location) override { |
+ return true; |
+ } |
+ bool CanFocus() override { return true; } |
+ void OnCaptureLost() override {} |
+ void OnPaint(gfx::Canvas* canvas) override {} |
+ void OnDeviceScaleFactorChanged(float device_scale_factor) override {} |
+ void OnWindowDestroying(aura::Window* window) override {} |
+ void OnWindowDestroyed(aura::Window* window) override {} |
+ void OnWindowTargetVisibilityChanged(bool visible) override {} |
+ bool HasHitTestMask() const override { return false; } |
+ void GetHitTestMask(gfx::Path* mask) const override {} |
DISALLOW_COPY_AND_ASSIGN(DummyDelegate); |
}; |