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

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

Issue 10854076: Add GPU memory tab to the task manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate taskman 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_observer.h
diff --git a/content/public/browser/gpu_data_manager_observer.h b/content/public/browser/gpu_data_manager_observer.h
index 67d8d4a1c23379c05c69ee7a9f414d5ad74a0d7d..455cf548906dd67897efcdf50800ac7cde0e3899 100644
--- a/content/public/browser/gpu_data_manager_observer.h
+++ b/content/public/browser/gpu_data_manager_observer.h
@@ -6,6 +6,7 @@
#define CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_OBSERVER_H_
#include "content/common/content_export.h"
+#include "content/public/common/gpu_info.h"
namespace content {
@@ -16,6 +17,10 @@ class GpuDataManagerObserver {
// Called for any observers whenever there is a GPU info update.
virtual void OnGpuInfoUpdate() = 0;
+ // Called for any observers whenever there is a GPU video memory update.
+ virtual void OnVidmemUsageStatsUpdate(
+ const content::GPUVidmemUsageStats& vidmem_usage_stats) = 0;
jam 2012/08/17 18:31:05 nit: content:: redundant
ccameron 2012/08/17 20:52:55 Done.
+
protected:
virtual ~GpuDataManagerObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698