Index: content/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents.cc (revision 98116) |
+++ content/browser/tab_contents/tab_contents.cc (working copy) |
@@ -294,7 +294,6 @@ |
IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) |
IPC_MESSAGE_HANDLER(ViewHostMsg_FocusedNodeChanged, OnFocusedNodeChanged) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SaveURLAs, OnSaveURL) |
- IPC_MESSAGE_HANDLER(ViewHostMsg_RunFileChooser, OnRunFileChooser) |
IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP_EX() |
@@ -307,6 +306,12 @@ |
return handled; |
} |
+void TabContents::RunFileChooser( |
+ RenderViewHost* render_view_host, |
+ const ViewHostMsg_RunFileChooser_Params& params) { |
+ delegate()->RunFileChooser(this, params); |
+} |
+ |
RenderProcessHost* TabContents::GetRenderProcessHost() const { |
return render_manager_.current_host()->process(); |
} |
@@ -1087,11 +1092,6 @@ |
Details<const bool>(&is_editable_node)); |
} |
-void TabContents::OnRunFileChooser( |
- const ViewHostMsg_RunFileChooser_Params& params) { |
- delegate()->RunFileChooser(this, params); |
-} |
- |
void TabContents::OnEnumerateDirectory(int request_id, |
const FilePath& path) { |
delegate()->EnumerateDirectory(this, request_id, path); |