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" |
11 #include "base/values.h" | |
11 #include "cc/output/begin_frame_args.h" | 12 #include "cc/output/begin_frame_args.h" |
12 #include "cc/output/compositor_frame.h" | 13 #include "cc/output/compositor_frame.h" |
13 #include "cc/output/compositor_frame_ack.h" | 14 #include "cc/output/compositor_frame_ack.h" |
14 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
15 #include "content/common/content_param_traits.h" | 16 #include "content/common/content_param_traits.h" |
16 #include "content/common/cookie_data.h" | 17 #include "content/common/cookie_data.h" |
17 #include "content/common/navigation_gesture.h" | 18 #include "content/common/navigation_gesture.h" |
18 #include "content/common/pepper_renderer_instance_data.h" | 19 #include "content/common/pepper_renderer_instance_data.h" |
19 #include "content/common/view_message_enums.h" | 20 #include "content/common/view_message_enums.h" |
20 #include "content/common/webplugin_geometry.h" | 21 #include "content/common/webplugin_geometry.h" |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
477 IPC_STRUCT_MEMBER(int32, next_page_id) | 478 IPC_STRUCT_MEMBER(int32, next_page_id) |
478 | 479 |
479 // The properties of the screen associated with the view. | 480 // The properties of the screen associated with the view. |
480 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) | 481 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) |
481 | 482 |
482 // The accessibility mode of the renderer. | 483 // The accessibility mode of the renderer. |
483 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 484 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
484 IPC_STRUCT_END() | 485 IPC_STRUCT_END() |
485 | 486 |
486 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 487 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
488 // Whether the data format is supplied as serialized script value, or base::va lue | |
nasko
2014/06/20 16:56:52
nit: Lines should be limited to 80 characters. Als
sgurun-gerrit only
2014/07/11 00:45:46
Done.
| |
489 IPC_STRUCT_MEMBER(bool, is_data_raw_string) | |
487 // The serialized script value. | 490 // The serialized script value. |
488 IPC_STRUCT_MEMBER(base::string16, data) | 491 IPC_STRUCT_MEMBER(base::string16, data) |
489 | 492 |
490 // When sent to the browser, this is the routing ID of the source frame in | 493 // When sent to the browser, this is the routing ID of the source frame in |
491 // the source process. The browser replaces it with the routing ID of the | 494 // the source process. The browser replaces it with the routing ID of the |
492 // equivalent (swapped out) frame in the destination process. | 495 // equivalent (swapped out) frame in the destination process. |
493 IPC_STRUCT_MEMBER(int, source_routing_id) | 496 IPC_STRUCT_MEMBER(int, source_routing_id) |
494 | 497 |
495 // The origin of the source frame. | 498 // The origin of the source frame. |
496 IPC_STRUCT_MEMBER(base::string16, source_origin) | 499 IPC_STRUCT_MEMBER(base::string16, source_origin) |
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1712 // synchronously (see crbug.com/120597). This IPC message sends the character | 1715 // synchronously (see crbug.com/120597). This IPC message sends the character |
1713 // bounds after every composition change to always have correct bound info. | 1716 // bounds after every composition change to always have correct bound info. |
1714 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1717 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1715 gfx::Range /* composition range */, | 1718 gfx::Range /* composition range */, |
1716 std::vector<gfx::Rect> /* character bounds */) | 1719 std::vector<gfx::Rect> /* character bounds */) |
1717 #endif | 1720 #endif |
1718 | 1721 |
1719 // Adding a new message? Stick to the sort order above: first platform | 1722 // Adding a new message? Stick to the sort order above: first platform |
1720 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1723 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1721 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1724 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |