Chromium Code Reviews| 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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 528 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) | 528 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) |
| 529 | 529 |
| 530 // Whether to enable auto-resize. | 530 // Whether to enable auto-resize. |
| 531 IPC_STRUCT_MEMBER(bool, enable_auto_resize) | 531 IPC_STRUCT_MEMBER(bool, enable_auto_resize) |
| 532 | 532 |
| 533 // The minimum size to layout the page if auto-resize is enabled. | 533 // The minimum size to layout the page if auto-resize is enabled. |
| 534 IPC_STRUCT_MEMBER(gfx::Size, min_size) | 534 IPC_STRUCT_MEMBER(gfx::Size, min_size) |
| 535 | 535 |
| 536 // The maximum size to layout the page if auto-resize is enabled. | 536 // The maximum size to layout the page if auto-resize is enabled. |
| 537 IPC_STRUCT_MEMBER(gfx::Size, max_size) | 537 IPC_STRUCT_MEMBER(gfx::Size, max_size) |
| 538 | |
| 539 // Whether the RenderView is for a guest. | |
| 540 // TODO(lazyboy): Remove once we can use RFP to route postMessage. | |
|
Charlie Reis
2015/04/30 23:06:47
I think that's already possible. Check with alexm
lazyboy
2015/05/05 07:28:15
The comment was a bit misleading, this is required
| |
| 541 IPC_STRUCT_MEMBER(bool, is_guest) | |
| 538 IPC_STRUCT_END() | 542 IPC_STRUCT_END() |
| 539 | 543 |
| 540 // Messages sent from the browser to the renderer. | 544 // Messages sent from the browser to the renderer. |
| 541 | 545 |
| 542 #if defined(OS_ANDROID) | 546 #if defined(OS_ANDROID) |
| 543 // Tells the renderer to cancel an opened date/time dialog. | 547 // Tells the renderer to cancel an opened date/time dialog. |
| 544 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) | 548 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |
| 545 | 549 |
| 546 // Replaces a date time input field. | 550 // Replaces a date time input field. |
| 547 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, | 551 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1630 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1634 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1631 // for details. | 1635 // for details. |
| 1632 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1636 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1633 LOGFONT /* font_data */, | 1637 LOGFONT /* font_data */, |
| 1634 base::string16 /* characters */) | 1638 base::string16 /* characters */) |
| 1635 #endif | 1639 #endif |
| 1636 | 1640 |
| 1637 // Adding a new message? Stick to the sort order above: first platform | 1641 // Adding a new message? Stick to the sort order above: first platform |
| 1638 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1642 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1639 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1643 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |