| 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) | 525 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) |
| 526 | 526 |
| 527 // Whether to enable auto-resize. | 527 // Whether to enable auto-resize. |
| 528 IPC_STRUCT_MEMBER(bool, enable_auto_resize) | 528 IPC_STRUCT_MEMBER(bool, enable_auto_resize) |
| 529 | 529 |
| 530 // The minimum size to layout the page if auto-resize is enabled. | 530 // The minimum size to layout the page if auto-resize is enabled. |
| 531 IPC_STRUCT_MEMBER(gfx::Size, min_size) | 531 IPC_STRUCT_MEMBER(gfx::Size, min_size) |
| 532 | 532 |
| 533 // The maximum size to layout the page if auto-resize is enabled. | 533 // The maximum size to layout the page if auto-resize is enabled. |
| 534 IPC_STRUCT_MEMBER(gfx::Size, max_size) | 534 IPC_STRUCT_MEMBER(gfx::Size, max_size) |
| 535 | |
| 536 // Stores the callstack of the sender. Temporary only to help debug | |
| 537 // http://crbug.com/464633. | |
| 538 IPC_STRUCT_MEMBER(std::vector<unsigned long>, debug_info) | |
| 539 IPC_STRUCT_END() | 535 IPC_STRUCT_END() |
| 540 | 536 |
| 541 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 537 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
| 542 // Whether the data format is supplied as serialized script value, or as | 538 // Whether the data format is supplied as serialized script value, or as |
| 543 // a simple string. If it is a raw string, must be converted from string to a | 539 // a simple string. If it is a raw string, must be converted from string to a |
| 544 // WebSerializedScriptValue in renderer. | 540 // WebSerializedScriptValue in renderer. |
| 545 IPC_STRUCT_MEMBER(bool, is_data_raw_string) | 541 IPC_STRUCT_MEMBER(bool, is_data_raw_string) |
| 546 // The serialized script value. | 542 // The serialized script value. |
| 547 IPC_STRUCT_MEMBER(base::string16, data) | 543 IPC_STRUCT_MEMBER(base::string16, data) |
| 548 // When sent to the browser, this is the routing ID of the source frame in | 544 // When sent to the browser, this is the routing ID of the source frame in |
| (...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1679 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1675 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1680 // for details. | 1676 // for details. |
| 1681 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1677 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1682 LOGFONT /* font_data */, | 1678 LOGFONT /* font_data */, |
| 1683 base::string16 /* characters */) | 1679 base::string16 /* characters */) |
| 1684 #endif | 1680 #endif |
| 1685 | 1681 |
| 1686 // Adding a new message? Stick to the sort order above: first platform | 1682 // Adding a new message? Stick to the sort order above: first platform |
| 1687 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1683 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1688 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1684 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |