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

Unified Diff: content/browser/renderer_host/render_message_filter.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: Cleanups after restructuring based on review feedback from @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/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index a4f9174d338022bee312d9f111c142859f74fb78..eaf45d85dd60d936fbd752b416227c61dafc1e0c 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -20,6 +20,7 @@
#include "build/build_config.h"
#include "content/browser/renderer_host/resource_dispatcher_host_impl.h"
#include "content/public/browser/browser_message_filter.h"
+#include "content/public/common/three_d_api_types.h"
#include "media/base/channel_layout.h"
#include "net/cookies/canonical_cookie.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
@@ -240,6 +241,14 @@ class RenderMessageFilter : public BrowserMessageFilter {
void OnUpdateIsDelayed(const IPC::Message& msg);
+ void OnAre3DAPIsBlocked(int render_view_id,
jam 2012/11/15 16:57:25 nit: no blank line between previous method (this h
Ken Russell (switch to Gerrit) 2012/11/15 20:53:25 Done.
+ const GURL& url,
+ content::ThreeDAPIType requester,
jam 2012/11/15 16:57:25 nit: here and below, no need for "content::"
Ken Russell (switch to Gerrit) 2012/11/15 20:53:25 Done.
+ bool* blocked);
+ void OnDidLose3DContext(const GURL& url,
+ content::ThreeDAPIType context_type,
+ int arb_robustness_status_code);
+
// Cached resource request dispatcher host and plugin service, guaranteed to
// be non-null if Init succeeds. We do not own the objects, they are managed
// by the BrowserProcess, which has a wider scope than we do.

Powered by Google App Engine
This is Rietveld 408576698