| 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/views/corewm/shadow_controller.h" | 5 #include "ui/views/corewm/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" |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 ShadowController::~ShadowController() { | 257 ShadowController::~ShadowController() { |
| 258 activation_client_->RemoveObserver(this); | 258 activation_client_->RemoveObserver(this); |
| 259 } | 259 } |
| 260 | 260 |
| 261 void ShadowController::OnWindowActivated(aura::Window* gained_active, | 261 void ShadowController::OnWindowActivated(aura::Window* gained_active, |
| 262 aura::Window* lost_active) { | 262 aura::Window* lost_active) { |
| 263 impl_->OnWindowActivated(gained_active, lost_active); | 263 impl_->OnWindowActivated(gained_active, lost_active); |
| 264 } | 264 } |
| 265 | 265 |
| 266 void ShadowController::OnWindowActivationRequestCompleted( |
| 267 aura::Window* request_active, aura::Window* actual_active) { |
| 268 } |
| 269 |
| 266 // ShadowController::TestApi --------------------------------------------------- | 270 // ShadowController::TestApi --------------------------------------------------- |
| 267 | 271 |
| 268 Shadow* ShadowController::TestApi::GetShadowForWindow(aura::Window* window) { | 272 Shadow* ShadowController::TestApi::GetShadowForWindow(aura::Window* window) { |
| 269 return controller_->impl_->GetShadowForWindow(window); | 273 return controller_->impl_->GetShadowForWindow(window); |
| 270 } | 274 } |
| 271 | 275 |
| 272 } // namespace corewm | 276 } // namespace corewm |
| 273 } // namespace views | 277 } // namespace views |
| OLD | NEW |