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) |
535 IPC_STRUCT_END() | 539 IPC_STRUCT_END() |
536 | 540 |
537 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 541 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
538 // Whether the data format is supplied as serialized script value, or as | 542 // Whether the data format is supplied as serialized script value, or as |
539 // a simple string. If it is a raw string, must be converted from string to a | 543 // a simple string. If it is a raw string, must be converted from string to a |
540 // WebSerializedScriptValue in renderer. | 544 // WebSerializedScriptValue in renderer. |
541 IPC_STRUCT_MEMBER(bool, is_data_raw_string) | 545 IPC_STRUCT_MEMBER(bool, is_data_raw_string) |
542 // The serialized script value. | 546 // The serialized script value. |
543 IPC_STRUCT_MEMBER(base::string16, data) | 547 IPC_STRUCT_MEMBER(base::string16, data) |
544 // When sent to the browser, this is the routing ID of the source frame in | 548 // When sent to the browser, this is the routing ID of the source frame in |
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1681 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1685 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1682 // for details. | 1686 // for details. |
1683 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1687 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1684 LOGFONT /* font_data */, | 1688 LOGFONT /* font_data */, |
1685 base::string16 /* characters */) | 1689 base::string16 /* characters */) |
1686 #endif | 1690 #endif |
1687 | 1691 |
1688 // Adding a new message? Stick to the sort order above: first platform | 1692 // Adding a new message? Stick to the sort order above: first platform |
1689 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1693 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1690 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1694 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |