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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) | 534 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) |
535 | 535 |
536 // Whether to enable auto-resize. | 536 // Whether to enable auto-resize. |
537 IPC_STRUCT_MEMBER(bool, enable_auto_resize) | 537 IPC_STRUCT_MEMBER(bool, enable_auto_resize) |
538 | 538 |
539 // The minimum size to layout the page if auto-resize is enabled. | 539 // The minimum size to layout the page if auto-resize is enabled. |
540 IPC_STRUCT_MEMBER(gfx::Size, min_size) | 540 IPC_STRUCT_MEMBER(gfx::Size, min_size) |
541 | 541 |
542 // The maximum size to layout the page if auto-resize is enabled. | 542 // The maximum size to layout the page if auto-resize is enabled. |
543 IPC_STRUCT_MEMBER(gfx::Size, max_size) | 543 IPC_STRUCT_MEMBER(gfx::Size, max_size) |
| 544 |
| 545 // Whether the RenderView belongs to an inner WebContents in |
| 546 // --site-per-process mode. |
| 547 // TODO(lazyboy): Remove once we can create RFP without swapped out |
| 548 // RenderView. |
| 549 IPC_STRUCT_MEMBER(bool, is_inner_web_contents_in_site_per_process) |
544 IPC_STRUCT_END() | 550 IPC_STRUCT_END() |
545 | 551 |
546 // Messages sent from the browser to the renderer. | 552 // Messages sent from the browser to the renderer. |
547 | 553 |
548 #if defined(OS_ANDROID) | 554 #if defined(OS_ANDROID) |
549 // Tells the renderer to cancel an opened date/time dialog. | 555 // Tells the renderer to cancel an opened date/time dialog. |
550 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) | 556 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |
551 | 557 |
552 // Replaces a date time input field. | 558 // Replaces a date time input field. |
553 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, | 559 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1618 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1624 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1619 // for details. | 1625 // for details. |
1620 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1626 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1621 LOGFONT /* font_data */, | 1627 LOGFONT /* font_data */, |
1622 base::string16 /* characters */) | 1628 base::string16 /* characters */) |
1623 #endif | 1629 #endif |
1624 | 1630 |
1625 // Adding a new message? Stick to the sort order above: first platform | 1631 // Adding a new message? Stick to the sort order above: first platform |
1626 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1632 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1627 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1633 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |