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 2152211a2f8506b03622214af69248a637637082..47767fdecd945850dedbb78f4024c82235010461 100644 |
--- a/content/public/browser/gpu_data_manager.h |
+++ b/content/public/browser/gpu_data_manager.h |
@@ -100,6 +100,9 @@ |
// Turn off all hardware acceleration. |
virtual void DisableHardwareAcceleration() = 0; |
+ // Whether a GPU is in use (as opposed to a software renderer). |
+ virtual bool HardwareAccelerationEnabled() const = 0; |
+ |
// Whether the browser compositor can be used. |
virtual bool CanUseGpuBrowserCompositor() const = 0; |