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

Side by Side Diff: ui/aura/window_manager.cc

Issue 7886042: Move Aura to UI subdir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "aura/window_manager.h" 5 #include "ui/aura/window_manager.h"
6 6
7 #include "aura/event.h" 7 #include "ui/aura/event.h"
8 #include "aura/focus_manager.h" 8 #include "ui/aura/focus_manager.h"
9 #include "aura/window.h" 9 #include "ui/aura/window.h"
10 #include "aura/window_delegate.h" 10 #include "ui/aura/window_delegate.h"
11 11
12 #if !defined(OS_WIN) 12 #if !defined(OS_WIN)
13 #include "aura/hit_test.h" 13 #include "ui/aura/hit_test.h"
14 #endif 14 #endif
15 15
16 namespace aura { 16 namespace aura {
17 17
18 WindowManager::WindowManager(Window* owner) 18 WindowManager::WindowManager(Window* owner)
19 : owner_(owner), 19 : owner_(owner),
20 window_component_(HTNOWHERE) { 20 window_component_(HTNOWHERE) {
21 } 21 }
22 22
23 WindowManager::~WindowManager() { 23 WindowManager::~WindowManager() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 Window* parent = owner_->parent(); 57 Window* parent = owner_->parent();
58 Window* child = owner_; 58 Window* child = owner_;
59 while (parent) { 59 while (parent) {
60 parent->MoveChildToFront(child); 60 parent->MoveChildToFront(child);
61 parent = parent->parent(); 61 parent = parent->parent();
62 child = child->parent(); 62 child = child->parent();
63 } 63 }
64 } 64 }
65 65
66 } // namespace aura 66 } // namespace aura
OLDNEW
« ui/aura/aura.gyp ('K') | « ui/aura/window_manager.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698