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

Unified Diff: Source/core/loader/FrameLoaderClient.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 typo in comments 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
Index: Source/core/loader/FrameLoaderClient.h
diff --git a/Source/core/loader/FrameLoaderClient.h b/Source/core/loader/FrameLoaderClient.h
index 75346044143884d48f64cd046117332d7c325ff7..2eba57f7676ccd16ab211d139f4c311feadebb5d 100644
--- a/Source/core/loader/FrameLoaderClient.h
+++ b/Source/core/loader/FrameLoaderClient.h
@@ -218,6 +218,8 @@ class FetchRequest;
// Informs the embedder that a WebGL canvas inside this frame received a lost context
// notification with the given GL_ARB_robustness guilt/innocence code (see Extensions3D.h).
virtual void didLoseWebGLContext(int) { }
+ // Returns true if WebGL extension WEBGL_debug_renderer_info is allowed.
Ken Russell (switch to Gerrit) 2013/10/29 23:00:17 Could you please add a newline above this line?
Zhenyao Mo 2013/10/29 23:05:52 Done.
+ virtual bool allowWebGLDebugRendererInfo() { return false; }
// If an HTML document is being loaded, informs the embedder that the document will have its <body> attached soon.
virtual void dispatchWillInsertBody() { }

Powered by Google App Engine
This is Rietveld 408576698