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

Side by Side Diff: ui/aura/desktop.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/desktop.h" 5 #include "ui/aura/desktop.h"
6 6
7 #include "aura/desktop_host.h"
8 #include "aura/root_window.h"
9 #include "aura/window.h"
10 #include "base/logging.h" 7 #include "base/logging.h"
11 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "ui/aura/desktop_host.h"
10 #include "ui/aura/root_window.h"
11 #include "ui/aura/window.h"
12 #include "ui/gfx/compositor/compositor.h" 12 #include "ui/gfx/compositor/compositor.h"
13 #include "ui/gfx/compositor/layer.h" 13 #include "ui/gfx/compositor/layer.h"
14 14
15 namespace aura { 15 namespace aura {
16 16
17 // static 17 // static
18 Desktop* Desktop::instance_ = NULL; 18 Desktop* Desktop::instance_ = NULL;
19 19
20 Desktop::Desktop() 20 Desktop::Desktop()
21 : host_(aura::DesktopHost::Create(gfx::Rect(200, 200, 1024, 768))), 21 : host_(aura::DesktopHost::Create(gfx::Rect(200, 200, 1024, 768))),
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // static 79 // static
80 Desktop* Desktop::GetInstance() { 80 Desktop* Desktop::GetInstance() {
81 if (!instance_) { 81 if (!instance_) {
82 instance_ = new Desktop; 82 instance_ = new Desktop;
83 instance_->window_->Init(); 83 instance_->window_->Init();
84 } 84 }
85 return instance_; 85 return instance_;
86 } 86 }
87 87
88 } // namespace aura 88 } // namespace aura
OLDNEW
« ui/aura/aura.gyp ('K') | « ui/aura/desktop.h ('k') | ui/aura/desktop_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698