| 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/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/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
| 12 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
| 13 #include "ui/aura/client/activation_client.h" | 13 #include "ui/aura/client/activation_client.h" |
| 14 #include "ui/aura/env.h" | 14 #include "ui/aura/env.h" |
| 15 #include "ui/aura/env_observer.h" | 15 #include "ui/aura/env_observer.h" |
| 16 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
| 17 #include "ui/aura/window_event_dispatcher.h" | 17 #include "ui/aura/window_event_dispatcher.h" |
| 18 #include "ui/aura/window_observer.h" | 18 #include "ui/aura/window_observer.h" |
| 19 #include "ui/compositor/layer.h" | 19 #include "ui/compositor/layer.h" |
| 20 #include "ui/views/corewm/shadow.h" | 20 #include "ui/wm/core/shadow.h" |
| 21 #include "ui/views/corewm/shadow_types.h" | 21 #include "ui/wm/core/shadow_types.h" |
| 22 #include "ui/views/corewm/window_util.h" | 22 #include "ui/wm/core/window_util.h" |
| 23 | 23 |
| 24 using std::make_pair; | 24 using std::make_pair; |
| 25 | 25 |
| 26 namespace views { | 26 namespace views { |
| 27 namespace corewm { | 27 namespace corewm { |
| 28 | 28 |
| 29 namespace { | 29 namespace { |
| 30 | 30 |
| 31 ShadowType GetShadowTypeFromWindow(aura::Window* window) { | 31 ShadowType GetShadowTypeFromWindow(aura::Window* window) { |
| 32 switch (window->type()) { | 32 switch (window->type()) { |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 } | 265 } |
| 266 | 266 |
| 267 // ShadowController::TestApi --------------------------------------------------- | 267 // ShadowController::TestApi --------------------------------------------------- |
| 268 | 268 |
| 269 Shadow* ShadowController::TestApi::GetShadowForWindow(aura::Window* window) { | 269 Shadow* ShadowController::TestApi::GetShadowForWindow(aura::Window* window) { |
| 270 return controller_->impl_->GetShadowForWindow(window); | 270 return controller_->impl_->GetShadowForWindow(window); |
| 271 } | 271 } |
| 272 | 272 |
| 273 } // namespace corewm | 273 } // namespace corewm |
| 274 } // namespace views | 274 } // namespace views |
| OLD | NEW |