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

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 8909015: Implement RunFileChooser for ExtensionHost, so that file input elements work in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/extensions/extension_host.h ('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/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index 576a04774610ffa7c8837ebe6a34b099d6eb805a..bf17b88a532bd8fbefc2ba7406f1090d3afff220 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -463,6 +463,11 @@ content::JavaScriptDialogCreator* ExtensionHost::GetJavaScriptDialogCreator() {
return GetJavaScriptDialogCreatorInstance();
}
+void ExtensionHost::RunFileChooser(TabContents* tab,
+ const content::FileChooserParams& params) {
+ Browser::RunFileChooserHelper(tab, params);
+}
+
void ExtensionHost::AddNewContents(TabContents* source,
TabContents* new_contents,
WindowOpenDisposition disposition,
« no previous file with comments | « chrome/browser/extensions/extension_host.h ('k') | chrome/browser/file_select_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698