Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / views / controls / native / native_view_host_aura_unittest.cc
index 27ce142..7f14bd4 100644 (file)
@@ -39,13 +39,12 @@ class NativeViewHostWindowObserver : public aura::WindowObserver {
   };
 
   NativeViewHostWindowObserver() {}
-  virtual ~NativeViewHostWindowObserver() {}
+  ~NativeViewHostWindowObserver() override {}
 
   const std::vector<EventDetails>& events() const { return events_; }
 
   // aura::WindowObserver overrides
-  virtual void OnWindowVisibilityChanged(aura::Window* window,
-                                         bool visible) OVERRIDE {
+  void OnWindowVisibilityChanged(aura::Window* window, bool visible) override {
     EventDetails event;
     event.type = visible ? EVENT_SHOWN : EVENT_HIDDEN;
     event.window = window;
@@ -57,9 +56,9 @@ class NativeViewHostWindowObserver : public aura::WindowObserver {
       events_.push_back(event);
   }
 
-  virtual void OnWindowBoundsChanged(aura::Window* window,
-                                     const gfx::Rect& old_bounds,
-                                     const gfx::Rect& new_bounds) OVERRIDE {
+  void OnWindowBoundsChanged(aura::Window* window,
+                             const gfx::Rect& old_bounds,
+                             const gfx::Rect& new_bounds) override {
     EventDetails event;
     event.type = EVENT_BOUNDS_CHANGED;
     event.window = window;