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

Unified Diff: ui/gfx/win/scoped_set_map_mode.h

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/hwnd_util.cc ('k') | ui/gfx/win/singleton_hwnd.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/scoped_set_map_mode.h
diff --git a/ui/base/win/scoped_set_map_mode.h b/ui/gfx/win/scoped_set_map_mode.h
similarity index 81%
rename from ui/base/win/scoped_set_map_mode.h
rename to ui/gfx/win/scoped_set_map_mode.h
index bf2b78dca5c1457db80294b676b6160e474a0cdf..910837d109ce8f60bb80d0935addc818037b9687 100644
--- a/ui/base/win/scoped_set_map_mode.h
+++ b/ui/gfx/win/scoped_set_map_mode.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_BASE_WIN_SCOPED_SET_MAP_MODE_H_
-#define UI_BASE_WIN_SCOPED_SET_MAP_MODE_H_
+#ifndef UI_GFX_WIN_SCOPED_SET_MAP_MODE_H_
+#define UI_GFX_WIN_SCOPED_SET_MAP_MODE_H_
#include <windows.h>
#include "base/basictypes.h"
#include "base/logging.h"
-namespace ui {
+namespace gfx {
// Helper class for setting and restore the map mode on a DC.
class ScopedSetMapMode {
@@ -35,6 +35,6 @@ class ScopedSetMapMode {
DISALLOW_COPY_AND_ASSIGN(ScopedSetMapMode);
};
-} // namespace ui
+} // namespace gfx
-#endif // UI_BASE_WIN_SCOPED_SET_MAP_MODE_H_
+#endif // UI_GFX_WIN_SCOPED_SET_MAP_MODE_H_
« no previous file with comments | « ui/gfx/win/hwnd_util.cc ('k') | ui/gfx/win/singleton_hwnd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698