| Index: content/browser/renderer_host/render_view_host.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/render_view_host.cc (revision 98068)
|
| +++ content/browser/renderer_host/render_view_host.cc (working copy)
|
| @@ -718,10 +718,9 @@
|
| #if defined(OS_MACOSX)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_ShowPopup, OnMsgShowPopup)
|
| #endif
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_RunFileChooser, OnRunFileChooser)
|
| // Have the super handle all other messages.
|
| IPC_MESSAGE_UNHANDLED(handled = RenderWidgetHost::OnMessageReceived(msg))
|
| - // NOTE: Do not add a message handler that just calls the delegate!
|
| - // Dispatch the message directly there instead.
|
| IPC_END_MESSAGE_MAP_EX()
|
|
|
| if (!msg_is_ok) {
|
| @@ -1357,3 +1356,9 @@
|
| }
|
| }
|
| #endif
|
| +
|
| +void RenderViewHost::OnRunFileChooser(
|
| + const ViewHostMsg_RunFileChooser_Params& params) {
|
| + delegate_->RunFileChooser(this, params);
|
| +}
|
| +
|
|
|