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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
478 IPC_STRUCT_MEMBER(int32, next_page_id) | 478 IPC_STRUCT_MEMBER(int32, next_page_id) |
479 | 479 |
480 // The properties of the screen associated with the view. | 480 // The properties of the screen associated with the view. |
481 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) | 481 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) |
482 | 482 |
483 // The accessibility mode of the renderer. | 483 // The accessibility mode of the renderer. |
484 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 484 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
485 IPC_STRUCT_END() | 485 IPC_STRUCT_END() |
486 | 486 |
487 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 487 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
488 // Whether the data format is supplied as serialized script value, or as | |
489 // a simple string. If it is a raw string, we convert from string to a | |
nasko
2014/07/16 08:06:15
nit: s/we convert/must be converted/
sgurun-gerrit only
2014/07/16 20:35:15
Done.
| |
490 // WebSerializedScriptValue in renderer. | |
491 IPC_STRUCT_MEMBER(bool, is_data_raw_string) | |
nasko
2014/07/16 08:06:15
nit: Empty line between struct members.
sgurun-gerrit only
2014/07/16 20:35:15
Done.
| |
488 // The serialized script value. | 492 // The serialized script value. |
489 IPC_STRUCT_MEMBER(base::string16, data) | 493 IPC_STRUCT_MEMBER(base::string16, data) |
490 | 494 |
491 // When sent to the browser, this is the routing ID of the source frame in | 495 // When sent to the browser, this is the routing ID of the source frame in |
492 // the source process. The browser replaces it with the routing ID of the | 496 // the source process. The browser replaces it with the routing ID of the |
493 // equivalent (swapped out) frame in the destination process. | 497 // equivalent (swapped out) frame in the destination process. |
494 IPC_STRUCT_MEMBER(int, source_routing_id) | 498 IPC_STRUCT_MEMBER(int, source_routing_id) |
495 | 499 |
496 // The origin of the source frame. | 500 // The origin of the source frame. |
497 IPC_STRUCT_MEMBER(base::string16, source_origin) | 501 IPC_STRUCT_MEMBER(base::string16, source_origin) |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1698 // Since the browser keeps handles to the allocated transport DIBs, this | 1702 // Since the browser keeps handles to the allocated transport DIBs, this |
1699 // message is sent to tell the browser that it may release them when the | 1703 // message is sent to tell the browser that it may release them when the |
1700 // renderer is finished with them. | 1704 // renderer is finished with them. |
1701 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1705 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1702 TransportDIB::Id /* DIB id */) | 1706 TransportDIB::Id /* DIB id */) |
1703 #endif | 1707 #endif |
1704 | 1708 |
1705 // Adding a new message? Stick to the sort order above: first platform | 1709 // Adding a new message? Stick to the sort order above: first platform |
1706 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1710 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1707 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1711 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |