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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 content::CustomContextMenuContext /* custom_context */) 375 content::CustomContextMenuContext /* custom_context */)
376 376
377 // Executes custom context menu action that was provided from Blink. 377 // Executes custom context menu action that was provided from Blink.
378 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, 378 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction,
379 content::CustomContextMenuContext /* custom_context */, 379 content::CustomContextMenuContext /* custom_context */,
380 unsigned /* action */) 380 unsigned /* action */)
381 381
382 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. 382 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null.
383 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) 383 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener)
384 384
385 // Requests that the RenderFrame send back a response after waiting for the
386 // commit, activation and frame swap of the current DOM tree in blink.
387 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.
388
385 // Instructs the renderer to create a new RenderFrame object with |routing_id|. 389 // Instructs the renderer to create a new RenderFrame object with |routing_id|.
386 // The new frame should be created as a child of the object identified by 390 // The new frame should be created as a child of the object identified by
387 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. 391 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE.
388 // If a valid |proxy_routing_id| is provided, the new frame will be configured 392 // If a valid |proxy_routing_id| is provided, the new frame will be configured
389 // to replace the proxy on commit. When the new frame has a parent, 393 // to replace the proxy on commit. When the new frame has a parent,
390 // |replication_state| holds properties replicated from the process rendering 394 // |replication_state| holds properties replicated from the process rendering
391 // the parent frame, such as the new frame's sandbox flags. 395 // the parent frame, such as the new frame's sandbox flags.
392 IPC_MESSAGE_CONTROL4(FrameMsg_NewFrame, 396 IPC_MESSAGE_CONTROL4(FrameMsg_NewFrame,
393 int /* routing_id */, 397 int /* routing_id */,
394 int /* parent_routing_id */, 398 int /* parent_routing_id */,
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 // PlzNavigate 833 // PlzNavigate
830 // Tells the browser to perform a navigation. 834 // Tells the browser to perform a navigation.
831 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, 835 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation,
832 FrameHostMsg_BeginNavigation_Params, 836 FrameHostMsg_BeginNavigation_Params,
833 content::CommonNavigationParams) 837 content::CommonNavigationParams)
834 838
835 // Sent once a paint happens after the first non empty layout. In other words 839 // Sent once a paint happens after the first non empty layout. In other words
836 // after the frame has painted something. 840 // after the frame has painted something.
837 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 841 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
838 842
843 // Sent as a response to FrameMsg_FlushVisualStateRequest.
844 // The message is delivered using RenderWidget::QueueMessage.
845 IPC_MESSAGE_ROUTED1(FrameHostMsg_FlushVisualStateResponse, int /* id */)
846
839 // Puts the browser into "tab fullscreen" mode for the sending renderer. 847 // Puts the browser into "tab fullscreen" mode for the sending renderer.
840 // See the comment in chrome/browser/ui/browser.h for more details. 848 // See the comment in chrome/browser/ui/browser.h for more details.
841 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) 849 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */)
842 850
843 #if defined(OS_MACOSX) || defined(OS_ANDROID) 851 #if defined(OS_MACOSX) || defined(OS_ANDROID)
844 852
845 // Message to show/hide a popup menu using native controls. 853 // Message to show/hide a popup menu using native controls.
846 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 854 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
847 FrameHostMsg_ShowPopup_Params) 855 FrameHostMsg_ShowPopup_Params)
848 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 856 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
849 857
850 #endif 858 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698