| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/wm/core/shadow_controller.h" | 5 #include "ui/wm/core/shadow_controller.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/linked_ptr.h" | |
| 13 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
| 14 #include "ui/aura/client/aura_constants.h" | 13 #include "ui/aura/client/aura_constants.h" |
| 15 #include "ui/aura/env.h" | 14 #include "ui/aura/env.h" |
| 16 #include "ui/aura/env_observer.h" | 15 #include "ui/aura/env_observer.h" |
| 17 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
| 18 #include "ui/aura/window_observer.h" | 17 #include "ui/aura/window_observer.h" |
| 19 #include "ui/aura/window_property.h" | 18 #include "ui/aura/window_property.h" |
| 20 #include "ui/base/ui_base_types.h" | 19 #include "ui/base/ui_base_types.h" |
| 21 #include "ui/compositor/layer.h" | 20 #include "ui/compositor/layer.h" |
| 22 #include "ui/wm/core/shadow.h" | 21 #include "ui/wm/core/shadow.h" |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 activation_client_->RemoveObserver(this); | 276 activation_client_->RemoveObserver(this); |
| 278 } | 277 } |
| 279 | 278 |
| 280 void ShadowController::OnWindowActivated(ActivationReason reason, | 279 void ShadowController::OnWindowActivated(ActivationReason reason, |
| 281 aura::Window* gained_active, | 280 aura::Window* gained_active, |
| 282 aura::Window* lost_active) { | 281 aura::Window* lost_active) { |
| 283 impl_->OnWindowActivated(reason, gained_active, lost_active); | 282 impl_->OnWindowActivated(reason, gained_active, lost_active); |
| 284 } | 283 } |
| 285 | 284 |
| 286 } // namespace wm | 285 } // namespace wm |
| OLD | NEW |