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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm

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
Index: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
index b614c9183360fa86d5f73af24b544554f705e152..7f86522b9427101a611054a1dace511a3101047c 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
@@ -6,7 +6,6 @@
#include <Carbon/Carbon.h> // kVK_Return
-#include "app/mac/nsimage_cache.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "base/utf_string_conversions.h"
@@ -26,6 +25,7 @@
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image.h"
+#include "ui/gfx/mac/nsimage_cache.h"
#include "ui/gfx/rect.h"
// Focus-handling between |field_| and |model_| is a bit subtle.
@@ -156,7 +156,7 @@ NSImage* OmniboxViewMac::ImageForResource(int resource_id) {
}
if (image_name) {
- if (NSImage* image = app::mac::GetCachedImageWithName(image_name)) {
+ if (NSImage* image = gfx::GetCachedImageWithName(image_name)) {
return image;
} else {
NOTREACHED()
« no previous file with comments | « chrome/browser/ui/cocoa/nsimage_cache_unittest.mm ('k') | chrome/browser/ui/cocoa/tab_contents/favicon_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698