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

Unified Diff: chrome/renderer/chrome_render_view_observer.cc

Issue 57563004: Merge r232231: Expose WebGL extension WEBGL_debug_renderer_info to Google domains (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1650/src/
Patch Set: Created 7 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 | « chrome/renderer/chrome_render_view_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_view_observer.cc
===================================================================
--- chrome/renderer/chrome_render_view_observer.cc (revision 232511)
+++ chrome/renderer/chrome_render_view_observer.cc (working copy)
@@ -762,6 +762,15 @@
return true;
}
+bool ChromeRenderViewObserver::allowWebGLDebugRendererInfo(WebFrame* frame) {
+ bool allowed = false;
+ Send(new ChromeViewHostMsg_IsWebGLDebugRendererInfoAllowed(
+ routing_id(),
+ GURL(frame->top()->document().securityOrigin().toString().utf8()),
+ &allowed));
+ return allowed;
+}
+
void ChromeRenderViewObserver::didNotAllowPlugins(WebFrame* frame) {
content_settings_->DidNotAllowPlugins();
}
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698