| 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/css_colors.h" | 11 #include "content/common/css_colors.h" |
| 12 #include "content/common/edit_command.h" | 12 #include "content/common/edit_command.h" |
| 13 #include "content/common/navigation_gesture.h" | 13 #include "content/common/navigation_gesture.h" |
| 14 #include "content/common/page_transition_types.h" | 14 #include "content/common/page_transition_types.h" |
| 15 #include "content/common/page_zoom.h" | 15 #include "content/common/page_zoom.h" |
| 16 #include "content/common/renderer_preferences.h" | 16 #include "content/common/renderer_preferences.h" |
| 17 #include "content/common/webkit_param_traits.h" | 17 #include "content/common/webkit_param_traits.h" |
| 18 #include "content/common/window_container_type.h" | 18 #include "content/common/window_container_type.h" |
| 19 #include "ipc/ipc_message_macros.h" | 19 #include "ipc/ipc_message_macros.h" |
| 20 #include "ipc/ipc_platform_file.h" | 20 #include "ipc/ipc_platform_file.h" |
| 21 #include "media/base/media_log_event.h" | |
| 22 #include "net/base/host_port_pair.h" | 21 #include "net/base/host_port_pair.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
| 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
| 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
| 28 #include "ui/base/ime/text_input_type.h" | 27 #include "ui/base/ime/text_input_type.h" |
| 29 #include "ui/base/range/range.h" | 28 #include "ui/base/range/range.h" |
| 30 #include "ui/gfx/rect.h" | 29 #include "ui/gfx/rect.h" |
| 31 #include "webkit/glue/context_menu.h" | 30 #include "webkit/glue/context_menu.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) | 165 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) |
| 167 IPC_ENUM_TRAITS(WebKit::WebPopupType) | 166 IPC_ENUM_TRAITS(WebKit::WebPopupType) |
| 168 IPC_ENUM_TRAITS(WebKit::WebTextDirection) | 167 IPC_ENUM_TRAITS(WebKit::WebTextDirection) |
| 169 IPC_ENUM_TRAITS(ui::TextInputType) | 168 IPC_ENUM_TRAITS(ui::TextInputType) |
| 170 IPC_ENUM_TRAITS(WebMenuItem::Type) | 169 IPC_ENUM_TRAITS(WebMenuItem::Type) |
| 171 IPC_ENUM_TRAITS(WindowContainerType) | 170 IPC_ENUM_TRAITS(WindowContainerType) |
| 172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) | 171 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) |
| 173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) | 172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) |
| 174 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) | 173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) |
| 175 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) | 174 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) |
| 176 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) | |
| 177 | 175 |
| 178 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) | 176 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) |
| 179 IPC_STRUCT_TRAITS_MEMBER(media_type) | 177 IPC_STRUCT_TRAITS_MEMBER(media_type) |
| 180 IPC_STRUCT_TRAITS_MEMBER(x) | 178 IPC_STRUCT_TRAITS_MEMBER(x) |
| 181 IPC_STRUCT_TRAITS_MEMBER(y) | 179 IPC_STRUCT_TRAITS_MEMBER(y) |
| 182 IPC_STRUCT_TRAITS_MEMBER(link_url) | 180 IPC_STRUCT_TRAITS_MEMBER(link_url) |
| 183 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) | 181 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) |
| 184 IPC_STRUCT_TRAITS_MEMBER(src_url) | 182 IPC_STRUCT_TRAITS_MEMBER(src_url) |
| 185 IPC_STRUCT_TRAITS_MEMBER(is_image_blocked) | 183 IPC_STRUCT_TRAITS_MEMBER(is_image_blocked) |
| 186 IPC_STRUCT_TRAITS_MEMBER(page_url) | 184 IPC_STRUCT_TRAITS_MEMBER(page_url) |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 | 401 |
| 404 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginInfo) | 402 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginInfo) |
| 405 IPC_STRUCT_TRAITS_MEMBER(name) | 403 IPC_STRUCT_TRAITS_MEMBER(name) |
| 406 IPC_STRUCT_TRAITS_MEMBER(path) | 404 IPC_STRUCT_TRAITS_MEMBER(path) |
| 407 IPC_STRUCT_TRAITS_MEMBER(version) | 405 IPC_STRUCT_TRAITS_MEMBER(version) |
| 408 IPC_STRUCT_TRAITS_MEMBER(desc) | 406 IPC_STRUCT_TRAITS_MEMBER(desc) |
| 409 IPC_STRUCT_TRAITS_MEMBER(mime_types) | 407 IPC_STRUCT_TRAITS_MEMBER(mime_types) |
| 410 IPC_STRUCT_TRAITS_MEMBER(enabled) | 408 IPC_STRUCT_TRAITS_MEMBER(enabled) |
| 411 IPC_STRUCT_TRAITS_END() | 409 IPC_STRUCT_TRAITS_END() |
| 412 | 410 |
| 413 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent) | |
| 414 IPC_STRUCT_TRAITS_MEMBER(id) | |
| 415 IPC_STRUCT_TRAITS_MEMBER(type) | |
| 416 IPC_STRUCT_TRAITS_MEMBER(params) | |
| 417 IPC_STRUCT_TRAITS_MEMBER(time) | |
| 418 IPC_STRUCT_TRAITS_END() | |
| 419 | |
| 420 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) | 411 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) |
| 421 // Routing ID of the view initiating the open. | 412 // Routing ID of the view initiating the open. |
| 422 IPC_STRUCT_MEMBER(int, opener_id) | 413 IPC_STRUCT_MEMBER(int, opener_id) |
| 423 | 414 |
| 424 // True if this open request came in the context of a user gesture. | 415 // True if this open request came in the context of a user gesture. |
| 425 IPC_STRUCT_MEMBER(bool, user_gesture) | 416 IPC_STRUCT_MEMBER(bool, user_gesture) |
| 426 | 417 |
| 427 // Type of window requested. | 418 // Type of window requested. |
| 428 IPC_STRUCT_MEMBER(WindowContainerType, window_container_type) | 419 IPC_STRUCT_MEMBER(WindowContainerType, window_container_type) |
| 429 | 420 |
| (...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2030 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, | 2021 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, |
| 2031 GURL /* frame's url */, | 2022 GURL /* frame's url */, |
| 2032 std::string /* data buffer */, | 2023 std::string /* data buffer */, |
| 2033 int32 /* complete status */) | 2024 int32 /* complete status */) |
| 2034 | 2025 |
| 2035 // Request updated information about the client firewall traversal policy. | 2026 // Request updated information about the client firewall traversal policy. |
| 2036 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2027 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
| 2037 // being sent back. | 2028 // being sent back. |
| 2038 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2029 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
| 2039 | 2030 |
| 2040 // Notifies the browser of an event occurring in the media pipeline. | |
| 2041 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | |
| 2042 media::MediaLogEvent /* event */) | |
| OLD | NEW |