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

Unified Diff: ui/gfx/mac/nsimage_cache.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 | « chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm ('k') | ui/gfx/mac/nsimage_cache.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mac/nsimage_cache.h
diff --git a/app/mac/nsimage_cache.h b/ui/gfx/mac/nsimage_cache.h
similarity index 74%
rename from app/mac/nsimage_cache.h
rename to ui/gfx/mac/nsimage_cache.h
index ed1de06bd4c261c247378608de0b76c16f7f839b..83179d2e883de05ad48205173bb08cb1a8bcf93b 100644
--- a/app/mac/nsimage_cache.h
+++ b/ui/gfx/mac/nsimage_cache.h
@@ -1,9 +1,9 @@
-// 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_NSIMAGE_CACHE_H_
-#define APP_MAC_NSIMAGE_CACHE_H_
+#ifndef UI_GFX_MAC_NSIMAGE_CACHE_H_
+#define UI_GFX_MAC_NSIMAGE_CACHE_H_
#pragma once
#ifdef __OBJC__
@@ -14,8 +14,7 @@ class NSImage;
class NSString;
#endif
-namespace app {
-namespace mac {
+namespace gfx {
// Returns an autoreleased image from the main app bundle
// (mac_util::MainAppBundle()) with the given name, and keeps it in memory so
@@ -29,7 +28,6 @@ NSImage* GetCachedImageWithName(NSString* name);
// Clears the image cache.
void ClearCachedImages(void);
-} // namespace mac
-} // namespace app
+} // namespace gfx
-#endif // APP_MAC_NSIMAGE_CACHE_H_
+#endif // UI_GFX_MAC_NSIMAGE_CACHE_H_
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm ('k') | ui/gfx/mac/nsimage_cache.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698