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

Unified Diff: ui/base/dragdrop/drag_utils.cc

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « ui/base/dragdrop/drag_utils.h ('k') | ui/base/dragdrop/os_exchange_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/drag_utils.cc
diff --git a/ui/base/dragdrop/drag_utils.cc b/ui/base/dragdrop/drag_utils.cc
index 9c5849175b0e10f560052a06fcd10bcbebf7f899..6431f7d0efe6d1b6fa6444b05277c36402b24f1f 100644
--- a/ui/base/dragdrop/drag_utils.cc
+++ b/ui/base/dragdrop/drag_utils.cc
@@ -29,7 +29,8 @@ static const SkColor kFileDragImageTextColor = SK_ColorBLACK;
class FileDragImageSource : public gfx::CanvasImageSource {
public:
- FileDragImageSource(const FilePath& file_name, const gfx::ImageSkia& icon)
+ FileDragImageSource(const base::FilePath& file_name,
+ const gfx::ImageSkia& icon)
: CanvasImageSource(CalculateSize(icon), false),
file_name_(file_name),
icon_(icon) {
@@ -75,7 +76,7 @@ class FileDragImageSource : public gfx::CanvasImageSource {
return gfx::Size(width, height);
}
- const FilePath file_name_;
+ const base::FilePath file_name_;
const gfx::ImageSkia icon_;
DISALLOW_COPY_AND_ASSIGN(FileDragImageSource);
@@ -83,7 +84,7 @@ class FileDragImageSource : public gfx::CanvasImageSource {
} // namespace
-void CreateDragImageForFile(const FilePath& file_name,
+void CreateDragImageForFile(const base::FilePath& file_name,
const gfx::ImageSkia* icon,
ui::OSExchangeData* data_object) {
DCHECK(icon);
« no previous file with comments | « ui/base/dragdrop/drag_utils.h ('k') | ui/base/dragdrop/os_exchange_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698