| 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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 | 494 |
| 495 // The ID of the main frame hosted in the view. | 495 // The ID of the main frame hosted in the view. |
| 496 IPC_STRUCT_MEMBER(int32, main_frame_routing_id) | 496 IPC_STRUCT_MEMBER(int32, main_frame_routing_id) |
| 497 | 497 |
| 498 // The ID of the rendering surface. | 498 // The ID of the rendering surface. |
| 499 IPC_STRUCT_MEMBER(int32, surface_id) | 499 IPC_STRUCT_MEMBER(int32, surface_id) |
| 500 | 500 |
| 501 // The session storage namespace ID this view should use. | 501 // The session storage namespace ID this view should use. |
| 502 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) | 502 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) |
| 503 | 503 |
| 504 // The route ID of the opener RenderView if we need to set one | 504 // The route ID of the opener RenderFrame or RenderFrameProxy, if we need to |
| 505 // (MSG_ROUTING_NONE otherwise). | 505 // set one (MSG_ROUTING_NONE otherwise). |
| 506 IPC_STRUCT_MEMBER(int, opener_route_id) | 506 IPC_STRUCT_MEMBER(int, opener_frame_route_id) |
| 507 | 507 |
| 508 // Whether the RenderView should initially be swapped out. | 508 // Whether the RenderView should initially be swapped out. |
| 509 IPC_STRUCT_MEMBER(bool, swapped_out) | 509 IPC_STRUCT_MEMBER(bool, swapped_out) |
| 510 | 510 |
| 511 // Carries replicated information, such as frame name and sandbox flags, for | 511 // Carries replicated information, such as frame name and sandbox flags, for |
| 512 // this view's main frame, which will be a proxy in |swapped_out| | 512 // this view's main frame, which will be a proxy in |swapped_out| |
| 513 // views when in --site-per-process mode, or a RenderFrame in all other | 513 // views when in --site-per-process mode, or a RenderFrame in all other |
| 514 // cases. | 514 // cases. |
| 515 IPC_STRUCT_MEMBER(content::FrameReplicationState, replicated_frame_state) | 515 IPC_STRUCT_MEMBER(content::FrameReplicationState, replicated_frame_state) |
| 516 | 516 |
| (...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1615 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1615 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1616 // for details. | 1616 // for details. |
| 1617 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1617 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1618 LOGFONT /* font_data */, | 1618 LOGFONT /* font_data */, |
| 1619 base::string16 /* characters */) | 1619 base::string16 /* characters */) |
| 1620 #endif | 1620 #endif |
| 1621 | 1621 |
| 1622 // Adding a new message? Stick to the sort order above: first platform | 1622 // Adding a new message? Stick to the sort order above: first platform |
| 1623 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1623 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1624 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1624 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |