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

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

Issue 10854076: Add GPU memory tab to the task manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 8 years, 4 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
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 68b5173c466b7d3a83ac81fb1ef02d9d80561dc6..9149eadeb5da1c6083e3d445254c639de3031f33 100644
--- a/content/public/browser/gpu_data_manager.h
+++ b/content/public/browser/gpu_data_manager.h
@@ -47,6 +47,10 @@ class GpuDataManager {
virtual bool IsCompleteGPUInfoAvailable() const = 0;
+ // Requests that the GPU process report its current video memory usage stats,
+ // which can be retrieved via the GPU data manager's on-update function.
+ virtual void RequestVideoMemoryUsageStatsUpdate() = 0;
+
// Returns true if the software rendering should currently be used.
virtual bool ShouldUseSoftwareRendering() = 0;

Powered by Google App Engine
This is Rietveld 408576698