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

Unified Diff: chrome/browser/download/drag_download_file.h

Issue 6250014: Move more dnd related files to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « chrome/browser/download/download_util.cc ('k') | chrome/browser/download/drag_download_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/drag_download_file.h
===================================================================
--- chrome/browser/download/drag_download_file.h (revision 71798)
+++ chrome/browser/download/drag_download_file.h (working copy)
@@ -6,13 +6,13 @@
#define CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_
#pragma once
-#include "app/download_file_interface.h"
#include "base/file_path.h"
#include "base/linked_ptr.h"
#include "chrome/browser/download/download_file.h"
#include "chrome/browser/download/download_item.h"
#include "chrome/browser/download/download_manager.h"
#include "googleurl/src/gurl.h"
+#include "ui/base/dragdrop/download_file_interface.h"
class TabContents;
@@ -20,7 +20,7 @@
class FileStream;
}
-class DragDownloadFile : public DownloadFileProvider,
+class DragDownloadFile : public ui::DownloadFileProvider,
public DownloadManager::Observer,
public DownloadItem::Observer {
public:
@@ -43,7 +43,7 @@
// DownloadFileProvider methods.
// Called on drag-and-drop thread (Windows).
// Called on UI thread (MacOSX).
- virtual bool Start(DownloadFileObserver* observer);
+ virtual bool Start(ui::DownloadFileObserver* observer);
virtual void Stop();
#if defined(OS_WIN)
virtual IStream* GetStream() { return NULL; }
@@ -96,7 +96,7 @@
// Accessed on UI thread (MacOSX).
bool is_started_;
bool is_successful_;
- scoped_refptr<DownloadFileObserver> observer_;
+ scoped_refptr<ui::DownloadFileObserver> observer_;
// Accessed on drag-and-drop thread (Windows only).
#if defined(OS_WIN)
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/download/drag_download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698