OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
| 11 #include "content/common/content_export.h" |
11 #include "content/common/css_colors.h" | 12 #include "content/common/css_colors.h" |
12 #include "content/common/edit_command.h" | 13 #include "content/common/edit_command.h" |
13 #include "content/common/navigation_gesture.h" | 14 #include "content/common/navigation_gesture.h" |
14 #include "content/common/page_transition_types.h" | 15 #include "content/common/page_transition_types.h" |
15 #include "content/common/page_zoom.h" | 16 #include "content/common/page_zoom.h" |
16 #include "content/common/renderer_preferences.h" | 17 #include "content/common/renderer_preferences.h" |
17 #include "content/common/webkit_param_traits.h" | 18 #include "content/common/webkit_param_traits.h" |
18 #include "content/common/window_container_type.h" | 19 #include "content/common/window_container_type.h" |
19 #include "ipc/ipc_channel_handle.h" | 20 #include "ipc/ipc_channel_handle.h" |
20 #include "ipc/ipc_message_macros.h" | 21 #include "ipc/ipc_message_macros.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 }; | 189 }; |
189 | 190 |
190 ViewMsg_StopFinding_Params() : action(kClearSelection) {} | 191 ViewMsg_StopFinding_Params() : action(kClearSelection) {} |
191 | 192 |
192 // The action that should be taken when the find is completed. | 193 // The action that should be taken when the find is completed. |
193 Action action; | 194 Action action; |
194 }; | 195 }; |
195 | 196 |
196 #endif // CONTENT_COMMON_VIEW_MESSAGES_H_ | 197 #endif // CONTENT_COMMON_VIEW_MESSAGES_H_ |
197 | 198 |
| 199 #undef IPC_MESSAGE_EXPORT |
| 200 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 201 |
198 #define IPC_MESSAGE_START ViewMsgStart | 202 #define IPC_MESSAGE_START ViewMsgStart |
199 | 203 |
200 IPC_ENUM_TRAITS(CSSColors::CSSColorName) | 204 IPC_ENUM_TRAITS(CSSColors::CSSColorName) |
201 IPC_ENUM_TRAITS(NavigationGesture) | 205 IPC_ENUM_TRAITS(NavigationGesture) |
202 IPC_ENUM_TRAITS(PageZoom::Function) | 206 IPC_ENUM_TRAITS(PageZoom::Function) |
203 IPC_ENUM_TRAITS(RendererPreferencesHintingEnum) | 207 IPC_ENUM_TRAITS(RendererPreferencesHintingEnum) |
204 IPC_ENUM_TRAITS(RendererPreferencesSubpixelRenderingEnum) | 208 IPC_ENUM_TRAITS(RendererPreferencesSubpixelRenderingEnum) |
205 IPC_ENUM_TRAITS(ViewHostMsg_AccEvent::Value) | 209 IPC_ENUM_TRAITS(ViewHostMsg_AccEvent::Value) |
206 IPC_ENUM_TRAITS(ViewHostMsg_RunFileChooser_Mode::Value) | 210 IPC_ENUM_TRAITS(ViewHostMsg_RunFileChooser_Mode::Value) |
207 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) | 211 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) |
(...skipping 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2125 int32 /* complete status */) | 2129 int32 /* complete status */) |
2126 | 2130 |
2127 // Request updated information about the client firewall traversal policy. | 2131 // Request updated information about the client firewall traversal policy. |
2128 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2132 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2129 // being sent back. | 2133 // being sent back. |
2130 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2134 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2131 | 2135 |
2132 // Notifies the browser of an event occurring in the media pipeline. | 2136 // Notifies the browser of an event occurring in the media pipeline. |
2133 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2137 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2134 media::MediaLogEvent /* event */) | 2138 media::MediaLogEvent /* event */) |
OLD | NEW |