OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 // When sent to the browser, this is the routing ID of the source frame in | 746 // When sent to the browser, this is the routing ID of the source frame in |
747 // the source process. The browser replaces it with the routing ID of the | 747 // the source process. The browser replaces it with the routing ID of the |
748 // equivalent (swapped out) frame in the destination process. | 748 // equivalent (swapped out) frame in the destination process. |
749 IPC_STRUCT_MEMBER(int, source_routing_id) | 749 IPC_STRUCT_MEMBER(int, source_routing_id) |
750 | 750 |
751 // The origin of the source frame. | 751 // The origin of the source frame. |
752 IPC_STRUCT_MEMBER(string16, source_origin) | 752 IPC_STRUCT_MEMBER(string16, source_origin) |
753 | 753 |
754 // The origin for the message's target. | 754 // The origin for the message's target. |
755 IPC_STRUCT_MEMBER(string16, target_origin) | 755 IPC_STRUCT_MEMBER(string16, target_origin) |
| 756 |
| 757 // Information about the MessagePorts this message contains. |
| 758 IPC_STRUCT_MEMBER(std::vector<int>, message_port_ids) |
| 759 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids) |
756 IPC_STRUCT_END() | 760 IPC_STRUCT_END() |
757 | 761 |
758 // Messages sent from the browser to the renderer. | 762 // Messages sent from the browser to the renderer. |
759 | 763 |
760 // Tells the renderer to cancel an opened date/time dialog. | 764 // Tells the renderer to cancel an opened date/time dialog. |
761 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) | 765 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |
762 | 766 |
763 // Get all savable resource links from current webpage, include main | 767 // Get all savable resource links from current webpage, include main |
764 // frame and sub-frame. | 768 // frame and sub-frame. |
765 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, | 769 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, |
(...skipping 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2364 // synchronously (see crbug.com/120597). This IPC message sends the character | 2368 // synchronously (see crbug.com/120597). This IPC message sends the character |
2365 // bounds after every composition change to always have correct bound info. | 2369 // bounds after every composition change to always have correct bound info. |
2366 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2370 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2367 gfx::Range /* composition range */, | 2371 gfx::Range /* composition range */, |
2368 std::vector<gfx::Rect> /* character bounds */) | 2372 std::vector<gfx::Rect> /* character bounds */) |
2369 #endif | 2373 #endif |
2370 | 2374 |
2371 // Adding a new message? Stick to the sort order above: first platform | 2375 // Adding a new message? Stick to the sort order above: first platform |
2372 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2376 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2373 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2377 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |