Index: content/renderer/render_view.cc |
=================================================================== |
--- content/renderer/render_view.cc (revision 82079) |
+++ content/renderer/render_view.cc (working copy) |
@@ -1378,6 +1378,17 @@ |
return notification_provider_; |
} |
+bool RenderView::enumerateChosenDirectory( |
+ const WebString& path, |
+ WebFileChooserCompletion* chooser_completion) { |
+ int id = enumeration_completion_id_++; |
+ enumeration_completions_[id] = chooser_completion; |
+ return Send(new ViewHostMsg_EnumerateDirectory( |
+ routing_id_, |
+ id, |
+ webkit_glue::WebStringToFilePath(path))); |
+} |
+ |
void RenderView::didStartLoading() { |
if (is_loading_) { |
DLOG(WARNING) << "didStartLoading called while loading"; |
@@ -1545,17 +1556,6 @@ |
return ScheduleFileChooser(ipc_params, chooser_completion); |
} |
-bool RenderView::enumerateDirectory( |
- const WebString& path, |
- WebFileChooserCompletion* chooser_completion) { |
- int id = enumeration_completion_id_++; |
- enumeration_completions_[id] = chooser_completion; |
- return Send(new ViewHostMsg_EnumerateDirectory( |
- routing_id_, |
- id, |
- webkit_glue::WebStringToFilePath(path))); |
-} |
- |
void RenderView::runModalAlertDialog( |
WebFrame* frame, const WebString& message) { |
RunJavaScriptMessage(ui::MessageBoxFlags::kIsJavascriptAlert, |