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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Applying root scroll offset better 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 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 // Forwards an input event to a child. 1272 // Forwards an input event to a child.
1273 // TODO(nick): Temporary bridge, revisit once the browser process can route 1273 // TODO(nick): Temporary bridge, revisit once the browser process can route
1274 // input directly to subframes. http://crbug.com/339659 1274 // input directly to subframes. http://crbug.com/339659
1275 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, 1275 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
1276 IPC::WebInputEventPointer /* event */) 1276 IPC::WebInputEventPointer /* event */)
1277 1277
1278 // Tells the parent that a child's frame rect has changed (or the rect/scroll 1278 // Tells the parent that a child's frame rect has changed (or the rect/scroll
1279 // position of a child's ancestor has changed). 1279 // position of a child's ancestor has changed).
1280 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) 1280 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */)
1281 1281
1282 // Sent by a parent frame to update its child's viewport intersection rect for
1283 // use by the IntersectionObserver API.
1284 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection,
1285 gfx::Rect /* viewport_intersection */)
1286
1282 // Informs the child that the frame has changed visibility. 1287 // Informs the child that the frame has changed visibility.
1283 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) 1288 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)
1284 1289
1285 // Indicates that a child of this frame recieved a user gesture, and this 1290 // Indicates that a child of this frame recieved a user gesture, and this
1286 // frame should in turn consider itself to have received a user gesture. 1291 // frame should in turn consider itself to have received a user gesture.
1287 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) 1292 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture)
1288 1293
1289 // Used to tell the parent that the user right clicked on an area of the 1294 // Used to tell the parent that the user right clicked on an area of the
1290 // content area, and a context menu should be shown for it. The params 1295 // content area, and a context menu should be shown for it. The params
1291 // object contains information about the node(s) that were selected when the 1296 // object contains information about the node(s) that were selected when the
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698