Index: content/browser/renderer_host/render_widget_host_view_mac.h |
=================================================================== |
--- content/browser/renderer_host/render_widget_host_view_mac.h (revision 110269) |
+++ content/browser/renderer_host/render_widget_host_view_mac.h (working copy) |
@@ -130,6 +130,13 @@ |
- (void)setTakesFocusOnlyOnMouseDown:(BOOL)b; |
- (void)setCloseOnDeactivate:(BOOL)b; |
- (void)setToolTipAtMousePoint:(NSString *)string; |
+// Set frame, then notify the RenderWidgetHost that the frame has been changed, |
+// but do it in a separate task, using |performSelector:withObject:afterDelay:|. |
+// This stops the flickering issue in http://crbug.com/31970 |
+- (void)setFrameWithDeferredUpdate:(NSRect)frame; |
+// Notify the RenderWidgetHost that the frame was updated so it can resize |
+// its contents. |
+- (void)renderWidgetHostWasResized; |
// Cancel ongoing composition (abandon the marked text). |
- (void)cancelComposition; |
// Confirm ongoing composition. |