| Index: content/renderer/render_widget_owner_delegate.h
|
| diff --git a/content/renderer/render_widget_owner_delegate.h b/content/renderer/render_widget_owner_delegate.h
|
| index 309324ae13dbbd33da460a69ee8a630bb78e4d18..4c76ddd19bd31f2326a025c41ad99749442505ed 100644
|
| --- a/content/renderer/render_widget_owner_delegate.h
|
| +++ b/content/renderer/render_widget_owner_delegate.h
|
| @@ -40,6 +40,15 @@ class CONTENT_EXPORT RenderWidgetOwnerDelegate {
|
| virtual bool RenderWidgetWillHandleMouseEvent(
|
| const blink::WebMouseEvent& event) = 0;
|
|
|
| + // Painting notifications. RenderWidgetDidCommitAndDrawCompositorFrame happens
|
| + // when that has completed, and subsequent rendering won't affect the painted
|
| + // content. DidFlushPaint happens once we've received the ACK that the screen
|
| + // has been updated. For a given paint operation, these overrides will always
|
| + // be called in the order RenderWidgetDidCommitAndDrawCompositorFrame,
|
| + // RenderWidgetDidFlushPaint.
|
| + virtual void RenderWidgetDidCommitAndDrawCompositorFrame() = 0;
|
| + virtual void RenderWidgetDidFlushPaint() = 0;
|
| +
|
| protected:
|
| virtual ~RenderWidgetOwnerDelegate() {}
|
| };
|
|
|