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

Unified Diff: ui/gfx/win/singleton_hwnd.cc

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/win/singleton_hwnd.h ('k') | ui/gfx/win/window_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/singleton_hwnd.cc
diff --git a/ui/base/win/singleton_hwnd.cc b/ui/gfx/win/singleton_hwnd.cc
similarity index 92%
rename from ui/base/win/singleton_hwnd.cc
rename to ui/gfx/win/singleton_hwnd.cc
index 9d1685f4977bceef0a01dfeb4a0abd6826c9520b..37993e8f4f0fc05ec40fdca05020e6d55fef9a2d 100644
--- a/ui/base/win/singleton_hwnd.cc
+++ b/ui/gfx/win/singleton_hwnd.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/base/win/singleton_hwnd.h"
+#include "ui/gfx/win/singleton_hwnd.h"
#include "base/memory/singleton.h"
#include "base/message_loop/message_loop.h"
-namespace ui {
+namespace gfx {
// static
SingletonHwnd* SingletonHwnd::GetInstance() {
@@ -23,7 +23,7 @@ void SingletonHwnd::AddObserver(Observer* observer) {
DLOG(ERROR) << "Cannot create windows on non-UI thread!";
return;
}
- WindowImpl::Init(NULL, gfx::Rect());
+ WindowImpl::Init(NULL, Rect());
}
observer_list_.AddObserver(observer);
}
@@ -52,4 +52,4 @@ SingletonHwnd::SingletonHwnd() {
SingletonHwnd::~SingletonHwnd() {
}
-} // namespace ui
+} // namespace gfx
« no previous file with comments | « ui/gfx/win/singleton_hwnd.h ('k') | ui/gfx/win/window_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698