| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/transient_window_controller.h" | 5 #include "ui/wm/core/transient_window_controller.h" | 
| 6 | 6 | 
| 7 #include "ui/views/corewm/transient_window_manager.h" | 7 #include "ui/wm/core/transient_window_manager.h" | 
| 8 | 8 | 
| 9 namespace views { | 9 namespace views { | 
| 10 namespace corewm { | 10 namespace corewm { | 
| 11 | 11 | 
| 12 TransientWindowController::TransientWindowController() { | 12 TransientWindowController::TransientWindowController() { | 
| 13 } | 13 } | 
| 14 | 14 | 
| 15 TransientWindowController::~TransientWindowController() { | 15 TransientWindowController::~TransientWindowController() { | 
| 16 } | 16 } | 
| 17 | 17 | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
| 33 | 33 | 
| 34 const aura::Window* TransientWindowController::GetTransientParent( | 34 const aura::Window* TransientWindowController::GetTransientParent( | 
| 35     const aura::Window* window) { | 35     const aura::Window* window) { | 
| 36   const TransientWindowManager* window_manager = | 36   const TransientWindowManager* window_manager = | 
| 37       TransientWindowManager::Get(window); | 37       TransientWindowManager::Get(window); | 
| 38   return window_manager ? window_manager->transient_parent() : NULL; | 38   return window_manager ? window_manager->transient_parent() : NULL; | 
| 39 } | 39 } | 
| 40 | 40 | 
| 41 }  // namespace corewm | 41 }  // namespace corewm | 
| 42 }  // namespace views | 42 }  // namespace views | 
| OLD | NEW | 
|---|