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

Unified Diff: content/common/view_messages.h

Issue 83483007: Expose synthetic delays through the GPU benchmarking extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index df630d3e0c5b514d1f7ae2031fc753accd39a4cb..7fadd38de5890638f6b2ac9fbc2b07de2d6b31ce 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -5,6 +5,7 @@
// IPC messages for page rendering.
// Multiply-included message file, hence no include guard.
+#include "base/debug/trace_event_synthetic_delay.h"
#include "base/memory/shared_memory.h"
#include "base/process/process.h"
#include "base/strings/string16.h"
@@ -1391,6 +1392,8 @@ IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot,
gfx::Rect /* src_subrect */)
+IPC_MESSAGE_ROUTED0(ViewMsg_ConfigureSyntheticDelayAck)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.
@@ -1688,6 +1691,15 @@ IPC_STRUCT_END()
IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginPinch,
ViewHostMsg_BeginPinch_Params /* params */)
+IPC_STRUCT_BEGIN(ViewHostMsg_ConfigureSyntheticDelay_Params)
+ IPC_STRUCT_MEMBER(std::string, name)
+ IPC_STRUCT_MEMBER(base::TimeDelta, target_duration)
+ IPC_STRUCT_MEMBER(int32, mode)
+IPC_STRUCT_END()
+
+IPC_MESSAGE_ROUTED1(ViewHostMsg_ConfigureSyntheticDelay,
+ ViewHostMsg_ConfigureSyntheticDelay_Params /* params */)
+
IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)

Powered by Google App Engine
This is Rietveld 408576698