| Index: app/mac/nsimage_cache.h
|
| diff --git a/app/mac/nsimage_cache.h b/app/mac/nsimage_cache.h
|
| deleted file mode 100644
|
| index ed1de06bd4c261c247378608de0b76c16f7f839b..0000000000000000000000000000000000000000
|
| --- a/app/mac/nsimage_cache.h
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -// Copyright (c) 2010 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_
|
| -#pragma once
|
| -
|
| -#ifdef __OBJC__
|
| -@class NSImage;
|
| -@class NSString;
|
| -#else
|
| -class NSImage;
|
| -class NSString;
|
| -#endif
|
| -
|
| -namespace app {
|
| -namespace mac {
|
| -
|
| -// Returns an autoreleased image from the main app bundle
|
| -// (mac_util::MainAppBundle()) with the given name, and keeps it in memory so
|
| -// future fetches are fast.
|
| -// NOTE:
|
| -// - This should only be called on the main thread.
|
| -// - The caller should retain the image if they want to keep it around, as
|
| -// the cache could have limit on size/lifetime, etc.
|
| -NSImage* GetCachedImageWithName(NSString* name);
|
| -
|
| -// Clears the image cache.
|
| -void ClearCachedImages(void);
|
| -
|
| -} // namespace mac
|
| -} // namespace app
|
| -
|
| -#endif // APP_MAC_NSIMAGE_CACHE_H_
|
|
|