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

Unified Diff: chrome/browser/ui/cocoa/web_drag_source.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
« no previous file with comments | « chrome/browser/ui/cocoa/web_contents_drag_source.mm ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/web_drag_source.mm
===================================================================
--- chrome/browser/ui/cocoa/web_drag_source.mm (revision 69953)
+++ chrome/browser/ui/cocoa/web_drag_source.mm (working copy)
@@ -1,11 +1,11 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// 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.
#import "chrome/browser/ui/cocoa/web_drag_source.h"
+#include "app/mac/nsimage_cache.h"
#include "base/file_path.h"
-#include "base/nsimage_cache_mac.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "base/task.h"
@@ -406,7 +406,7 @@
return dragImage_;
// Default to returning a generic image.
- return nsimage_cache::ImageNamed(@"nav.pdf");
+ return app::mac::GetCachedImageWithName::ImageNamed(@"nav.pdf");
}
@end // @implementation WebDragSource (Private)
« no previous file with comments | « chrome/browser/ui/cocoa/web_contents_drag_source.mm ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698