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

Unified Diff: content/common/frame_messages.h

Issue 831903004: [WebView] Add a new flushVisualState API to AwContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for crbug/452530 Created 5 years, 11 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/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index e69b0f1856efd7049c9b0fa7078de744226f4c75..d8ee151f7efb61c01026a6f559da77f09b94db62 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -382,6 +382,10 @@ IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction,
// Requests that the RenderFrame or RenderFrameProxy sets its opener to null.
IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener)
+// Requests that the RenderFrame send back a response after waiting for the
+// commit, activation and frame swap of the current DOM tree in blink.
+IPC_MESSAGE_ROUTED1(FrameMsg_FlushVisualStateRequest, int /* id */)
mkosiba (inactive) 2015/01/27 22:07:20 weren't these supposed to be int64?
Ignacio Solla 2015/02/05 16:00:38 Done.
+
// Instructs the renderer to create a new RenderFrame object with |routing_id|.
// The new frame should be created as a child of the object identified by
// |parent_routing_id| or as top level if that is MSG_ROUTING_NONE.
@@ -836,6 +840,10 @@ IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation,
// after the frame has painted something.
IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
+// Sent as a response to FrameMsg_FlushVisualStateRequest.
+// The message is delivered using RenderWidget::QueueMessage.
+IPC_MESSAGE_ROUTED1(FrameHostMsg_FlushVisualStateResponse, int /* id */)
+
// Puts the browser into "tab fullscreen" mode for the sending renderer.
// See the comment in chrome/browser/ui/browser.h for more details.
IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */)

Powered by Google App Engine
This is Rietveld 408576698