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

Unified Diff: content/common/view_messages.h

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 7 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index b036cf53feb2fe377a4eb526940814e1f5fbe1c3..b00a632d6d0378ee3a1cdbdc516fe870c597e010 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1278,9 +1278,8 @@ IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState,
IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded)
-// Sent by the browser when the display vsync signal was triggered and the
-// renderer should generate a new frame.
-IPC_MESSAGE_ROUTED1(ViewMsg_DidVSync,
+// Sent by the browser when the renderer should generate a new frame.
+IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame,
base::TimeTicks /* frame_time */)
#elif defined(OS_MACOSX)
@@ -2252,10 +2251,10 @@ IPC_MESSAGE_CONTROL3(ViewHostMsg_RunWebAudioMediaCodec,
base::FileDescriptor /* pcm_output */,
size_t /* data_size*/)
-// Sent by renderer to request a ViewMsg_VSync message for upcoming display
-// vsync events. If |enabled| is true, the vsync message will continue to be be
-// delivered until the notification is disabled.
-IPC_MESSAGE_ROUTED1(ViewHostMsg_SetVSyncNotificationEnabled,
+// Sent by renderer to request a ViewMsg_BeginFrame message for upcoming
+// display events. If |enabled| is true, the BeginFrame message will continue
+// to be be delivered until the notification is disabled.
+IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame,
bool /* enabled */)
#elif defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698