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..0c26c612a6ea64ab355caa6f8be2f2b69f079974 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,9 @@ 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 OnVidmemUpdate(const content::GPUVidmem& vidmem) = 0; |
+ |
protected: |
virtual ~GpuDataManagerObserver() {} |
}; |