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

Unified Diff: content/browser/gpu/gpu_data_manager.h

Issue 8772031: Add a JS API for detecting WebGL availability. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « chrome/common/extensions/api/extension_api.json ('k') | content/browser/gpu/gpu_data_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager.h
===================================================================
--- content/browser/gpu/gpu_data_manager.h (revision 112998)
+++ content/browser/gpu/gpu_data_manager.h (working copy)
@@ -47,6 +47,10 @@
const content::GPUInfo& gpu_info() const;
+ bool complete_gpu_info_available() const {
+ return complete_gpu_info_available_;
+ }
+
// Returns status of various GPU features. This is two parted:
// {
// featureStatus: []
@@ -216,6 +220,7 @@
void EnableSoftwareRenderingIfNecessary();
bool complete_gpu_info_already_requested_;
+ bool complete_gpu_info_available_;
GpuFeatureFlags gpu_feature_flags_;
GpuFeatureFlags preliminary_gpu_feature_flags_;
« no previous file with comments | « chrome/common/extensions/api/extension_api.json ('k') | content/browser/gpu/gpu_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698