diff options
Diffstat (limited to 'WebKit/chromium/public/WebView.h')
-rw-r--r-- | WebKit/chromium/public/WebView.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebView.h b/WebKit/chromium/public/WebView.h index 1b94da2..d162f26 100644 --- a/WebKit/chromium/public/WebView.h +++ b/WebKit/chromium/public/WebView.h @@ -45,6 +45,7 @@ class WebDragData; class WebFrame; class WebFrameClient; class WebGLES2Context; +class WebGraphicsContext3D; class WebNode; class WebSettings; class WebString; @@ -109,6 +110,9 @@ public: virtual bool isActive() const = 0; virtual void setIsActive(bool) = 0; + // Allows disabling domain relaxation. + virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) = 0; + // Closing ------------------------------------------------------------- @@ -339,8 +343,17 @@ public: // Returns the GLES2Context associated with this WebView. One will be // created if it doesn't already exist. + // FIXME: remove this method once the compositor is fully switched + // over to GraphicsContext3D. virtual WebGLES2Context* gles2Context() = 0; + // Returns the (on-screen) WebGraphicsContext3D associated with + // this WebView. One will be created if it doesn't already exist. + // This is used to set up sharing between this context (which is + // that used by the compositor) and contexts for WebGL and other + // APIs. + virtual WebGraphicsContext3D* graphicsContext3D() = 0; + protected: ~WebView() {} }; |