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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.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/browser/gpu/gpu_process_host_ui_shim.h
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.h b/content/browser/gpu/gpu_process_host_ui_shim.h
index 5f3f4c85c22508248a7898b0e0e5676042eda15d..f313863762316cb68bdcbbee16ee3c86ae0239e5 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.h
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h
@@ -20,6 +20,7 @@
#include "content/common/content_export.h"
#include "content/common/message_router.h"
#include "content/public/common/gpu_info.h"
+#include "content/public/common/gpu_memory_stats.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
@@ -100,6 +101,8 @@ class GpuProcessHostUIShim
const GpuHostMsg_AcceleratedSurfaceNew_Params& params);
void OnAcceleratedSurfaceRelease(
const GpuHostMsg_AcceleratedSurfaceRelease_Params& params);
+ void OnVideoMemoryUsageStatsReceived(
+ const content::GPUVideoMemoryUsageStats& video_memory_usage_stats);
// The serial number of the GpuProcessHost / GpuProcessHostUIShim pair.
int host_id_;

Powered by Google App Engine
This is Rietveld 408576698