| 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 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 // Forwards an input event to a child. | 1278 // Forwards an input event to a child. |
| 1279 // TODO(nick): Temporary bridge, revisit once the browser process can route | 1279 // TODO(nick): Temporary bridge, revisit once the browser process can route |
| 1280 // input directly to subframes. http://crbug.com/339659 | 1280 // input directly to subframes. http://crbug.com/339659 |
| 1281 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, | 1281 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, |
| 1282 IPC::WebInputEventPointer /* event */) | 1282 IPC::WebInputEventPointer /* event */) |
| 1283 | 1283 |
| 1284 // Tells the parent that a child's frame rect has changed (or the rect/scroll | 1284 // Tells the parent that a child's frame rect has changed (or the rect/scroll |
| 1285 // position of a child's ancestor has changed). | 1285 // position of a child's ancestor has changed). |
| 1286 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1286 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
| 1287 | 1287 |
| 1288 // Sent by a parent frame to update its child's viewport intersection rect for |
| 1289 // use by the IntersectionObserver API. |
| 1290 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, |
| 1291 gfx::Rect /* viewport_intersection */) |
| 1292 |
| 1288 // Informs the child that the frame has changed visibility. | 1293 // Informs the child that the frame has changed visibility. |
| 1289 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) | 1294 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
| 1290 | 1295 |
| 1291 // Indicates that a child of this frame recieved a user gesture, and this | 1296 // Indicates that a child of this frame recieved a user gesture, and this |
| 1292 // frame should in turn consider itself to have received a user gesture. | 1297 // frame should in turn consider itself to have received a user gesture. |
| 1293 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) | 1298 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) |
| 1294 | 1299 |
| 1295 // Used to tell the parent that the user right clicked on an area of the | 1300 // Used to tell the parent that the user right clicked on an area of the |
| 1296 // content area, and a context menu should be shown for it. The params | 1301 // content area, and a context menu should be shown for it. The params |
| 1297 // object contains information about the node(s) that were selected when the | 1302 // object contains information about the node(s) that were selected when the |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1513 // nearest find result in the sending frame. | 1518 // nearest find result in the sending frame. |
| 1514 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1519 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1515 int /* nfr_request_id */, | 1520 int /* nfr_request_id */, |
| 1516 float /* distance */) | 1521 float /* distance */) |
| 1517 #endif | 1522 #endif |
| 1518 | 1523 |
| 1519 // Adding a new message? Stick to the sort order above: first platform | 1524 // Adding a new message? Stick to the sort order above: first platform |
| 1520 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1525 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1521 // platform independent FrameHostMsg, then ifdefs for platform specific | 1526 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1522 // FrameHostMsg. | 1527 // FrameHostMsg. |
| OLD | NEW |