Chromium Code Reviews| 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; } |
|
abarth-chromium
2013/10/30 21:41:56
This should take a const WebDocument& like the oth
Zhenyao Mo
2013/10/30 21:57:11
I am confused. There are multiple examples using
|
| + |
| // Notifies the client that the frame would have instantiated a plug-in if plug-ins were enabled. |
| virtual void didNotAllowPlugins(WebFrame*) { } |