diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
| commit | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch) | |
| tree | 988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Source/WebKit/chromium/public/WebWidgetClient.h | |
| parent | dd91e772430dc294e3bf478c119ef8d43c0a3358 (diff) | |
| download | qtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz | |
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Source/WebKit/chromium/public/WebWidgetClient.h')
| -rw-r--r-- | Source/WebKit/chromium/public/WebWidgetClient.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Source/WebKit/chromium/public/WebWidgetClient.h b/Source/WebKit/chromium/public/WebWidgetClient.h index 24cd9c6ac..92dfb3671 100644 --- a/Source/WebKit/chromium/public/WebWidgetClient.h +++ b/Source/WebKit/chromium/public/WebWidgetClient.h @@ -56,14 +56,23 @@ public: virtual void didAutoResize(const WebSize& newSize) { } // Called when the compositor is enabled or disabled. - // The WebCompositor identifier can be used on the compositor thread to get access - // to the WebCompositor instance associated with this WebWidget. - // If there is no WebCompositor associated with this WebWidget (for example if - // threaded compositing is not enabled) then calling WebCompositor::fromIdentifier() + // The inputHandlerIdentifier can be used on the compositor thread to get access + // to the WebCompositorInputHandler instance associated with this WebWidget. + // If there is no WebCompositorInputHandler associated with this WebWidget (for example if + // threaded compositing is not enabled) then calling WebCompositorInputHandler::fromIdentifier() // for the specified identifier will return 0. - virtual void didActivateCompositor(int compositorIdentifier) { } + virtual void didActivateCompositor(int inputHandlerIdentifier) { } virtual void didDeactivateCompositor() { } + // Indicates to the embedder that the compositor is about to begin a + // frame. This is primarily to signal to flow control mechanisms that a + // frame is beginning, not to perform actual painting work. + virtual void willBeginCompositorFrame() { } + + // Indicates to the embedder that the WebWidget is ready for additional + // input. + virtual void didBecomeReadyForAdditionalInput() { } + // Called for compositing mode when the draw commands for a WebKit-side // frame have been issued. virtual void didCommitAndDrawCompositorFrame() { } |
