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_ |