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

Side by Side Diff: chrome/browser/download/download_file_picker.h

Issue 7618048: Move the core download files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/download/download_manager.h"
10 #include "chrome/browser/ui/shell_dialogs.h" 9 #include "chrome/browser/ui/shell_dialogs.h"
10 #include "content/browser/download/download_manager.h"
11 11
12 class FilePath; 12 class FilePath;
13 class TabContents; 13 class TabContents;
14 14
15 // Handles showing a dialog to the user to ask for the filename for a download. 15 // Handles showing a dialog to the user to ask for the filename for a download.
16 class DownloadFilePicker : public DownloadManager::Observer, 16 class DownloadFilePicker : public DownloadManager::Observer,
17 public SelectFileDialog::Listener { 17 public SelectFileDialog::Listener {
18 public: 18 public:
19 DownloadFilePicker(DownloadManager* download_manager, 19 DownloadFilePicker(DownloadManager* download_manager,
20 TabContents* tab_contents, 20 TabContents* tab_contents,
(...skipping 12 matching lines...) Expand all
33 33
34 DownloadManager* download_manager_; 34 DownloadManager* download_manager_;
35 35
36 // For managing select file dialogs. 36 // For managing select file dialogs.
37 scoped_refptr<SelectFileDialog> select_file_dialog_; 37 scoped_refptr<SelectFileDialog> select_file_dialog_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(DownloadFilePicker); 39 DISALLOW_COPY_AND_ASSIGN(DownloadFilePicker);
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ 42 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698