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

Unified Diff: chrome/browser/file_select_helper.h

Issue 8622005: Get rid of view_messages.h include from chrome since TabContentsDelegate used a struct from it (V... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/external_tab_container_win.cc ('k') | chrome/browser/file_select_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/file_select_helper.h
===================================================================
--- chrome/browser/file_select_helper.h (revision 110979)
+++ chrome/browser/file_select_helper.h (working copy)
@@ -18,8 +18,10 @@
class Profile;
class RenderViewHost;
-struct ViewHostMsg_RunFileChooser_Params;
+namespace content {
+struct FileChooserParams;
+}
// This class handles file-selection requests coming from WebUI elements
// (via the ExtensionHost class). It implements both the initialisation
@@ -34,7 +36,7 @@
// Show the file chooser dialog.
void RunFileChooser(RenderViewHost* render_view_host,
TabContents* tab_contents,
- const ViewHostMsg_RunFileChooser_Params& params);
+ const content::FileChooserParams& params);
// Enumerates all the files in directory.
void EnumerateDirectory(int request_id,
@@ -70,9 +72,9 @@
};
void RunFileChooserOnFileThread(
- const ViewHostMsg_RunFileChooser_Params& params);
+ const content::FileChooserParams& params);
void RunFileChooserOnUIThread(
- const ViewHostMsg_RunFileChooser_Params& params);
+ const content::FileChooserParams& params);
// Cleans up and releases this instance. This must be called after the last
// callback is received from the file chooser dialog.
« no previous file with comments | « chrome/browser/external_tab_container_win.cc ('k') | chrome/browser/file_select_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698