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/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: Change OnVidmemUsageStats to OnVidmemUsageStatsReceived 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..ac94cd9178fe6495806c2b13ee75bc36dcfc6ab5 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.h
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h
@@ -100,6 +100,8 @@ class GpuProcessHostUIShim
const GpuHostMsg_AcceleratedSurfaceNew_Params& params);
void OnAcceleratedSurfaceRelease(
const GpuHostMsg_AcceleratedSurfaceRelease_Params& params);
+ void OnVidmemUsageStatsReceived(
+ const content::GPUVidmemUsageStats& vidmem_usage_stats);
// The serial number of the GpuProcessHost / GpuProcessHostUIShim pair.
int host_id_;

Powered by Google App Engine
This is Rietveld 408576698