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/aura/client/default_activation_client.h" | 5 #include "ui/wm/core/default_activation_client.h" |
6 | 6 |
7 #include "ui/aura/window.h" | 7 #include "ui/aura/window.h" |
8 #include "ui/wm/public/activation_change_observer.h" | 8 #include "ui/wm/public/activation_change_observer.h" |
9 #include "ui/wm/public/activation_delegate.h" | 9 #include "ui/wm/public/activation_delegate.h" |
10 | 10 |
11 namespace aura { | 11 namespace aura { |
12 namespace client { | 12 namespace client { |
13 | 13 |
14 //////////////////////////////////////////////////////////////////////////////// | 14 //////////////////////////////////////////////////////////////////////////////// |
15 // DefaultActivationClient, public: | 15 // DefaultActivationClient, public: |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 if (active_windows_[i] == window) { | 119 if (active_windows_[i] == window) { |
120 active_windows_.erase(active_windows_.begin() + i); | 120 active_windows_.erase(active_windows_.begin() + i); |
121 window->RemoveObserver(this); | 121 window->RemoveObserver(this); |
122 return; | 122 return; |
123 } | 123 } |
124 } | 124 } |
125 } | 125 } |
126 | 126 |
127 } // namespace client | 127 } // namespace client |
128 } // namespace aura | 128 } // namespace aura |
OLD | NEW |