diff options
Diffstat (limited to 'Source/WebKit/chromium/public/WebWidget.h')
| -rw-r--r-- | Source/WebKit/chromium/public/WebWidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/public/WebWidget.h b/Source/WebKit/chromium/public/WebWidget.h index 600c523f8..b2a57d66e 100644 --- a/Source/WebKit/chromium/public/WebWidget.h +++ b/Source/WebKit/chromium/public/WebWidget.h @@ -48,6 +48,7 @@ class WebInputEvent; class WebMouseEvent; class WebString; struct WebPoint; +struct WebRenderingStats; template <typename T> class WebVector; class WebWidget { @@ -221,6 +222,10 @@ public: // following the call to instrumentBeginFrame(). virtual void instrumentCancelFrame() { } + // Fills in a WebRenderingStats struct containing information about the state of the compositor. + // This call is relatively expensive in threaded mode as it blocks on the compositor thread. + virtual void renderingStats(WebRenderingStats&) const { } + // The page background color. Can be used for filling in areas without // content. virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHITE */ } |
