Index: ui/aura/demo/demo_main.cc |
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc |
index f531cd31c2e754ee23276696a3da653453bc7f0b..ec5ea52417e6567b7441b0f7715617680122c5da 100644 |
--- a/ui/aura/demo/demo_main.cc |
+++ b/ui/aura/demo/demo_main.cc |
@@ -39,38 +39,38 @@ class DemoWindowDelegate : public aura::WindowDelegate { |
explicit DemoWindowDelegate(SkColor color) : color_(color) {} |
// Overridden from WindowDelegate: |
- virtual gfx::Size GetMinimumSize() const OVERRIDE { |
+ virtual gfx::Size GetMinimumSize() const override { |
return gfx::Size(); |
} |
- virtual gfx::Size GetMaximumSize() const OVERRIDE { |
+ 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 { |
+ const gfx::Rect& new_bounds) override {} |
+ virtual gfx::NativeCursor GetCursor(const gfx::Point& point) override { |
return gfx::kNullCursor; |
} |
- virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE { |
+ virtual int GetNonClientComponent(const gfx::Point& point) const override { |
return HTCAPTION; |
} |
virtual bool ShouldDescendIntoChildForEventHandling( |
aura::Window* child, |
- const gfx::Point& location) OVERRIDE { |
+ 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 bool CanFocus() override { return true; } |
+ virtual void OnCaptureLost() override {} |
+ virtual void OnPaint(gfx::Canvas* canvas) override { |
canvas->DrawColor(color_, SkXfermode::kSrc_Mode); |
} |
- 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 {} |
+ 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 {} |
private: |
SkColor color_; |
@@ -91,7 +91,7 @@ class DemoWindowTreeClient : public aura::client::WindowTreeClient { |
// Overridden from aura::client::WindowTreeClient: |
virtual aura::Window* GetDefaultParent(aura::Window* context, |
aura::Window* window, |
- const gfx::Rect& bounds) OVERRIDE { |
+ const gfx::Rect& bounds) override { |
if (!capture_client_) { |
capture_client_.reset( |
new aura::client::DefaultCaptureClient(window_->GetRootWindow())); |