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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "cc/output/begin_frame_args.h" | 11 #include "cc/output/begin_frame_args.h" |
12 #include "cc/output/compositor_frame.h" | 12 #include "cc/output/compositor_frame.h" |
13 #include "cc/output/compositor_frame_ack.h" | 13 #include "cc/output/compositor_frame_ack.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/common/content_param_traits.h" | 15 #include "content/common/content_param_traits.h" |
16 #include "content/common/cookie_data.h" | 16 #include "content/common/cookie_data.h" |
| 17 #include "content/common/date_time_suggestion.h" |
17 #include "content/common/input/did_overscroll_params.h" | 18 #include "content/common/input/did_overscroll_params.h" |
18 #include "content/common/input/input_event_ack_state.h" | 19 #include "content/common/input/input_event_ack_state.h" |
19 #include "content/common/navigation_gesture.h" | 20 #include "content/common/navigation_gesture.h" |
20 #include "content/common/pepper_renderer_instance_data.h" | 21 #include "content/common/pepper_renderer_instance_data.h" |
21 #include "content/common/view_message_enums.h" | 22 #include "content/common/view_message_enums.h" |
22 #include "content/common/webplugin_geometry.h" | 23 #include "content/common/webplugin_geometry.h" |
23 #include "content/public/common/common_param_traits.h" | 24 #include "content/public/common/common_param_traits.h" |
24 #include "content/public/common/favicon_url.h" | 25 #include "content/public/common/favicon_url.h" |
25 #include "content/public/common/file_chooser_params.h" | 26 #include "content/public/common/file_chooser_params.h" |
26 #include "content/public/common/menu_item.h" | 27 #include "content/public/common/menu_item.h" |
27 #include "content/public/common/page_state.h" | 28 #include "content/public/common/page_state.h" |
28 #include "content/public/common/page_zoom.h" | 29 #include "content/public/common/page_zoom.h" |
29 #include "content/public/common/referrer.h" | 30 #include "content/public/common/referrer.h" |
30 #include "content/public/common/renderer_preferences.h" | 31 #include "content/public/common/renderer_preferences.h" |
31 #include "content/public/common/stop_find_action.h" | 32 #include "content/public/common/stop_find_action.h" |
32 #include "content/public/common/three_d_api_types.h" | 33 #include "content/public/common/three_d_api_types.h" |
33 #include "content/public/common/window_container_type.h" | 34 #include "content/public/common/window_container_type.h" |
34 #include "content/common/date_time_suggestion.h" | |
35 #include "ipc/ipc_channel_handle.h" | 35 #include "ipc/ipc_channel_handle.h" |
36 #include "ipc/ipc_message_macros.h" | 36 #include "ipc/ipc_message_macros.h" |
37 #include "ipc/ipc_platform_file.h" | 37 #include "ipc/ipc_platform_file.h" |
38 #include "media/audio/audio_parameters.h" | 38 #include "media/audio/audio_parameters.h" |
39 #include "media/base/channel_layout.h" | 39 #include "media/base/channel_layout.h" |
40 #include "media/base/media_log_event.h" | 40 #include "media/base/media_log_event.h" |
41 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 41 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
42 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 42 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
43 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | 43 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
44 #include "third_party/WebKit/public/web/WebFindOptions.h" | 44 #include "third_party/WebKit/public/web/WebFindOptions.h" |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) | 208 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) |
209 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) | 209 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) |
210 IPC_STRUCT_TRAITS_MEMBER(accept_languages) | 210 IPC_STRUCT_TRAITS_MEMBER(accept_languages) |
211 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) | 211 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) |
212 IPC_STRUCT_TRAITS_MEMBER(touchpad_fling_profile) | 212 IPC_STRUCT_TRAITS_MEMBER(touchpad_fling_profile) |
213 IPC_STRUCT_TRAITS_MEMBER(touchscreen_fling_profile) | 213 IPC_STRUCT_TRAITS_MEMBER(touchscreen_fling_profile) |
214 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) | 214 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) |
215 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) | 215 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) |
216 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) | 216 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) |
217 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video) | 217 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video) |
| 218 IPC_STRUCT_TRAITS_MEMBER(deprecated_features_to_enable) |
218 IPC_STRUCT_TRAITS_END() | 219 IPC_STRUCT_TRAITS_END() |
219 | 220 |
220 IPC_STRUCT_TRAITS_BEGIN(content::CookieData) | 221 IPC_STRUCT_TRAITS_BEGIN(content::CookieData) |
221 IPC_STRUCT_TRAITS_MEMBER(name) | 222 IPC_STRUCT_TRAITS_MEMBER(name) |
222 IPC_STRUCT_TRAITS_MEMBER(value) | 223 IPC_STRUCT_TRAITS_MEMBER(value) |
223 IPC_STRUCT_TRAITS_MEMBER(domain) | 224 IPC_STRUCT_TRAITS_MEMBER(domain) |
224 IPC_STRUCT_TRAITS_MEMBER(path) | 225 IPC_STRUCT_TRAITS_MEMBER(path) |
225 IPC_STRUCT_TRAITS_MEMBER(expires) | 226 IPC_STRUCT_TRAITS_MEMBER(expires) |
226 IPC_STRUCT_TRAITS_MEMBER(http_only) | 227 IPC_STRUCT_TRAITS_MEMBER(http_only) |
227 IPC_STRUCT_TRAITS_MEMBER(secure) | 228 IPC_STRUCT_TRAITS_MEMBER(secure) |
(...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1777 // synchronously (see crbug.com/120597). This IPC message sends the character | 1778 // synchronously (see crbug.com/120597). This IPC message sends the character |
1778 // bounds after every composition change to always have correct bound info. | 1779 // bounds after every composition change to always have correct bound info. |
1779 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1780 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1780 gfx::Range /* composition range */, | 1781 gfx::Range /* composition range */, |
1781 std::vector<gfx::Rect> /* character bounds */) | 1782 std::vector<gfx::Rect> /* character bounds */) |
1782 #endif | 1783 #endif |
1783 | 1784 |
1784 // Adding a new message? Stick to the sort order above: first platform | 1785 // Adding a new message? Stick to the sort order above: first platform |
1785 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1786 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1786 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1787 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |