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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/web_contents_drag_source.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/tab_contents/web_contents_drag_source.mm
diff --git a/chrome/browser/ui/cocoa/tab_contents/web_contents_drag_source.mm b/chrome/browser/ui/cocoa/tab_contents/web_contents_drag_source.mm
index d1e4a9bd59afed582915283d88ea91daf118fb53..524a855d84b484495d38dd4dcaabef66fffdaa3d 100644
--- a/chrome/browser/ui/cocoa/tab_contents/web_contents_drag_source.mm
+++ b/chrome/browser/ui/cocoa/tab_contents/web_contents_drag_source.mm
@@ -1,15 +1,15 @@
-// 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.
#import "chrome/browser/ui/cocoa/tab_contents/web_contents_drag_source.h"
-#include "app/mac/nsimage_cache.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "chrome/browser/tab_contents/tab_contents_view_mac.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
+#include "ui/gfx/mac/nsimage_cache.h"
namespace {
@@ -20,7 +20,7 @@ NSImage* MakeDragImage() {
// WebKit/WebKit/mac/Misc/WebNSViewExtras.m: |-_web_DragImageForElement:...|).
// Default to returning a generic image.
- return app::mac::GetCachedImageWithName(@"nav.pdf");
+ return gfx::GetCachedImageWithName(@"nav.pdf");
}
// Flips screen and point coordinates over the y axis to work with webkit
« no previous file with comments | « chrome/browser/ui/cocoa/tab_contents/favicon_util.mm ('k') | chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698