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

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

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Fix unit tests Created 3 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 919
920 // Used to instruct the RenderFrame to go into "view source" mode. This should 920 // Used to instruct the RenderFrame to go into "view source" mode. This should
921 // only be sent to the main frame. 921 // only be sent to the main frame.
922 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) 922 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode)
923 923
924 // Tells the frame to suppress any further modal dialogs. This ensures that no 924 // Tells the frame to suppress any further modal dialogs. This ensures that no
925 // ScopedPageLoadDeferrer is on the stack for SwapOut. 925 // ScopedPageLoadDeferrer is on the stack for SwapOut.
926 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) 926 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs)
927 927
928 // Tells the frame to consider itself to have received a user gesture (based 928 // Tells the frame to consider itself to have received a user gesture (based
929 // on a user gesture proceed by a descendant). 929 // on a user gesture processed in a different process).
930 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) 930 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture)
931 931
932 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, 932 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse,
933 std::vector<content::FileChooserFileInfo>) 933 std::vector<content::FileChooserFileInfo>)
934 934
935 // ----------------------------------------------------------------------------- 935 // -----------------------------------------------------------------------------
936 // Messages sent from the renderer to the browser. 936 // Messages sent from the renderer to the browser.
937 937
938 // Blink and JavaScript error messages to log to the console 938 // Blink and JavaScript error messages to log to the console
939 // or debugger UI. 939 // or debugger UI.
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, 1301 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
1302 IPC::WebInputEventPointer /* event */) 1302 IPC::WebInputEventPointer /* event */)
1303 1303
1304 // Tells the parent that a child's frame rect has changed (or the rect/scroll 1304 // Tells the parent that a child's frame rect has changed (or the rect/scroll
1305 // position of a child's ancestor has changed). 1305 // position of a child's ancestor has changed).
1306 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) 1306 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */)
1307 1307
1308 // Informs the child that the frame has changed visibility. 1308 // Informs the child that the frame has changed visibility.
1309 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) 1309 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)
1310 1310
1311 // Indicates that a child of this frame recieved a user gesture, and this 1311 // Indicates that this frame recieved a user gesture, so that the state can be
1312 // frame should in turn consider itself to have received a user gesture. 1312 // propagated to any remote frames.
1313 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) 1313 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture)
1314 1314
1315 // Used to tell the parent that the user right clicked on an area of the 1315 // Used to tell the parent that the user right clicked on an area of the
1316 // content area, and a context menu should be shown for it. The params 1316 // content area, and a context menu should be shown for it. The params
1317 // object contains information about the node(s) that were selected when the 1317 // object contains information about the node(s) that were selected when the
1318 // user right clicked. 1318 // user right clicked.
1319 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 1319 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
1320 1320
1321 // Notification that the text selection has changed. 1321 // Notification that the text selection has changed.
1322 // Note: The second parameter is the character based offset of the 1322 // Note: The second parameter is the character based offset of the
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 // nearest find result in the sending frame. 1539 // nearest find result in the sending frame.
1540 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1540 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1541 int /* nfr_request_id */, 1541 int /* nfr_request_id */,
1542 float /* distance */) 1542 float /* distance */)
1543 #endif 1543 #endif
1544 1544
1545 // Adding a new message? Stick to the sort order above: first platform 1545 // Adding a new message? Stick to the sort order above: first platform
1546 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1546 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1547 // platform independent FrameHostMsg, then ifdefs for platform specific 1547 // platform independent FrameHostMsg, then ifdefs for platform specific
1548 // FrameHostMsg. 1548 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698