diff options
Diffstat (limited to 'WebCore/page/chromium/ChromeClientChromium.h')
-rw-r--r-- | WebCore/page/chromium/ChromeClientChromium.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebCore/page/chromium/ChromeClientChromium.h b/WebCore/page/chromium/ChromeClientChromium.h index e897c15..46985b1 100644 --- a/WebCore/page/chromium/ChromeClientChromium.h +++ b/WebCore/page/chromium/ChromeClientChromium.h @@ -39,6 +39,10 @@ class AccessibilityObject; class IntRect; class PopupContainer; +#if USE(ACCELERATED_COMPOSITING) +class GLES2Context; +#endif + // Contains Chromium-specific extensions to the ChromeClient. Only put // things here that don't make sense for other ports. class ChromeClientChromium : public ChromeClient { @@ -55,6 +59,12 @@ public: // Notifies embedder that the state of an accessibility object has changed. virtual void didChangeAccessibilityObjectState(AccessibilityObject*) = 0; + +#if USE(ACCELERATED_COMPOSITING) + // Request a GL ES 2 context to use for compositing this page's content. + virtual PassOwnPtr<GLES2Context> getOnscreenGLES2Context() = 0; + virtual PassOwnPtr<GLES2Context> getOffscreenGLES2Context() = 0; +#endif }; } // namespace WebCore |