| Index: public/web/WebWidgetClient.h
|
| diff --git a/public/web/WebWidgetClient.h b/public/web/WebWidgetClient.h
|
| index 93ae02ff21e135a8da3b92f008320e1c0322047d..c1ce416eb6c0355249171c581bc26725f8459619 100644
|
| --- a/public/web/WebWidgetClient.h
|
| +++ b/public/web/WebWidgetClient.h
|
| @@ -78,6 +78,19 @@ public:
|
| // Called when a call to WebWidget::animate is required
|
| virtual void scheduleAnimation() { }
|
|
|
| + // Called when one of the following things were involved during the layout:
|
| + // * > 200 text characters
|
| + // * > 1024 image pixels
|
| + // * a plugin
|
| + // * a canvas
|
| + // An approximation for first layout that resulted in pixels on screen.
|
| + // Not the best heuristic, and we should replace it with something better.
|
| + virtual void didFirstVisuallyNonEmptyLayout() { }
|
| +
|
| + // The frame's document first layout immediately after the parsing finished.
|
| + // Another way to put it: first frame produced after DOMContentLoaded was dispatched.
|
| + virtual void didFirstLayoutAfterFinishedParsing() { }
|
| +
|
| // Called when the widget acquires or loses focus, respectively.
|
| virtual void didFocus() { }
|
| virtual void didBlur() { }
|
|
|