| 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "content/public/common/webkit_param_traits.h" | 25 #include "content/public/common/webkit_param_traits.h" |
| 26 #include "content/public/common/window_container_type.h" | 26 #include "content/public/common/window_container_type.h" |
| 27 #include "ipc/ipc_channel_handle.h" | 27 #include "ipc/ipc_channel_handle.h" |
| 28 #include "ipc/ipc_message_macros.h" | 28 #include "ipc/ipc_message_macros.h" |
| 29 #include "ipc/ipc_platform_file.h" | 29 #include "ipc/ipc_platform_file.h" |
| 30 #include "media/base/channel_layout.h" | 30 #include "media/base/channel_layout.h" |
| 31 #include "media/base/media_log_event.h" | 31 #include "media/base/media_log_event.h" |
| 32 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
| 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h" |
| 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositorFrame.h" |
| 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
| 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
| 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" |
| 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
| 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
| 41 #include "ui/base/ime/text_input_type.h" | 42 #include "ui/base/ime/text_input_type.h" |
| 42 #include "ui/base/range/range.h" | 43 #include "ui/base/range/range.h" |
| 43 #include "ui/gfx/point.h" | 44 #include "ui/gfx/point.h" |
| 44 #include "ui/gfx/rect.h" | 45 #include "ui/gfx/rect.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 IPC_STRUCT_TRAITS_MEMBER(enable) | 113 IPC_STRUCT_TRAITS_MEMBER(enable) |
| 113 IPC_STRUCT_TRAITS_END() | 114 IPC_STRUCT_TRAITS_END() |
| 114 | 115 |
| 115 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect) | 116 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect) |
| 116 IPC_STRUCT_TRAITS_MEMBER(x) | 117 IPC_STRUCT_TRAITS_MEMBER(x) |
| 117 IPC_STRUCT_TRAITS_MEMBER(y) | 118 IPC_STRUCT_TRAITS_MEMBER(y) |
| 118 IPC_STRUCT_TRAITS_MEMBER(width) | 119 IPC_STRUCT_TRAITS_MEMBER(width) |
| 119 IPC_STRUCT_TRAITS_MEMBER(height) | 120 IPC_STRUCT_TRAITS_MEMBER(height) |
| 120 IPC_STRUCT_TRAITS_END() | 121 IPC_STRUCT_TRAITS_END() |
| 121 | 122 |
| 123 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatRect) |
| 124 IPC_STRUCT_TRAITS_MEMBER(x) |
| 125 IPC_STRUCT_TRAITS_MEMBER(y) |
| 126 IPC_STRUCT_TRAITS_MEMBER(width) |
| 127 IPC_STRUCT_TRAITS_MEMBER(height) |
| 128 IPC_STRUCT_TRAITS_END() |
| 129 |
| 122 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) | 130 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) |
| 123 IPC_STRUCT_TRAITS_MEMBER(verticalDPI) | 131 IPC_STRUCT_TRAITS_MEMBER(verticalDPI) |
| 124 IPC_STRUCT_TRAITS_MEMBER(horizontalDPI) | 132 IPC_STRUCT_TRAITS_MEMBER(horizontalDPI) |
| 125 IPC_STRUCT_TRAITS_MEMBER(depth) | 133 IPC_STRUCT_TRAITS_MEMBER(depth) |
| 126 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) | 134 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) |
| 127 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) | 135 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) |
| 128 IPC_STRUCT_TRAITS_MEMBER(rect) | 136 IPC_STRUCT_TRAITS_MEMBER(rect) |
| 129 IPC_STRUCT_TRAITS_MEMBER(availableRect) | 137 IPC_STRUCT_TRAITS_MEMBER(availableRect) |
| 130 IPC_STRUCT_TRAITS_END() | 138 IPC_STRUCT_TRAITS_END() |
| 131 | 139 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 IPC_STRUCT_TRAITS_MEMBER(per_tile_painting_enabled) | 222 IPC_STRUCT_TRAITS_MEMBER(per_tile_painting_enabled) |
| 215 #endif | 223 #endif |
| 216 IPC_STRUCT_TRAITS_MEMBER(default_tile_width) | 224 IPC_STRUCT_TRAITS_MEMBER(default_tile_width) |
| 217 IPC_STRUCT_TRAITS_MEMBER(default_tile_height) | 225 IPC_STRUCT_TRAITS_MEMBER(default_tile_height) |
| 218 IPC_STRUCT_TRAITS_MEMBER(max_untiled_layer_width) | 226 IPC_STRUCT_TRAITS_MEMBER(max_untiled_layer_width) |
| 219 IPC_STRUCT_TRAITS_MEMBER(max_untiled_layer_height) | 227 IPC_STRUCT_TRAITS_MEMBER(max_untiled_layer_height) |
| 220 IPC_STRUCT_TRAITS_MEMBER(fixed_position_creates_stacking_context) | 228 IPC_STRUCT_TRAITS_MEMBER(fixed_position_creates_stacking_context) |
| 221 IPC_STRUCT_TRAITS_MEMBER(sync_xhr_in_documents_enabled) | 229 IPC_STRUCT_TRAITS_MEMBER(sync_xhr_in_documents_enabled) |
| 222 IPC_STRUCT_TRAITS_END() | 230 IPC_STRUCT_TRAITS_END() |
| 223 | 231 |
| 232 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCompositorMatrix) |
| 233 IPC_STRUCT_TRAITS_MEMBER(m11) |
| 234 IPC_STRUCT_TRAITS_MEMBER(m12) |
| 235 IPC_STRUCT_TRAITS_MEMBER(m13) |
| 236 IPC_STRUCT_TRAITS_MEMBER(m14) |
| 237 IPC_STRUCT_TRAITS_MEMBER(m21) |
| 238 IPC_STRUCT_TRAITS_MEMBER(m22) |
| 239 IPC_STRUCT_TRAITS_MEMBER(m23) |
| 240 IPC_STRUCT_TRAITS_MEMBER(m24) |
| 241 IPC_STRUCT_TRAITS_MEMBER(m31) |
| 242 IPC_STRUCT_TRAITS_MEMBER(m32) |
| 243 IPC_STRUCT_TRAITS_MEMBER(m33) |
| 244 IPC_STRUCT_TRAITS_MEMBER(m34) |
| 245 IPC_STRUCT_TRAITS_MEMBER(m41) |
| 246 IPC_STRUCT_TRAITS_MEMBER(m42) |
| 247 IPC_STRUCT_TRAITS_MEMBER(m43) |
| 248 IPC_STRUCT_TRAITS_MEMBER(m44) |
| 249 IPC_STRUCT_TRAITS_END() |
| 250 |
| 251 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCompositorQuad) |
| 252 IPC_STRUCT_TRAITS_MEMBER(quadTransform) |
| 253 IPC_STRUCT_TRAITS_MEMBER(layerTransform) |
| 254 IPC_STRUCT_TRAITS_MEMBER(layerRect) |
| 255 IPC_STRUCT_TRAITS_MEMBER(scissorRect) |
| 256 IPC_STRUCT_TRAITS_MEMBER(opacity) |
| 257 IPC_STRUCT_TRAITS_MEMBER(opaque) |
| 258 |
| 259 IPC_STRUCT_TRAITS_MEMBER(quadRect) |
| 260 IPC_STRUCT_TRAITS_MEMBER(quadVisibleRect) |
| 261 IPC_STRUCT_TRAITS_MEMBER(opaqueRect) |
| 262 IPC_STRUCT_TRAITS_END() |
| 263 |
| 264 IPC_STRUCT_BEGIN(CompositorHostMsg_DrawFrame_Params) |
| 265 IPC_STRUCT_MEMBER(std::vector<WebKit::WebCompositorQuad>, quads) |
| 266 IPC_STRUCT_MEMBER(WebKit::WebFloatRect, framebuffer_output_rect) |
| 267 IPC_STRUCT_END() |
| 268 |
| 269 IPC_MESSAGE_ROUTED1(CompositorHostMsg_DrawFrame, |
| 270 CompositorHostMsg_DrawFrame_Params) |
| 271 |
| 224 IPC_STRUCT_TRAITS_BEGIN(WebMenuItem) | 272 IPC_STRUCT_TRAITS_BEGIN(WebMenuItem) |
| 225 IPC_STRUCT_TRAITS_MEMBER(label) | 273 IPC_STRUCT_TRAITS_MEMBER(label) |
| 226 IPC_STRUCT_TRAITS_MEMBER(toolTip) | 274 IPC_STRUCT_TRAITS_MEMBER(toolTip) |
| 227 IPC_STRUCT_TRAITS_MEMBER(type) | 275 IPC_STRUCT_TRAITS_MEMBER(type) |
| 228 IPC_STRUCT_TRAITS_MEMBER(action) | 276 IPC_STRUCT_TRAITS_MEMBER(action) |
| 229 IPC_STRUCT_TRAITS_MEMBER(rtl) | 277 IPC_STRUCT_TRAITS_MEMBER(rtl) |
| 230 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) | 278 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) |
| 231 IPC_STRUCT_TRAITS_MEMBER(enabled) | 279 IPC_STRUCT_TRAITS_MEMBER(enabled) |
| 232 IPC_STRUCT_TRAITS_MEMBER(checked) | 280 IPC_STRUCT_TRAITS_MEMBER(checked) |
| 233 IPC_STRUCT_TRAITS_MEMBER(submenu) | 281 IPC_STRUCT_TRAITS_MEMBER(submenu) |
| (...skipping 1859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2093 // (according to the value of is_hung). The browser can give the user the | 2141 // (according to the value of is_hung). The browser can give the user the |
| 2094 // option of killing the plugin. | 2142 // option of killing the plugin. |
| 2095 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2143 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
| 2096 int /* plugin_child_id */, | 2144 int /* plugin_child_id */, |
| 2097 FilePath /* path */, | 2145 FilePath /* path */, |
| 2098 bool /* is_hung */) | 2146 bool /* is_hung */) |
| 2099 | 2147 |
| 2100 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2148 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
| 2101 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2149 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
| 2102 int /* orientation */) | 2150 int /* orientation */) |
| OLD | NEW |