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

Unified Diff: webkit/glue/webpreferences.cc

Issue 8364018: Enable privileged WebGL extensions for Chrome extensions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
===================================================================
--- webkit/glue/webpreferences.cc (revision 106510)
+++ webkit/glue/webpreferences.cc (working copy)
@@ -69,6 +69,7 @@
webaudio_enabled(false),
experimental_webgl_enabled(false),
gl_multisampling_enabled(true),
+ privileged_webgl_extensions_enabled(false),
show_composited_layer_borders(false),
show_composited_layer_tree(false),
show_fps_counter(false),
@@ -236,6 +237,11 @@
// Disable GL multisampling if requested on command line.
settings->setOpenGLMultisamplingEnabled(gl_multisampling_enabled);
+ // Enable privileged WebGL extensions for Chrome extensions or if requested
+ // on command line.
+ settings->setPrivilegedWebGLExtensionsEnabled(
+ privileged_webgl_extensions_enabled);
+
// Display colored borders around composited render layers if requested
// on command line.
settings->setShowDebugBorders(show_composited_layer_borders);
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698