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

Side by Side Diff: ui/views/widget/window_manager.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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/views/widget/window_manager.h ('k') | ui/views/window/client_view.cc » ('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 (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 "views/widget/window_manager.h" 5 #include "ui/views/widget/window_manager.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "ui/views/events/event.h" 8 #include "ui/views/events/event.h"
9 #include "views/widget/widget.h" 9 #include "ui/views/widget/widget.h"
10 10
11 namespace { 11 namespace {
12 12
13 views::WindowManager* window_manager = NULL; 13 views::WindowManager* window_manager = NULL;
14 14
15 class NullWindowManager : public views::WindowManager { 15 class NullWindowManager : public views::WindowManager {
16 public: 16 public:
17 NullWindowManager() : mouse_capture_(NULL) { 17 NullWindowManager() : mouse_capture_(NULL) {
18 } 18 }
19 19
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 // static 93 // static
94 WindowManager* WindowManager::Get() { 94 WindowManager* WindowManager::Get() {
95 if (!window_manager) 95 if (!window_manager)
96 window_manager = new NullWindowManager(); 96 window_manager = new NullWindowManager();
97 return window_manager; 97 return window_manager;
98 } 98 }
99 99
100 } // namespace views 100 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/window_manager.h ('k') | ui/views/window/client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698