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" |
11 #include "cc/output/begin_frame_args.h" | 11 #include "cc/output/begin_frame_args.h" |
12 #include "cc/output/compositor_frame.h" | 12 #include "cc/output/compositor_frame.h" |
13 #include "cc/output/compositor_frame_ack.h" | 13 #include "cc/output/compositor_frame_ack.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/common/content_param_traits.h" | 15 #include "content/common/content_param_traits.h" |
16 #include "content/common/cookie_data.h" | 16 #include "content/common/cookie_data.h" |
17 #include "content/common/date_time_suggestion.h" | 17 #include "content/common/date_time_suggestion.h" |
18 #include "content/common/frame_replication_state.h" | |
18 #include "content/common/navigation_gesture.h" | 19 #include "content/common/navigation_gesture.h" |
19 #include "content/common/view_message_enums.h" | 20 #include "content/common/view_message_enums.h" |
20 #include "content/common/webplugin_geometry.h" | 21 #include "content/common/webplugin_geometry.h" |
21 #include "content/public/common/common_param_traits.h" | 22 #include "content/public/common/common_param_traits.h" |
22 #include "content/public/common/favicon_url.h" | 23 #include "content/public/common/favicon_url.h" |
23 #include "content/public/common/file_chooser_file_info.h" | 24 #include "content/public/common/file_chooser_file_info.h" |
24 #include "content/public/common/file_chooser_params.h" | 25 #include "content/public/common/file_chooser_params.h" |
25 #include "content/public/common/menu_item.h" | 26 #include "content/public/common/menu_item.h" |
26 #include "content/public/common/page_state.h" | 27 #include "content/public/common/page_state.h" |
27 #include "content/public/common/page_zoom.h" | 28 #include "content/public/common/page_zoom.h" |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
455 // Whether the window associated with this view was created with an opener. | 456 // Whether the window associated with this view was created with an opener. |
456 IPC_STRUCT_MEMBER(bool, window_was_created_with_opener) | 457 IPC_STRUCT_MEMBER(bool, window_was_created_with_opener) |
457 | 458 |
458 // The initial page ID to use for this view, which must be larger than any | 459 // The initial page ID to use for this view, which must be larger than any |
459 // existing navigation that might be loaded in the view. Page IDs are unique | 460 // existing navigation that might be loaded in the view. Page IDs are unique |
460 // to a view and are only updated by the renderer after this initial value. | 461 // to a view and are only updated by the renderer after this initial value. |
461 IPC_STRUCT_MEMBER(int32, next_page_id) | 462 IPC_STRUCT_MEMBER(int32, next_page_id) |
462 | 463 |
463 // The properties of the screen associated with the view. | 464 // The properties of the screen associated with the view. |
464 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) | 465 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) |
466 | |
467 // With OOPIF, if this view is swapped out, its main frame is going to become | |
Charlie Reis
2014/11/13 18:00:58
nit: With OOPIF -> In --site-per-process mode
(I'm
alexmos
2014/11/18 18:25:32
Done.
| |
468 // a remote frame. This structure is used to replicate informaiton such as | |
469 // security origin to that remote frame. | |
470 IPC_STRUCT_MEMBER(content::FrameReplicationState, remote_frame_state) | |
Charlie Reis
2014/11/13 18:00:58
Let's move this just under |swapped_out|, since th
alexmos
2014/11/18 18:25:32
Done. I also moved it to be in the same order in
| |
465 IPC_STRUCT_END() | 471 IPC_STRUCT_END() |
466 | 472 |
467 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 473 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
468 // Whether the data format is supplied as serialized script value, or as | 474 // Whether the data format is supplied as serialized script value, or as |
469 // a simple string. If it is a raw string, must be converted from string to a | 475 // a simple string. If it is a raw string, must be converted from string to a |
470 // WebSerializedScriptValue in renderer. | 476 // WebSerializedScriptValue in renderer. |
471 IPC_STRUCT_MEMBER(bool, is_data_raw_string) | 477 IPC_STRUCT_MEMBER(bool, is_data_raw_string) |
472 // The serialized script value. | 478 // The serialized script value. |
473 IPC_STRUCT_MEMBER(base::string16, data) | 479 IPC_STRUCT_MEMBER(base::string16, data) |
474 // When sent to the browser, this is the routing ID of the source frame in | 480 // When sent to the browser, this is the routing ID of the source frame in |
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1644 // Since the browser keeps handles to the allocated transport DIBs, this | 1650 // Since the browser keeps handles to the allocated transport DIBs, this |
1645 // message is sent to tell the browser that it may release them when the | 1651 // message is sent to tell the browser that it may release them when the |
1646 // renderer is finished with them. | 1652 // renderer is finished with them. |
1647 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1653 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1648 TransportDIB::Id /* DIB id */) | 1654 TransportDIB::Id /* DIB id */) |
1649 #endif | 1655 #endif |
1650 | 1656 |
1651 // Adding a new message? Stick to the sort order above: first platform | 1657 // Adding a new message? Stick to the sort order above: first platform |
1652 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1658 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1653 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1659 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |