};
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;
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;