| OLD | NEW |
| 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 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 // Forwards an input event to a child. | 1274 // Forwards an input event to a child. |
| 1275 // TODO(nick): Temporary bridge, revisit once the browser process can route | 1275 // TODO(nick): Temporary bridge, revisit once the browser process can route |
| 1276 // input directly to subframes. http://crbug.com/339659 | 1276 // input directly to subframes. http://crbug.com/339659 |
| 1277 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, | 1277 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, |
| 1278 IPC::WebInputEventPointer /* event */) | 1278 IPC::WebInputEventPointer /* event */) |
| 1279 | 1279 |
| 1280 // Tells the parent that a child's frame rect has changed (or the rect/scroll | 1280 // Tells the parent that a child's frame rect has changed (or the rect/scroll |
| 1281 // position of a child's ancestor has changed). | 1281 // position of a child's ancestor has changed). |
| 1282 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1282 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
| 1283 | 1283 |
| 1284 // Sent by a parent frame to update its child's viewport intersection rect for |
| 1285 // use by the IntersectionObserver API. |
| 1286 IPC_MESSAGE_ROUTED2(FrameHostMsg_UpdateViewportIntersection, |
| 1287 gfx::Rect /* viewport_intersection */, |
| 1288 gfx::Point /* root_offset */) |
| 1289 |
| 1284 // Informs the child that the frame has changed visibility. | 1290 // Informs the child that the frame has changed visibility. |
| 1285 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) | 1291 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
| 1286 | 1292 |
| 1287 // Used to tell the parent that the user right clicked on an area of the | 1293 // Used to tell the parent that the user right clicked on an area of the |
| 1288 // content area, and a context menu should be shown for it. The params | 1294 // content area, and a context menu should be shown for it. The params |
| 1289 // object contains information about the node(s) that were selected when the | 1295 // object contains information about the node(s) that were selected when the |
| 1290 // user right clicked. | 1296 // user right clicked. |
| 1291 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 1297 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
| 1292 | 1298 |
| 1293 // Notification that the text selection has changed. | 1299 // Notification that the text selection has changed. |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1505 // nearest find result in the sending frame. | 1511 // nearest find result in the sending frame. |
| 1506 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1512 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1507 int /* nfr_request_id */, | 1513 int /* nfr_request_id */, |
| 1508 float /* distance */) | 1514 float /* distance */) |
| 1509 #endif | 1515 #endif |
| 1510 | 1516 |
| 1511 // Adding a new message? Stick to the sort order above: first platform | 1517 // Adding a new message? Stick to the sort order above: first platform |
| 1512 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1518 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1513 // platform independent FrameHostMsg, then ifdefs for platform specific | 1519 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1514 // FrameHostMsg. | 1520 // FrameHostMsg. |
| OLD | NEW |