| 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 // The initial page ID to use for this view, which must be larger than any | 659 // The initial page ID to use for this view, which must be larger than any |
| 660 // existing navigation that might be loaded in the view. Page IDs are unique | 660 // existing navigation that might be loaded in the view. Page IDs are unique |
| 661 // to a view and are only updated by the renderer after this initial value. | 661 // to a view and are only updated by the renderer after this initial value. |
| 662 IPC_STRUCT_MEMBER(int32, next_page_id) | 662 IPC_STRUCT_MEMBER(int32, next_page_id) |
| 663 | 663 |
| 664 // The properties of the screen associated with the view. | 664 // The properties of the screen associated with the view. |
| 665 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) | 665 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
| 666 | 666 |
| 667 // The accessibility mode of the renderer. | 667 // The accessibility mode of the renderer. |
| 668 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 668 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
| 669 |
| 670 // Specifies whether partially swapping composited buffers is |
| 671 // allowed for a renderer. Partial swaps will be used if they are both |
| 672 // allowed and supported. |
| 673 IPC_STRUCT_MEMBER(bool, allow_partial_swap) |
| 669 IPC_STRUCT_END() | 674 IPC_STRUCT_END() |
| 670 | 675 |
| 671 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 676 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
| 672 // The serialized script value. | 677 // The serialized script value. |
| 673 IPC_STRUCT_MEMBER(string16, data) | 678 IPC_STRUCT_MEMBER(string16, data) |
| 674 | 679 |
| 675 // When sent to the browser, this is the routing ID of the source frame in | 680 // When sent to the browser, this is the routing ID of the source frame in |
| 676 // the source process. The browser replaces it with the routing ID of the | 681 // the source process. The browser replaces it with the routing ID of the |
| 677 // equivalent (swapped out) frame in the destination process. | 682 // equivalent (swapped out) frame in the destination process. |
| 678 IPC_STRUCT_MEMBER(int, source_routing_id) | 683 IPC_STRUCT_MEMBER(int, source_routing_id) |
| (...skipping 1744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2423 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2428 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2424 // for details. | 2429 // for details. |
| 2425 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2430 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2426 LOGFONT /* font_data */, | 2431 LOGFONT /* font_data */, |
| 2427 string16 /* characters */) | 2432 string16 /* characters */) |
| 2428 #endif | 2433 #endif |
| 2429 | 2434 |
| 2430 // Adding a new message? Stick to the sort order above: first platform | 2435 // Adding a new message? Stick to the sort order above: first platform |
| 2431 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2436 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2432 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2437 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |