Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: ui/wm/core/transient_window_controller.cc

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/wm/core/transient_window_controller.h ('k') | ui/wm/core/transient_window_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/wm/core/transient_window_controller.h" 5 #include "ui/wm/core/transient_window_controller.h"
6 6
7 #include "ui/wm/core/transient_window_manager.h" 7 #include "ui/wm/core/transient_window_manager.h"
8 8
9 namespace views { 9 namespace wm {
10 namespace corewm {
11 10
12 TransientWindowController::TransientWindowController() { 11 TransientWindowController::TransientWindowController() {
13 } 12 }
14 13
15 TransientWindowController::~TransientWindowController() { 14 TransientWindowController::~TransientWindowController() {
16 } 15 }
17 16
18 void TransientWindowController::AddTransientChild(aura::Window* parent, 17 void TransientWindowController::AddTransientChild(aura::Window* parent,
19 aura::Window* child) { 18 aura::Window* child) {
20 TransientWindowManager::Get(parent)->AddTransientChild(child); 19 TransientWindowManager::Get(parent)->AddTransientChild(child);
(...skipping 10 matching lines...) Expand all
31 const_cast<const aura::Window*>(window))); 30 const_cast<const aura::Window*>(window)));
32 } 31 }
33 32
34 const aura::Window* TransientWindowController::GetTransientParent( 33 const aura::Window* TransientWindowController::GetTransientParent(
35 const aura::Window* window) { 34 const aura::Window* window) {
36 const TransientWindowManager* window_manager = 35 const TransientWindowManager* window_manager =
37 TransientWindowManager::Get(window); 36 TransientWindowManager::Get(window);
38 return window_manager ? window_manager->transient_parent() : NULL; 37 return window_manager ? window_manager->transient_parent() : NULL;
39 } 38 }
40 39
41 } // namespace corewm 40 } // namespace wm
42 } // namespace views
OLDNEW
« no previous file with comments | « ui/wm/core/transient_window_controller.h ('k') | ui/wm/core/transient_window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698