Index: chrome/browser/renderer_host/render_view_host.cc |
=================================================================== |
--- chrome/browser/renderer_host/render_view_host.cc (revision 13128) |
+++ chrome/browser/renderer_host/render_view_host.cc (working copy) |
@@ -712,6 +712,8 @@ |
IPC_MESSAGE_HANDLER(ViewHostMsg_DidDownloadImage, OnMsgDidDownloadImage) |
IPC_MESSAGE_HANDLER(ViewHostMsg_ContextMenu, OnMsgContextMenu) |
IPC_MESSAGE_HANDLER(ViewHostMsg_OpenURL, OnMsgOpenURL) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_DidContentsPreferredWidthChange, |
+ OnMsgDidContentsPreferredWidthChange) |
IPC_MESSAGE_HANDLER(ViewHostMsg_DomOperationResponse, |
OnMsgDomOperationResponse) |
IPC_MESSAGE_HANDLER(ViewHostMsg_DOMUISend, |
@@ -1053,6 +1055,10 @@ |
delegate_->RequestOpenURL(validated_url, referrer, disposition); |
} |
+void RenderViewHost::OnMsgDidContentsPreferredWidthChange(const int pref_width) { |
+ delegate_->DidContentsPreferredWidthChange(pref_width); |
+} |
+ |
void RenderViewHost::OnMsgDomOperationResponse( |
const std::string& json_string, int automation_id) { |
delegate_->DomOperationResponse(json_string, automation_id); |