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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 // |salt + url.spec()|. | 493 // |salt + url.spec()|. |
494 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) | 494 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) |
495 | 495 |
496 // Salt used for |digests_of_uris_to_skip|. | 496 // Salt used for |digests_of_uris_to_skip|. |
497 IPC_STRUCT_MEMBER(std::string, salt) | 497 IPC_STRUCT_MEMBER(std::string, salt) |
498 | 498 |
499 // If |is_last_frame| is true, then an MHTML footer will be generated. | 499 // If |is_last_frame| is true, then an MHTML footer will be generated. |
500 IPC_STRUCT_MEMBER(bool, is_last_frame) | 500 IPC_STRUCT_MEMBER(bool, is_last_frame) |
501 IPC_STRUCT_END() | 501 IPC_STRUCT_END() |
502 | 502 |
503 // This message is used to send hittesting data from the renderer in order | |
504 // to perform hittesting on the browser process. | |
505 IPC_STRUCT_BEGIN(FrameHostMsg_HittestData_Params) | |
506 // |surface_id| represents the surface used by this remote frame. | |
507 IPC_STRUCT_MEMBER(cc::SurfaceId, surface_id) | |
508 | |
509 // If |ignored_for_hittest| then this surface should be ignored during | |
510 // hittesting. | |
511 IPC_STRUCT_MEMBER(bool, ignored_for_hittest) | |
512 IPC_STRUCT_END() | |
513 | |
514 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 503 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
515 // This message is used for supporting popup menus on Mac OS X and Android using | 504 // This message is used for supporting popup menus on Mac OS X and Android using |
516 // native controls. See the FrameHostMsg_ShowPopup message. | 505 // native controls. See the FrameHostMsg_ShowPopup message. |
517 IPC_STRUCT_BEGIN(FrameHostMsg_ShowPopup_Params) | 506 IPC_STRUCT_BEGIN(FrameHostMsg_ShowPopup_Params) |
518 // Position on the screen. | 507 // Position on the screen. |
519 IPC_STRUCT_MEMBER(gfx::Rect, bounds) | 508 IPC_STRUCT_MEMBER(gfx::Rect, bounds) |
520 | 509 |
521 // The height of each item in the menu. | 510 // The height of each item in the menu. |
522 IPC_STRUCT_MEMBER(int, item_height) | 511 IPC_STRUCT_MEMBER(int, item_height) |
523 | 512 |
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 // coordinates) for the string found. If |final_update| is false, it signals | 1398 // coordinates) for the string found. If |final_update| is false, it signals |
1410 // that this is not the last Find_Reply message - more will be sent as the | 1399 // that this is not the last Find_Reply message - more will be sent as the |
1411 // scoping effort continues. | 1400 // scoping effort continues. |
1412 IPC_MESSAGE_ROUTED5(FrameHostMsg_Find_Reply, | 1401 IPC_MESSAGE_ROUTED5(FrameHostMsg_Find_Reply, |
1413 int /* request_id */, | 1402 int /* request_id */, |
1414 int /* number of matches */, | 1403 int /* number of matches */, |
1415 gfx::Rect /* selection_rect */, | 1404 gfx::Rect /* selection_rect */, |
1416 int /* active_match_ordinal */, | 1405 int /* active_match_ordinal */, |
1417 bool /* final_update */) | 1406 bool /* final_update */) |
1418 | 1407 |
1419 // Sends hittesting data needed to perform hittesting on the browser process. | |
1420 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) | |
1421 | |
1422 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1408 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
1423 | 1409 |
1424 // Message to show/hide a popup menu using native controls. | 1410 // Message to show/hide a popup menu using native controls. |
1425 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1411 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1426 FrameHostMsg_ShowPopup_Params) | 1412 FrameHostMsg_ShowPopup_Params) |
1427 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1413 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1428 | 1414 |
1429 #endif | 1415 #endif |
1430 | 1416 |
1431 #if defined(OS_ANDROID) | 1417 #if defined(OS_ANDROID) |
(...skipping 15 matching lines...) Expand all Loading... |
1447 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1433 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1448 int /* version */, | 1434 int /* version */, |
1449 std::vector<gfx::RectF> /* rects */, | 1435 std::vector<gfx::RectF> /* rects */, |
1450 gfx::RectF /* active_rect */) | 1436 gfx::RectF /* active_rect */) |
1451 #endif | 1437 #endif |
1452 | 1438 |
1453 // Adding a new message? Stick to the sort order above: first platform | 1439 // Adding a new message? Stick to the sort order above: first platform |
1454 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1440 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1455 // platform independent FrameHostMsg, then ifdefs for platform specific | 1441 // platform independent FrameHostMsg, then ifdefs for platform specific |
1456 // FrameHostMsg. | 1442 // FrameHostMsg. |
OLD | NEW |