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" |
| 11 #include "content/common/content_param_traits.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/view_message_enums.h" | 15 #include "content/common/view_message_enums.h" |
15 #include "content/public/common/common_param_traits.h" | 16 #include "content/public/common/common_param_traits.h" |
16 #include "content/public/common/context_menu_params.h" | 17 #include "content/public/common/context_menu_params.h" |
17 #include "content/public/common/file_chooser_params.h" | 18 #include "content/public/common/file_chooser_params.h" |
18 #include "content/public/common/frame_navigate_params.h" | 19 #include "content/public/common/frame_navigate_params.h" |
19 #include "content/public/common/javascript_message_type.h" | 20 #include "content/public/common/javascript_message_type.h" |
20 #include "content/public/common/page_zoom.h" | 21 #include "content/public/common/page_zoom.h" |
21 #include "content/public/common/referrer.h" | 22 #include "content/public/common/referrer.h" |
22 #include "content/public/common/renderer_preferences.h" | 23 #include "content/public/common/renderer_preferences.h" |
23 #include "content/public/common/stop_find_action.h" | 24 #include "content/public/common/stop_find_action.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" | 32 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" |
33 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" | 33 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
| 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
41 #include "ui/base/dialogs/selected_file_info.h" | 42 #include "ui/base/dialogs/selected_file_info.h" |
42 #include "ui/base/ime/text_input_type.h" | 43 #include "ui/base/ime/text_input_type.h" |
43 #include "ui/base/range/range.h" | 44 #include "ui/base/range/range.h" |
44 #include "ui/gfx/point.h" | 45 #include "ui/gfx/point.h" |
45 #include "ui/gfx/rect.h" | 46 #include "ui/gfx/rect.h" |
46 #include "ui/gfx/rect_f.h" | 47 #include "ui/gfx/rect_f.h" |
47 #include "webkit/glue/webcookie.h" | 48 #include "webkit/glue/webcookie.h" |
48 #include "webkit/glue/webmenuitem.h" | 49 #include "webkit/glue/webmenuitem.h" |
49 #include "webkit/glue/webpreferences.h" | 50 #include "webkit/glue/webpreferences.h" |
50 #include "webkit/plugins/npapi/webplugin.h" | 51 #include "webkit/plugins/npapi/webplugin.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebMediaPlayerAction) | 112 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebMediaPlayerAction) |
112 IPC_STRUCT_TRAITS_MEMBER(type) | 113 IPC_STRUCT_TRAITS_MEMBER(type) |
113 IPC_STRUCT_TRAITS_MEMBER(enable) | 114 IPC_STRUCT_TRAITS_MEMBER(enable) |
114 IPC_STRUCT_TRAITS_END() | 115 IPC_STRUCT_TRAITS_END() |
115 | 116 |
116 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPluginAction) | 117 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPluginAction) |
117 IPC_STRUCT_TRAITS_MEMBER(type) | 118 IPC_STRUCT_TRAITS_MEMBER(type) |
118 IPC_STRUCT_TRAITS_MEMBER(enable) | 119 IPC_STRUCT_TRAITS_MEMBER(enable) |
119 IPC_STRUCT_TRAITS_END() | 120 IPC_STRUCT_TRAITS_END() |
120 | 121 |
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 | |
126 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect) | |
127 IPC_STRUCT_TRAITS_MEMBER(x) | |
128 IPC_STRUCT_TRAITS_MEMBER(y) | |
129 IPC_STRUCT_TRAITS_MEMBER(width) | |
130 IPC_STRUCT_TRAITS_MEMBER(height) | |
131 IPC_STRUCT_TRAITS_END() | |
132 | |
133 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatPoint) | 122 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatPoint) |
134 IPC_STRUCT_TRAITS_MEMBER(x) | 123 IPC_STRUCT_TRAITS_MEMBER(x) |
135 IPC_STRUCT_TRAITS_MEMBER(y) | 124 IPC_STRUCT_TRAITS_MEMBER(y) |
136 IPC_STRUCT_TRAITS_END() | 125 IPC_STRUCT_TRAITS_END() |
137 | 126 |
138 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatRect) | 127 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatRect) |
139 IPC_STRUCT_TRAITS_MEMBER(x) | 128 IPC_STRUCT_TRAITS_MEMBER(x) |
140 IPC_STRUCT_TRAITS_MEMBER(y) | 129 IPC_STRUCT_TRAITS_MEMBER(y) |
141 IPC_STRUCT_TRAITS_MEMBER(width) | 130 IPC_STRUCT_TRAITS_MEMBER(width) |
142 IPC_STRUCT_TRAITS_MEMBER(height) | 131 IPC_STRUCT_TRAITS_MEMBER(height) |
(...skipping 2329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2472 | 2461 |
2473 // Perform a seek. | 2462 // Perform a seek. |
2474 IPC_MESSAGE_ROUTED2(ViewHostMsg_MediaPlayerSeek, | 2463 IPC_MESSAGE_ROUTED2(ViewHostMsg_MediaPlayerSeek, |
2475 int /* player_id */, | 2464 int /* player_id */, |
2476 base::TimeDelta /* time */) | 2465 base::TimeDelta /* time */) |
2477 | 2466 |
2478 // Start the player for playback. | 2467 // Start the player for playback. |
2479 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPlayerStart, | 2468 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPlayerStart, |
2480 int /* player_id */) | 2469 int /* player_id */) |
2481 #endif | 2470 #endif |
OLD | NEW |