diff options
author | zork@google.com <zork@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-13 23:54:57 +0000 |
---|---|---|
committer | zork@google.com <zork@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-13 23:54:57 +0000 |
commit | b62d1a8c6795a9feefe4a2e688463c56ce46a6bd (patch) | |
tree | 229f2d9bd915151f13642b5841c58603b0819690 /chrome/browser/shell_dialogs.h | |
parent | 10dd1a30fbaee0315e78d1752cbf1fa8e22c99e4 (diff) | |
download | chromium_src-b62d1a8c6795a9feefe4a2e688463c56ce46a6bd.zip chromium_src-b62d1a8c6795a9feefe4a2e688463c56ce46a6bd.tar.gz chromium_src-b62d1a8c6795a9feefe4a2e688463c56ce46a6bd.tar.bz2 |
Updating so that Gears can spawn file selectors when running in the renderer process
Review URL: http://codereview.chromium.org/14907
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_dialogs.h')
-rw-r--r-- | chrome/browser/shell_dialogs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/shell_dialogs.h b/chrome/browser/shell_dialogs.h index 183081dc..54f601c 100644 --- a/chrome/browser/shell_dialogs.h +++ b/chrome/browser/shell_dialogs.h @@ -37,7 +37,8 @@ class SelectFileDialog enum Type { SELECT_FOLDER, SELECT_SAVEAS_FILE, - SELECT_OPEN_FILE + SELECT_OPEN_FILE, + SELECT_OPEN_MULTI_FILE }; virtual ~SelectFileDialog() {} @@ -52,6 +53,11 @@ class SelectFileDialog // SelectFile. virtual void FileSelected(const std::wstring& path, void* params) = 0; + // Notifies the Listener that many files have been selected. The + // files are in |files|. |params| is contextual passed to SelectFile. + virtual void MultiFilesSelected( + const std::vector<std::wstring>& files, void* params) {}; + // Notifies the Listener that the file/folder selection was aborted (via // the user canceling or closing the selection dialog box, for example). // |params| is contextual passed to SelectFile. |