summaryrefslogtreecommitdiffstats
path: root/chrome/browser/file_select_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/file_select_helper.h')
-rw-r--r--chrome/browser/file_select_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/file_select_helper.h b/chrome/browser/file_select_helper.h
index e5fc7fa..270c8aa 100644
--- a/chrome/browser/file_select_helper.h
+++ b/chrome/browser/file_select_helper.h
@@ -20,6 +20,10 @@ class Profile;
class RenderViewHost;
struct ViewHostMsg_RunFileChooser_Params;
+
+// This class handles file-selection requests coming from WebUI elements
+// (via the ExtensionHost class). It implements both the initialisation
+// and listener functions for file-selection dialogs.
class FileSelectHelper
: public SelectFileDialog::Listener,
public NotificationObserver {
@@ -29,6 +33,7 @@ class FileSelectHelper
// Show the file chooser dialog.
void RunFileChooser(RenderViewHost* render_view_host,
+ TabContents* tab_contents,
const ViewHostMsg_RunFileChooser_Params& params);
// Enumerates all the files in directory.