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

Unified Diff: content/renderer/render_view_impl.h

Issue 11378008: Raise an infobar and deny access to WebGL if a GPU reset was detected while a web page containing W… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Further cleanups suggested by @jam. Created 8 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
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index f15fa740b578bd7b5eb93fdc0f5854c518828c51..cf478d475fff3f2a281ba6ae1d9919df96fc775e 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -655,6 +655,10 @@ class CONTENT_EXPORT RenderViewImpl
virtual WebKit::WebString userAgentOverride(
WebKit::WebFrame* frame,
const WebKit::WebURL& url) OVERRIDE;
+ virtual bool allowWebGL(WebKit::WebFrame* frame, bool default_value) OVERRIDE;
+ virtual void didLoseWebGLContext(
+ WebKit::WebFrame* frame,
+ int arb_robustness_status_code) OVERRIDE;
// WebKit::WebPageSerializerClient implementation ----------------------------

Powered by Google App Engine
This is Rietveld 408576698