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

Unified Diff: ui/gfx/mac/scoped_ns_disable_screen_updates.h

Issue 7200045: Move app/mac/ files to ui/gfx/mac/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove more unused includes Created 9 years, 6 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/mac/nsimage_cache_unittest.cc.README ('k') | ui/ui_gfx.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mac/scoped_ns_disable_screen_updates.h
diff --git a/app/mac/scoped_nsdisable_screen_updates.h b/ui/gfx/mac/scoped_ns_disable_screen_updates.h
similarity index 72%
rename from app/mac/scoped_nsdisable_screen_updates.h
rename to ui/gfx/mac/scoped_ns_disable_screen_updates.h
index 14a948c4a3b2b37e13ff3cad52fa40a1c2595b9f..310672af0f2e6691c8b199035d9d0a6d288dd099 100644
--- a/app/mac/scoped_nsdisable_screen_updates.h
+++ b/ui/gfx/mac/scoped_ns_disable_screen_updates.h
@@ -1,17 +1,16 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APP_MAC_SCOPED_NSDISABLE_SCREEN_UPDATES_H_
-#define APP_MAC_SCOPED_NSDISABLE_SCREEN_UPDATES_H_
+#ifndef UI_GFX_MAC_SCOPED_NS_DISABLE_SCREEN_UPDATES_H_
+#define UI_GFX_MAC_SCOPED_NS_DISABLE_SCREEN_UPDATES_H_
#pragma once
#import <Cocoa/Cocoa.h>
#include "base/basictypes.h"
-namespace app {
-namespace mac {
+namespace gfx {
// A stack-based class to disable Cocoa screen updates. When instantiated, it
// disables screen updates and enables them when destroyed. Update disabling
@@ -31,7 +30,6 @@ class ScopedNSDisableScreenUpdates {
DISALLOW_COPY_AND_ASSIGN(ScopedNSDisableScreenUpdates);
};
-} // namespace mac
-} // namespace app
+} // namespace gfx
-#endif // APP_MAC_SCOPED_NSDISABLE_SCREEN_UPDATES_H_
+#endif // UI_GFX_MAC_SCOPED_NS_DISABLE_SCREEN_UPDATES_H_
« no previous file with comments | « ui/gfx/mac/nsimage_cache_unittest.cc.README ('k') | ui/ui_gfx.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698