diff options
Diffstat (limited to 'content/renderer/render_widget.h')
-rw-r--r-- | content/renderer/render_widget.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h index 3b072e8..5c11923 100644 --- a/content/renderer/render_widget.h +++ b/content/renderer/render_widget.h @@ -233,14 +233,10 @@ class CONTENT_EXPORT RenderWidget void OnSetTextDirection(WebKit::WebTextDirection direction); void OnGetFPS(); - // Override points to notify derived classes that a paint has happened. - // WillInitiatePaint happens when we're about to generate a new bitmap and - // send it to the browser. DidInitiatePaint 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 WillInitiatePaint, DidInitiatePaint, DidFlushPaint. - virtual void WillInitiatePaint() {} + // Override point to notify derived classes that a paint has happened. + // DidInitiatePaint happens when we've generated a new bitmap and sent it to + // the browser. DidFlushPaint happens once we've received the ACK that the + // screen has actually been updated. virtual void DidInitiatePaint() {} virtual void DidFlushPaint() {} |