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

Unified Diff: public/web/WebPermissionClient.h

Issue 51323003: Expose WEBGL_debug_renderer_info through a chromium finch experiment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix member init order Created 7 years, 2 months 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/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebPermissionClient.h
diff --git a/public/web/WebPermissionClient.h b/public/web/WebPermissionClient.h
index 2b7d5727faf9b6952fcd79939b9471b12eefc11f..abc172abd8a07516daa0087dd946e25a850e158a 100644
--- a/public/web/WebPermissionClient.h
+++ b/public/web/WebPermissionClient.h
@@ -101,6 +101,9 @@ public:
// Controls whether pushState and related History APIs are enabled for this frame.
virtual bool allowPushState(const WebDocument&) { return true; }
+ // Controls whether WebGL extension WEBGL_debug_renderer_info is allowed for this frame.
+ virtual bool allowWebGLDebugRendererInfo(WebFrame*) { return false; }
+
// Notifies the client that the frame would have instantiated a plug-in if plug-ins were enabled.
virtual void didNotAllowPlugins(WebFrame*) { }
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698