OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 AccessibilityModeComplete) | 38 AccessibilityModeComplete) |
39 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::JavaScriptMessageType, | 39 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::JavaScriptMessageType, |
40 content::JAVASCRIPT_MESSAGE_TYPE_ALERT, | 40 content::JAVASCRIPT_MESSAGE_TYPE_ALERT, |
41 content::JAVASCRIPT_MESSAGE_TYPE_PROMPT) | 41 content::JAVASCRIPT_MESSAGE_TYPE_PROMPT) |
42 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_Navigate_Type::Value, | 42 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_Navigate_Type::Value, |
43 FrameMsg_Navigate_Type::NAVIGATE_TYPE_LAST) | 43 FrameMsg_Navigate_Type::NAVIGATE_TYPE_LAST) |
44 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, | 44 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, |
45 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) | 45 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) |
46 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, | 46 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, |
47 blink::WebContextMenuData::MediaTypeLast) | 47 blink::WebContextMenuData::MediaTypeLast) |
| 48 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, |
| 49 blink::WebContextMenuData::InputFieldTypeLast) |
48 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, | 50 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, |
49 blink::WebTreeScopeType::Last) | 51 blink::WebTreeScopeType::Last) |
50 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) | 52 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) |
51 IPC_ENUM_TRAITS(content::SandboxFlags) // Bitmask. | 53 IPC_ENUM_TRAITS(content::SandboxFlags) // Bitmask. |
52 | 54 |
53 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) | 55 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) |
54 IPC_STRUCT_TRAITS_MEMBER(color) | 56 IPC_STRUCT_TRAITS_MEMBER(color) |
55 IPC_STRUCT_TRAITS_MEMBER(label) | 57 IPC_STRUCT_TRAITS_MEMBER(label) |
56 IPC_STRUCT_TRAITS_END() | 58 IPC_STRUCT_TRAITS_END() |
57 | 59 |
(...skipping 27 matching lines...) Expand all Loading... |
85 IPC_STRUCT_TRAITS_MEMBER(security_info) | 87 IPC_STRUCT_TRAITS_MEMBER(security_info) |
86 IPC_STRUCT_TRAITS_MEMBER(frame_charset) | 88 IPC_STRUCT_TRAITS_MEMBER(frame_charset) |
87 IPC_STRUCT_TRAITS_MEMBER(referrer_policy) | 89 IPC_STRUCT_TRAITS_MEMBER(referrer_policy) |
88 IPC_STRUCT_TRAITS_MEMBER(custom_context) | 90 IPC_STRUCT_TRAITS_MEMBER(custom_context) |
89 IPC_STRUCT_TRAITS_MEMBER(custom_items) | 91 IPC_STRUCT_TRAITS_MEMBER(custom_items) |
90 IPC_STRUCT_TRAITS_MEMBER(source_type) | 92 IPC_STRUCT_TRAITS_MEMBER(source_type) |
91 #if defined(OS_ANDROID) | 93 #if defined(OS_ANDROID) |
92 IPC_STRUCT_TRAITS_MEMBER(selection_start) | 94 IPC_STRUCT_TRAITS_MEMBER(selection_start) |
93 IPC_STRUCT_TRAITS_MEMBER(selection_end) | 95 IPC_STRUCT_TRAITS_MEMBER(selection_end) |
94 #endif | 96 #endif |
| 97 IPC_STRUCT_TRAITS_MEMBER(input_field_type) |
95 IPC_STRUCT_TRAITS_END() | 98 IPC_STRUCT_TRAITS_END() |
96 | 99 |
97 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) | 100 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) |
98 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) | 101 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) |
99 IPC_STRUCT_TRAITS_MEMBER(request_id) | 102 IPC_STRUCT_TRAITS_MEMBER(request_id) |
100 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) | 103 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) |
101 IPC_STRUCT_TRAITS_MEMBER(link_followed) | 104 IPC_STRUCT_TRAITS_MEMBER(link_followed) |
102 IPC_STRUCT_TRAITS_END() | 105 IPC_STRUCT_TRAITS_END() |
103 | 106 |
104 IPC_STRUCT_TRAITS_BEGIN(content::TransitionElement) | 107 IPC_STRUCT_TRAITS_BEGIN(content::TransitionElement) |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 FrameMsg_PostMessage_Params) | 962 FrameMsg_PostMessage_Params) |
960 | 963 |
961 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 964 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
962 | 965 |
963 // Message to show/hide a popup menu using native controls. | 966 // Message to show/hide a popup menu using native controls. |
964 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 967 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
965 FrameHostMsg_ShowPopup_Params) | 968 FrameHostMsg_ShowPopup_Params) |
966 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 969 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
967 | 970 |
968 #endif | 971 #endif |
OLD | NEW |