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

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

Issue 10804026: Fix open dialog not remembering last opened folder on drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROMEOS_H__ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__
7 7
8 #include "chrome/browser/download/download_file_picker.h" 8 #include "chrome/browser/download/download_file_picker.h"
9 9
10 namespace ui {
11 struct SelectedFileInfo;
12 }
13
10 class DownloadFilePickerChromeOS : public DownloadFilePicker { 14 class DownloadFilePickerChromeOS : public DownloadFilePicker {
11 public: 15 public:
12 DownloadFilePickerChromeOS(); 16 DownloadFilePickerChromeOS();
13 virtual ~DownloadFilePickerChromeOS(); 17 virtual ~DownloadFilePickerChromeOS();
14 18
15 private: 19 private:
16 // SelectFileDialog::Listener implementation. 20 // SelectFileDialog::Listener implementation.
17 virtual void FileSelected(const FilePath& path, 21 virtual void FileSelected(const FilePath& path,
18 int index, 22 int index,
19 void* params) OVERRIDE; 23 void* params) OVERRIDE;
24 virtual void FileSelectedWithExtraInfo(
25 const ui::SelectedFileInfo& file_info,
26 int index,
27 void* params) OVERRIDE;
20 28
21 // DownloadFilePicker implementation. 29 // DownloadFilePicker implementation.
22 // This looks up the gdata path instead of the temporary local path. 30 // This looks up the gdata path instead of the temporary local path.
23 virtual void InitSuggestedPath(content::DownloadItem* item) OVERRIDE; 31 virtual void InitSuggestedPath(content::DownloadItem* item) OVERRIDE;
24 32
25 DISALLOW_COPY_AND_ASSIGN(DownloadFilePickerChromeOS); 33 DISALLOW_COPY_AND_ASSIGN(DownloadFilePickerChromeOS);
26 }; 34 };
27 35
28 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__ 36 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698