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

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

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

Powered by Google App Engine
This is Rietveld 408576698