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

Unified Diff: chrome/renderer/render_view.cc

Issue 63093: Refactoring; switch the |filter| parameter into something that is more amenab... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_view.h ('k') | webkit/glue/chrome_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 13572)
+++ chrome/renderer/render_view.cc (working copy)
@@ -1781,9 +1781,8 @@
}
void RenderView::RunFileChooser(bool multi_select,
- const std::wstring& title,
- const std::wstring& default_filename,
- const std::wstring& filter,
+ const string16& title,
+ const FilePath& default_filename,
WebFileChooserCallback* file_chooser) {
if (file_chooser_.get()) {
// TODO(brettw): bug 1235154: This should be a synchronous message to deal
@@ -1797,7 +1796,7 @@
}
file_chooser_.reset(file_chooser);
Send(new ViewHostMsg_RunFileChooser(routing_id_, multi_select, title,
- default_filename, filter));
+ default_filename));
}
void RenderView::AddMessageToConsole(WebView* webview,
« no previous file with comments | « chrome/renderer/render_view.h ('k') | webkit/glue/chrome_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698