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

Unified Diff: content/public/common/three_d_api_types.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/public/browser/web_contents_observer.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/three_d_api_types.h
diff --git a/content/public/common/three_d_api_types.h b/content/public/common/three_d_api_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..e28f5bcb95e5cc2eb72548be1dca2924012b904c
--- /dev/null
+++ b/content/public/common/three_d_api_types.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_THREE_D_API_TYPES_H_
+#define CONTENT_PUBLIC_COMMON_THREE_D_API_TYPES_H_
+
+// This file describes the kinds of 3D APIs exposed to client code. It
+// is mainly used to provide more precise messages when access to
+// these APIs is restricted for some reason.
+
+namespace content {
+
+enum ThreeDAPIType {
+ THREE_D_API_TYPE_WEBGL,
+ THREE_D_API_TYPE_PEPPER_3D
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_THREE_D_API_TYPES_H_
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698