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

Side by Side Diff: content/common/frame_messages.h

Issue 1914643005: Add support for entering/exiting HTML fullscreen from OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 // Update a proxy's replicated origin. Used when the frame is navigated to a 781 // Update a proxy's replicated origin. Used when the frame is navigated to a
782 // new origin. 782 // new origin.
783 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateOrigin, 783 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateOrigin,
784 url::Origin /* origin */, 784 url::Origin /* origin */,
785 bool /* is potentially trustworthy unique origin */) 785 bool /* is potentially trustworthy unique origin */)
786 786
787 // Notifies this frame or proxy that it is now focused. This is used to 787 // Notifies this frame or proxy that it is now focused. This is used to
788 // support cross-process focused frame changes. 788 // support cross-process focused frame changes.
789 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame) 789 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame)
790 790
791 // Sent when an element in a cross-process subframe of this frame is preparing
792 // to go fullscreen. |fullscreen_frame_routing_id| identifies the subframe
793 // proxy which will contain the fullscreen element. Actually entering
794 // fullscreen will be done separately as part of ViewMsg_Resize, once this
795 // frame's widget is resized for fullscreen.
796 IPC_MESSAGE_ROUTED1(FrameMsg_WillEnterFullscreen,
797 int /* fullscreen_frame_routing_id */)
798
791 // Send to the RenderFrame to set text tracks state and style settings. 799 // Send to the RenderFrame to set text tracks state and style settings.
792 // Sent for top-level frames. 800 // Sent for top-level frames.
793 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, 801 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings,
794 FrameMsg_TextTrackSettings_Params /* params */) 802 FrameMsg_TextTrackSettings_Params /* params */)
795 803
796 // Posts a message from a frame in another process to the current renderer. 804 // Posts a message from a frame in another process to the current renderer.
797 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) 805 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params)
798 806
799 #if defined(OS_ANDROID) 807 #if defined(OS_ANDROID)
800 // Sent when the browser wants the bounding boxes of the current find matches. 808 // Sent when the browser wants the bounding boxes of the current find matches.
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1453 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1446 int /* version */, 1454 int /* version */,
1447 std::vector<gfx::RectF> /* rects */, 1455 std::vector<gfx::RectF> /* rects */,
1448 gfx::RectF /* active_rect */) 1456 gfx::RectF /* active_rect */)
1449 #endif 1457 #endif
1450 1458
1451 // Adding a new message? Stick to the sort order above: first platform 1459 // Adding a new message? Stick to the sort order above: first platform
1452 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1460 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1453 // platform independent FrameHostMsg, then ifdefs for platform specific 1461 // platform independent FrameHostMsg, then ifdefs for platform specific
1454 // FrameHostMsg. 1462 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698