Index: chrome/browser/renderer_host/render_widget_host_view_mac.mm |
diff --git a/chrome/browser/renderer_host/render_widget_host_view_mac.mm b/chrome/browser/renderer_host/render_widget_host_view_mac.mm |
index edb282fbea1c4a8fa322bd5856b6f3868099fa6a..cbd0fc5e9900c9af8dacd91c3aaa5811dbb3a96e 100644 |
--- a/chrome/browser/renderer_host/render_widget_host_view_mac.mm |
+++ b/chrome/browser/renderer_host/render_widget_host_view_mac.mm |
@@ -2500,6 +2500,18 @@ extern NSString *NSTextInputReplacementRangeAttributeName; |
return requestor; |
} |
+- (void)viewWillStartLiveResize { |
+ [super viewWillStartLiveResize]; |
+ RenderWidgetHost* widget = renderWidgetHostView_->render_widget_host_; |
+ widget->Send(new ViewMsg_SetInLiveResize(widget->routing_id(), true)); |
+} |
+ |
+- (void)viewDidEndLiveResize { |
+ [super viewDidEndLiveResize]; |
+ RenderWidgetHost* widget = renderWidgetHostView_->render_widget_host_; |
+ widget->Send(new ViewMsg_SetInLiveResize(widget->routing_id(), false)); |
+} |
+ |
@end |
// |