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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: dcheng comments addressed 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 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 // Forwards an input event to a child. 1288 // Forwards an input event to a child.
1289 // TODO(nick): Temporary bridge, revisit once the browser process can route 1289 // TODO(nick): Temporary bridge, revisit once the browser process can route
1290 // input directly to subframes. http://crbug.com/339659 1290 // input directly to subframes. http://crbug.com/339659
1291 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, 1291 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
1292 IPC::WebInputEventPointer /* event */) 1292 IPC::WebInputEventPointer /* event */)
1293 1293
1294 // Tells the parent that a child's frame rect has changed (or the rect/scroll 1294 // Tells the parent that a child's frame rect has changed (or the rect/scroll
1295 // position of a child's ancestor has changed). 1295 // position of a child's ancestor has changed).
1296 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) 1296 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */)
1297 1297
1298 // Sent by a parent frame to update its child's viewport intersection rect for
1299 // use by the IntersectionObserver API.
1300 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection,
1301 gfx::Rect /* viewport_intersection */)
1302
1298 // Informs the child that the frame has changed visibility. 1303 // Informs the child that the frame has changed visibility.
1299 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) 1304 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)
1300 1305
1301 // Indicates that a child of this frame recieved a user gesture, and this 1306 // Indicates that a child of this frame recieved a user gesture, and this
1302 // frame should in turn consider itself to have received a user gesture. 1307 // frame should in turn consider itself to have received a user gesture.
1303 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) 1308 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture)
1304 1309
1305 // Used to tell the parent that the user right clicked on an area of the 1310 // Used to tell the parent that the user right clicked on an area of the
1306 // content area, and a context menu should be shown for it. The params 1311 // content area, and a context menu should be shown for it. The params
1307 // object contains information about the node(s) that were selected when the 1312 // object contains information about the node(s) that were selected when the
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 // nearest find result in the sending frame. 1534 // nearest find result in the sending frame.
1530 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1535 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1531 int /* nfr_request_id */, 1536 int /* nfr_request_id */,
1532 float /* distance */) 1537 float /* distance */)
1533 #endif 1538 #endif
1534 1539
1535 // Adding a new message? Stick to the sort order above: first platform 1540 // Adding a new message? Stick to the sort order above: first platform
1536 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1541 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1537 // platform independent FrameHostMsg, then ifdefs for platform specific 1542 // platform independent FrameHostMsg, then ifdefs for platform specific
1538 // FrameHostMsg. 1543 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_child_frame.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698