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

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

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState 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 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 929
930 // Used to instruct the RenderFrame to go into "view source" mode. This should 930 // Used to instruct the RenderFrame to go into "view source" mode. This should
931 // only be sent to the main frame. 931 // only be sent to the main frame.
932 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) 932 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode)
933 933
934 // Tells the frame to suppress any further modal dialogs. This ensures that no 934 // Tells the frame to suppress any further modal dialogs. This ensures that no
935 // ScopedPageLoadDeferrer is on the stack for SwapOut. 935 // ScopedPageLoadDeferrer is on the stack for SwapOut.
936 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) 936 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs)
937 937
938 // Tells the frame to consider itself to have received a user gesture (based 938 // Tells the frame to consider itself to have received a user gesture (based
939 // on a user gesture proceed by a descendant). 939 // on a user gesture processed in a different process).
940 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) 940 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture)
941 941
942 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, 942 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse,
943 std::vector<content::FileChooserFileInfo>) 943 std::vector<content::FileChooserFileInfo>)
944 944
945 // ----------------------------------------------------------------------------- 945 // -----------------------------------------------------------------------------
946 // Messages sent from the renderer to the browser. 946 // Messages sent from the renderer to the browser.
947 947
948 // Blink and JavaScript error messages to log to the console 948 // Blink and JavaScript error messages to log to the console
949 // or debugger UI. 949 // or debugger UI.
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) 1316 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */)
1317 1317
1318 // Sent by a parent frame to update its child's viewport intersection rect for 1318 // Sent by a parent frame to update its child's viewport intersection rect for
1319 // use by the IntersectionObserver API. 1319 // use by the IntersectionObserver API.
1320 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, 1320 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection,
1321 gfx::Rect /* viewport_intersection */) 1321 gfx::Rect /* viewport_intersection */)
1322 1322
1323 // Informs the child that the frame has changed visibility. 1323 // Informs the child that the frame has changed visibility.
1324 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) 1324 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)
1325 1325
1326 // Indicates that a child of this frame recieved a user gesture, and this 1326 // Indicates that this frame recieved a user gesture, so that the state can be
1327 // frame should in turn consider itself to have received a user gesture. 1327 // propagated to any remote frames.
1328 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) 1328 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture)
1329 1329
1330 // Used to tell the parent that the user right clicked on an area of the 1330 // Used to tell the parent that the user right clicked on an area of the
1331 // content area, and a context menu should be shown for it. The params 1331 // content area, and a context menu should be shown for it. The params
1332 // object contains information about the node(s) that were selected when the 1332 // object contains information about the node(s) that were selected when the
1333 // user right clicked. 1333 // user right clicked.
1334 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 1334 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
1335 1335
1336 // Notification that the text selection has changed. 1336 // Notification that the text selection has changed.
1337 // Note: The second parameter is the character based offset of the 1337 // Note: The second parameter is the character based offset of the
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 // nearest find result in the sending frame. 1554 // nearest find result in the sending frame.
1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1556 int /* nfr_request_id */, 1556 int /* nfr_request_id */,
1557 float /* distance */) 1557 float /* distance */)
1558 #endif 1558 #endif
1559 1559
1560 // Adding a new message? Stick to the sort order above: first platform 1560 // Adding a new message? Stick to the sort order above: first platform
1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1562 // platform independent FrameHostMsg, then ifdefs for platform specific 1562 // platform independent FrameHostMsg, then ifdefs for platform specific
1563 // FrameHostMsg. 1563 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_proxy_host.cc ('k') | content/common/frame_replication_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698