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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 // The initial page ID to use for this view, which must be larger than any | 512 // The initial page ID to use for this view, which must be larger than any |
513 // existing navigation that might be loaded in the view. Page IDs are unique | 513 // existing navigation that might be loaded in the view. Page IDs are unique |
514 // to a view and are only updated by the renderer after this initial value. | 514 // to a view and are only updated by the renderer after this initial value. |
515 IPC_STRUCT_MEMBER(int32, next_page_id) | 515 IPC_STRUCT_MEMBER(int32, next_page_id) |
516 | 516 |
517 // The properties of the screen associated with the view. | 517 // The properties of the screen associated with the view. |
518 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) | 518 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) |
519 | 519 |
520 // The accessibility mode of the renderer. | 520 // The accessibility mode of the renderer. |
521 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 521 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
522 | |
523 // Specifies whether partially swapping composited buffers is | |
524 // allowed for a renderer. Partial swaps will be used if they are both | |
525 // allowed and supported. | |
526 IPC_STRUCT_MEMBER(bool, allow_partial_swap) | |
527 IPC_STRUCT_END() | 522 IPC_STRUCT_END() |
528 | 523 |
529 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 524 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
530 // The serialized script value. | 525 // The serialized script value. |
531 IPC_STRUCT_MEMBER(base::string16, data) | 526 IPC_STRUCT_MEMBER(base::string16, data) |
532 | 527 |
533 // When sent to the browser, this is the routing ID of the source frame in | 528 // When sent to the browser, this is the routing ID of the source frame in |
534 // the source process. The browser replaces it with the routing ID of the | 529 // the source process. The browser replaces it with the routing ID of the |
535 // equivalent (swapped out) frame in the destination process. | 530 // equivalent (swapped out) frame in the destination process. |
536 IPC_STRUCT_MEMBER(int, source_routing_id) | 531 IPC_STRUCT_MEMBER(int, source_routing_id) |
(...skipping 1496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2033 // synchronously (see crbug.com/120597). This IPC message sends the character | 2028 // synchronously (see crbug.com/120597). This IPC message sends the character |
2034 // bounds after every composition change to always have correct bound info. | 2029 // bounds after every composition change to always have correct bound info. |
2035 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2030 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2036 gfx::Range /* composition range */, | 2031 gfx::Range /* composition range */, |
2037 std::vector<gfx::Rect> /* character bounds */) | 2032 std::vector<gfx::Rect> /* character bounds */) |
2038 #endif | 2033 #endif |
2039 | 2034 |
2040 // Adding a new message? Stick to the sort order above: first platform | 2035 // Adding a new message? Stick to the sort order above: first platform |
2041 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2036 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2042 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2037 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |