| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/views/widget/window_reorderer.h" | 5 #include "ui/views/widget/window_reorderer.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 association_observer_->StopObserving(window); | 192 association_observer_->StopObserving(window); |
| 193 } | 193 } |
| 194 | 194 |
| 195 void WindowReorderer::OnWindowDestroying(aura::Window* window) { | 195 void WindowReorderer::OnWindowDestroying(aura::Window* window) { |
| 196 parent_window_->RemoveObserver(this); | 196 parent_window_->RemoveObserver(this); |
| 197 parent_window_ = NULL; | 197 parent_window_ = NULL; |
| 198 association_observer_.reset(); | 198 association_observer_.reset(); |
| 199 } | 199 } |
| 200 | 200 |
| 201 } // namespace views | 201 } // namespace views |
| OLD | NEW |