| 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 11 matching lines...) Expand all Loading... |
| 22 #include "content/public/common/renderer_preferences.h" | 22 #include "content/public/common/renderer_preferences.h" |
| 23 #include "content/public/common/stop_find_action.h" | 23 #include "content/public/common/stop_find_action.h" |
| 24 #include "content/public/common/webkit_param_traits.h" | 24 #include "content/public/common/webkit_param_traits.h" |
| 25 #include "content/public/common/window_container_type.h" | 25 #include "content/public/common/window_container_type.h" |
| 26 #include "ipc/ipc_channel_handle.h" | 26 #include "ipc/ipc_channel_handle.h" |
| 27 #include "ipc/ipc_message_macros.h" | 27 #include "ipc/ipc_message_macros.h" |
| 28 #include "ipc/ipc_platform_file.h" | 28 #include "ipc/ipc_platform_file.h" |
| 29 #include "media/base/channel_layout.h" | 29 #include "media/base/channel_layout.h" |
| 30 #include "media/base/media_log_event.h" | 30 #include "media/base/media_log_event.h" |
| 31 #include "third_party/skia/include/core/SkBitmap.h" | 31 #include "third_party/skia/include/core/SkBitmap.h" |
| 32 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" |
| 33 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" |
| 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
| 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
| 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" |
| 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
| 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
| 39 #include "ui/base/dialogs/selected_file_info.h" | 41 #include "ui/base/dialogs/selected_file_info.h" |
| 40 #include "ui/base/ime/text_input_type.h" | 42 #include "ui/base/ime/text_input_type.h" |
| 41 #include "ui/base/range/range.h" | 43 #include "ui/base/range/range.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebMediaPlayerAction) | 111 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebMediaPlayerAction) |
| 110 IPC_STRUCT_TRAITS_MEMBER(type) | 112 IPC_STRUCT_TRAITS_MEMBER(type) |
| 111 IPC_STRUCT_TRAITS_MEMBER(enable) | 113 IPC_STRUCT_TRAITS_MEMBER(enable) |
| 112 IPC_STRUCT_TRAITS_END() | 114 IPC_STRUCT_TRAITS_END() |
| 113 | 115 |
| 114 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPluginAction) | 116 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPluginAction) |
| 115 IPC_STRUCT_TRAITS_MEMBER(type) | 117 IPC_STRUCT_TRAITS_MEMBER(type) |
| 116 IPC_STRUCT_TRAITS_MEMBER(enable) | 118 IPC_STRUCT_TRAITS_MEMBER(enable) |
| 117 IPC_STRUCT_TRAITS_END() | 119 IPC_STRUCT_TRAITS_END() |
| 118 | 120 |
| 121 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPoint) |
| 122 IPC_STRUCT_TRAITS_MEMBER(x) |
| 123 IPC_STRUCT_TRAITS_MEMBER(y) |
| 124 IPC_STRUCT_TRAITS_END() |
| 125 |
| 119 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect) | 126 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect) |
| 120 IPC_STRUCT_TRAITS_MEMBER(x) | 127 IPC_STRUCT_TRAITS_MEMBER(x) |
| 121 IPC_STRUCT_TRAITS_MEMBER(y) | 128 IPC_STRUCT_TRAITS_MEMBER(y) |
| 122 IPC_STRUCT_TRAITS_MEMBER(width) | 129 IPC_STRUCT_TRAITS_MEMBER(width) |
| 123 IPC_STRUCT_TRAITS_MEMBER(height) | 130 IPC_STRUCT_TRAITS_MEMBER(height) |
| 124 IPC_STRUCT_TRAITS_END() | 131 IPC_STRUCT_TRAITS_END() |
| 125 | 132 |
| 133 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatPoint) |
| 134 IPC_STRUCT_TRAITS_MEMBER(x) |
| 135 IPC_STRUCT_TRAITS_MEMBER(y) |
| 136 IPC_STRUCT_TRAITS_END() |
| 137 |
| 138 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatRect) |
| 139 IPC_STRUCT_TRAITS_MEMBER(x) |
| 140 IPC_STRUCT_TRAITS_MEMBER(y) |
| 141 IPC_STRUCT_TRAITS_MEMBER(width) |
| 142 IPC_STRUCT_TRAITS_MEMBER(height) |
| 143 IPC_STRUCT_TRAITS_END() |
| 144 |
| 126 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) | 145 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) |
| 127 IPC_STRUCT_TRAITS_MEMBER(verticalDPI) | 146 IPC_STRUCT_TRAITS_MEMBER(verticalDPI) |
| 128 IPC_STRUCT_TRAITS_MEMBER(horizontalDPI) | 147 IPC_STRUCT_TRAITS_MEMBER(horizontalDPI) |
| 129 IPC_STRUCT_TRAITS_MEMBER(depth) | 148 IPC_STRUCT_TRAITS_MEMBER(depth) |
| 130 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) | 149 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) |
| 131 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) | 150 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) |
| 132 IPC_STRUCT_TRAITS_MEMBER(rect) | 151 IPC_STRUCT_TRAITS_MEMBER(rect) |
| 133 IPC_STRUCT_TRAITS_MEMBER(availableRect) | 152 IPC_STRUCT_TRAITS_MEMBER(availableRect) |
| 134 IPC_STRUCT_TRAITS_END() | 153 IPC_STRUCT_TRAITS_END() |
| 135 | 154 |
| (...skipping 2302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2438 | 2457 |
| 2439 // Perform a seek. | 2458 // Perform a seek. |
| 2440 IPC_MESSAGE_ROUTED2(ViewHostMsg_MediaPlayerSeek, | 2459 IPC_MESSAGE_ROUTED2(ViewHostMsg_MediaPlayerSeek, |
| 2441 int /* player_id */, | 2460 int /* player_id */, |
| 2442 base::TimeDelta /* time */) | 2461 base::TimeDelta /* time */) |
| 2443 | 2462 |
| 2444 // Start the player for playback. | 2463 // Start the player for playback. |
| 2445 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPlayerStart, | 2464 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPlayerStart, |
| 2446 int /* player_id */) | 2465 int /* player_id */) |
| 2447 #endif | 2466 #endif |
| OLD | NEW |