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

Unified Diff: content/public/browser/gpu_data_manager.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: Work around build failure on Mac OS with 10.6 SDK. 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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/web_contents_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_data_manager.h
diff --git a/content/public/browser/gpu_data_manager.h b/content/public/browser/gpu_data_manager.h
index 8bcea35b0533dd707566da30ee0e1f9e2ba66d40..e57d15288d85d83591a3b7256caca1f626c5d7a8 100644
--- a/content/public/browser/gpu_data_manager.h
+++ b/content/public/browser/gpu_data_manager.h
@@ -12,6 +12,7 @@
#include "content/public/common/gpu_switching_option.h"
class FilePath;
+class GURL;
namespace base {
class ListValue;
@@ -84,6 +85,12 @@ class GpuDataManager {
virtual void SetWindowCount(uint32 count) = 0;
virtual uint32 GetWindowCount() const = 0;
+ // Allows a given domain previously blocked from accessing 3D APIs
+ // to access them again.
+ virtual void UnblockDomainFrom3DAPIs(const GURL& url) = 0;
+ // Disables domain blocking for 3D APIs. For use only in tests.
+ virtual void DisableDomainBlockingFor3DAPIsForTesting() = 0;
+
protected:
virtual ~GpuDataManager() {}
};
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/web_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698