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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

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.h ('k') | public/web/WebPermissionClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index d7385396782b16cd1caa9f5d476a1cc6a02aca4d..8e384900d3e03bda918549ced824b815872eb56d 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -754,6 +754,14 @@ void FrameLoaderClientImpl::didLoseWebGLContext(int arbRobustnessContextLostReas
m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessContextLostReason);
}
+bool FrameLoaderClientImpl::allowWebGLDebugRendererInfo()
+{
+ WebViewImpl* webview = m_webFrame->viewImpl();
+ if (webview && webview->permissionClient())
+ return webview->permissionClient()->allowWebGLDebugRendererInfo(m_webFrame);
+ return false;
+}
+
void FrameLoaderClientImpl::dispatchWillInsertBody()
{
if (m_webFrame->client())
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | public/web/WebPermissionClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698