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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 // |salt + url.spec()|. | 483 // |salt + url.spec()|. |
484 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) | 484 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) |
485 | 485 |
486 // Salt used for |digests_of_uris_to_skip|. | 486 // Salt used for |digests_of_uris_to_skip|. |
487 IPC_STRUCT_MEMBER(std::string, salt) | 487 IPC_STRUCT_MEMBER(std::string, salt) |
488 | 488 |
489 // If |is_last_frame| is true, then an MHTML footer will be generated. | 489 // If |is_last_frame| is true, then an MHTML footer will be generated. |
490 IPC_STRUCT_MEMBER(bool, is_last_frame) | 490 IPC_STRUCT_MEMBER(bool, is_last_frame) |
491 IPC_STRUCT_END() | 491 IPC_STRUCT_END() |
492 | 492 |
| 493 // This message is used to send hittesting data from the renderer in order |
| 494 // to perform hittesting on the browser process. |
| 495 IPC_STRUCT_BEGIN(FrameHostMsg_HittestData_Params) |
| 496 // |surface_id| represents the surface used by this remote frame. |
| 497 IPC_STRUCT_MEMBER(cc::SurfaceId, surface_id) |
| 498 |
| 499 // If |ignored_for_hittest| then this surface should be ignored during |
| 500 // hittesting. |
| 501 IPC_STRUCT_MEMBER(bool, ignored_for_hittest) |
| 502 IPC_STRUCT_END() |
| 503 |
493 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 504 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
494 // This message is used for supporting popup menus on Mac OS X and Android using | 505 // This message is used for supporting popup menus on Mac OS X and Android using |
495 // native controls. See the FrameHostMsg_ShowPopup message. | 506 // native controls. See the FrameHostMsg_ShowPopup message. |
496 IPC_STRUCT_BEGIN(FrameHostMsg_ShowPopup_Params) | 507 IPC_STRUCT_BEGIN(FrameHostMsg_ShowPopup_Params) |
497 // Position on the screen. | 508 // Position on the screen. |
498 IPC_STRUCT_MEMBER(gfx::Rect, bounds) | 509 IPC_STRUCT_MEMBER(gfx::Rect, bounds) |
499 | 510 |
500 // The height of each item in the menu. | 511 // The height of each item in the menu. |
501 IPC_STRUCT_MEMBER(int, item_height) | 512 IPC_STRUCT_MEMBER(int, item_height) |
502 | 513 |
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 | 1365 |
1355 // This message is sent from a RenderFrameProxy when sequential focus | 1366 // This message is sent from a RenderFrameProxy when sequential focus |
1356 // navigation needs to advance into its actual frame. |source_routing_id| | 1367 // navigation needs to advance into its actual frame. |source_routing_id| |
1357 // identifies the frame that issued this request. This is used when pressing | 1368 // identifies the frame that issued this request. This is used when pressing |
1358 // <tab> or <shift-tab> hits an out-of-process iframe when searching for the | 1369 // <tab> or <shift-tab> hits an out-of-process iframe when searching for the |
1359 // next focusable element. | 1370 // next focusable element. |
1360 IPC_MESSAGE_ROUTED2(FrameHostMsg_AdvanceFocus, | 1371 IPC_MESSAGE_ROUTED2(FrameHostMsg_AdvanceFocus, |
1361 blink::WebFocusType /* type */, | 1372 blink::WebFocusType /* type */, |
1362 int32_t /* source_routing_id */) | 1373 int32_t /* source_routing_id */) |
1363 | 1374 |
| 1375 // Sends hittesting data needed to perform hittesting on the browser process. |
| 1376 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) |
| 1377 |
1364 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1378 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
1365 | 1379 |
1366 // Message to show/hide a popup menu using native controls. | 1380 // Message to show/hide a popup menu using native controls. |
1367 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1381 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1368 FrameHostMsg_ShowPopup_Params) | 1382 FrameHostMsg_ShowPopup_Params) |
1369 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1383 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1370 | 1384 |
1371 #endif | 1385 #endif |
1372 | 1386 |
1373 // Adding a new message? Stick to the sort order above: first platform | 1387 // Adding a new message? Stick to the sort order above: first platform |
1374 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1388 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1375 // platform independent FrameHostMsg, then ifdefs for platform specific | 1389 // platform independent FrameHostMsg, then ifdefs for platform specific |
1376 // FrameHostMsg. | 1390 // FrameHostMsg. |
OLD | NEW |