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

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

Issue 12593005: Add a user pref in Settings to disable all GPU features. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 months 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/browser/gpu/gpu_process_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_data_manager.h
===================================================================
--- content/public/browser/gpu_data_manager.h (revision 186737)
+++ content/public/browser/gpu_data_manager.h (working copy)
@@ -96,6 +96,9 @@
std::string* gl_renderer,
std::string* gl_version) = 0;
+ // Turn off all hardware acceleration.
+ virtual void DisableHardwareAcceleration() = 0;
+
protected:
virtual ~GpuDataManager() {}
};
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698