| 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) | 508 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) |
| 509 | 509 |
| 510 // Whether to enable auto-resize. | 510 // Whether to enable auto-resize. |
| 511 IPC_STRUCT_MEMBER(bool, enable_auto_resize) | 511 IPC_STRUCT_MEMBER(bool, enable_auto_resize) |
| 512 | 512 |
| 513 // The minimum size to layout the page if auto-resize is enabled. | 513 // The minimum size to layout the page if auto-resize is enabled. |
| 514 IPC_STRUCT_MEMBER(gfx::Size, min_size) | 514 IPC_STRUCT_MEMBER(gfx::Size, min_size) |
| 515 | 515 |
| 516 // The maximum size to layout the page if auto-resize is enabled. | 516 // The maximum size to layout the page if auto-resize is enabled. |
| 517 IPC_STRUCT_MEMBER(gfx::Size, max_size) | 517 IPC_STRUCT_MEMBER(gfx::Size, max_size) |
| 518 |
| 519 // Stores the callstack of the sender. Temporary only to help debug |
| 520 // http://crbug.com/464633. |
| 521 IPC_STRUCT_MEMBER(std::vector<unsigned long>, debug_info) |
| 518 IPC_STRUCT_END() | 522 IPC_STRUCT_END() |
| 519 | 523 |
| 520 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 524 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
| 521 // Whether the data format is supplied as serialized script value, or as | 525 // Whether the data format is supplied as serialized script value, or as |
| 522 // a simple string. If it is a raw string, must be converted from string to a | 526 // a simple string. If it is a raw string, must be converted from string to a |
| 523 // WebSerializedScriptValue in renderer. | 527 // WebSerializedScriptValue in renderer. |
| 524 IPC_STRUCT_MEMBER(bool, is_data_raw_string) | 528 IPC_STRUCT_MEMBER(bool, is_data_raw_string) |
| 525 // The serialized script value. | 529 // The serialized script value. |
| 526 IPC_STRUCT_MEMBER(base::string16, data) | 530 IPC_STRUCT_MEMBER(base::string16, data) |
| 527 // When sent to the browser, this is the routing ID of the source frame in | 531 // When sent to the browser, this is the routing ID of the source frame in |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1657 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1661 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1658 // for details. | 1662 // for details. |
| 1659 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1663 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1660 LOGFONT /* font_data */, | 1664 LOGFONT /* font_data */, |
| 1661 base::string16 /* characters */) | 1665 base::string16 /* characters */) |
| 1662 #endif | 1666 #endif |
| 1663 | 1667 |
| 1664 // Adding a new message? Stick to the sort order above: first platform | 1668 // Adding a new message? Stick to the sort order above: first platform |
| 1665 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1669 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1666 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1670 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |