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

Unified Diff: chrome/browser/ui/cocoa/notifications/balloon_controller.mm

Issue 5961007: Move nsimage_cache from base to app/mac. Use the app::mac namespace. Update c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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
Index: chrome/browser/ui/cocoa/notifications/balloon_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/notifications/balloon_controller.mm (revision 69953)
+++ chrome/browser/ui/cocoa/notifications/balloon_controller.mm (working copy)
@@ -5,10 +5,10 @@
#include "chrome/browser/ui/cocoa/notifications/balloon_controller.h"
#include "app/l10n_util.h"
+#include "app/mac/nsimage_cache.h"
#include "app/resource_bundle.h"
#import "base/cocoa_protocols_mac.h"
#include "base/mac_util.h"
-#include "base/nsimage_cache_mac.h"
#import "base/scoped_nsobject.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/notifications/balloon.h"
@@ -59,7 +59,7 @@
DCHECK([self window]);
DCHECK_EQ(self, [[self window] delegate]);
- NSImage* image = nsimage_cache::ImageNamed(@"balloon_wrench.pdf");
+ NSImage* image = app::mac::GetCachedImageWithName(@"balloon_wrench.pdf");
[optionsButton_ setDefaultImage:image];
[optionsButton_ setDefaultOpacity:0.6];
[optionsButton_ setHoverImage:image];
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('k') | chrome/browser/ui/cocoa/nsimage_cache_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698