Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: public/web/WebView.h

Issue 703903002: [WebGL-blink] Add test function to force fail the webgl-context (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove decleration from webwidget. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index da572e02dc5e352e277949e25755ebc73be4033f..24e3557c9a27be1eaf6e129e68831b48ab76ae00 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -493,6 +493,10 @@ public:
// Testing functionality for TestRunner ---------------------------------
+ // Force the webgl context to fail so that webglcontextcreationerror
+ // event gets generated/tested.
+ virtual void forceNextWebGLContextCreationToFail() = 0;
+
protected:
~WebView() {}
};
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698