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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "content/public/common/page_zoom.h" | 31 #include "content/public/common/page_zoom.h" |
32 #include "content/public/common/referrer.h" | 32 #include "content/public/common/referrer.h" |
33 #include "content/public/common/renderer_preferences.h" | 33 #include "content/public/common/renderer_preferences.h" |
34 #include "content/public/common/screen_info.h" | 34 #include "content/public/common/screen_info.h" |
35 #include "content/public/common/three_d_api_types.h" | 35 #include "content/public/common/three_d_api_types.h" |
36 #include "ipc/ipc_channel_handle.h" | 36 #include "ipc/ipc_channel_handle.h" |
37 #include "ipc/ipc_message_macros.h" | 37 #include "ipc/ipc_message_macros.h" |
38 #include "media/base/audio_parameters.h" | 38 #include "media/base/audio_parameters.h" |
39 #include "media/base/channel_layout.h" | 39 #include "media/base/channel_layout.h" |
40 #include "media/base/ipc/media_param_traits.h" | 40 #include "media/base/ipc/media_param_traits.h" |
41 #include "media/base/media_log_event.h" | |
42 #include "media/capture/ipc/capture_param_traits.h" | 41 #include "media/capture/ipc/capture_param_traits.h" |
43 #include "net/base/network_change_notifier.h" | 42 #include "net/base/network_change_notifier.h" |
44 #include "ppapi/features/features.h" | 43 #include "ppapi/features/features.h" |
45 #include "third_party/WebKit/public/platform/WebDisplayMode.h" | 44 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
46 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 45 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
47 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 46 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
48 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" | 47 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" |
49 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" | 48 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" |
50 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" | 49 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" |
51 #include "third_party/WebKit/public/web/WebPluginAction.h" | 50 #include "third_party/WebKit/public/web/WebPluginAction.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 IPC_ENUM_TRAITS_MAX_VALUE(gfx::FontRenderParams::Hinting, | 101 IPC_ENUM_TRAITS_MAX_VALUE(gfx::FontRenderParams::Hinting, |
103 gfx::FontRenderParams::HINTING_MAX) | 102 gfx::FontRenderParams::HINTING_MAX) |
104 IPC_ENUM_TRAITS_MAX_VALUE(gfx::FontRenderParams::SubpixelRendering, | 103 IPC_ENUM_TRAITS_MAX_VALUE(gfx::FontRenderParams::SubpixelRendering, |
105 gfx::FontRenderParams::SUBPIXEL_RENDERING_MAX) | 104 gfx::FontRenderParams::SUBPIXEL_RENDERING_MAX) |
106 IPC_ENUM_TRAITS_MAX_VALUE(content::ScreenOrientationValues, | 105 IPC_ENUM_TRAITS_MAX_VALUE(content::ScreenOrientationValues, |
107 content::SCREEN_ORIENTATION_VALUES_LAST) | 106 content::SCREEN_ORIENTATION_VALUES_LAST) |
108 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, | 107 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, |
109 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) | 108 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) |
110 IPC_ENUM_TRAITS_MAX_VALUE(content::ThreeDAPIType, | 109 IPC_ENUM_TRAITS_MAX_VALUE(content::ThreeDAPIType, |
111 content::THREE_D_API_TYPE_LAST) | 110 content::THREE_D_API_TYPE_LAST) |
112 IPC_ENUM_TRAITS_MAX_VALUE(media::MediaLogEvent::Type, | |
113 media::MediaLogEvent::TYPE_LAST) | |
114 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) | 111 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) |
115 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputType, ui::TEXT_INPUT_TYPE_MAX) | 112 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputType, ui::TEXT_INPUT_TYPE_MAX) |
116 | 113 |
117 #if defined(OS_MACOSX) | 114 #if defined(OS_MACOSX) |
118 IPC_ENUM_TRAITS_MAX_VALUE( | 115 IPC_ENUM_TRAITS_MAX_VALUE( |
119 blink::WebScrollbarButtonsPlacement, | 116 blink::WebScrollbarButtonsPlacement, |
120 blink::WebScrollbarButtonsPlacement::kWebScrollbarButtonsPlacementLast) | 117 blink::WebScrollbarButtonsPlacement::kWebScrollbarButtonsPlacementLast) |
121 | 118 |
122 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::kScrollerStyleOverlay) | 119 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::kScrollerStyleOverlay) |
123 #endif | 120 #endif |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name) | 248 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name) |
252 IPC_STRUCT_TRAITS_MEMBER(message_font_height) | 249 IPC_STRUCT_TRAITS_MEMBER(message_font_height) |
253 IPC_STRUCT_TRAITS_MEMBER(vertical_scroll_bar_width_in_dips) | 250 IPC_STRUCT_TRAITS_MEMBER(vertical_scroll_bar_width_in_dips) |
254 IPC_STRUCT_TRAITS_MEMBER(horizontal_scroll_bar_height_in_dips) | 251 IPC_STRUCT_TRAITS_MEMBER(horizontal_scroll_bar_height_in_dips) |
255 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_height_vertical_scroll_bar_in_dips) | 252 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_height_vertical_scroll_bar_in_dips) |
256 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_width_horizontal_scroll_bar_in_dips) | 253 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_width_horizontal_scroll_bar_in_dips) |
257 #endif | 254 #endif |
258 IPC_STRUCT_TRAITS_MEMBER(default_font_size) | 255 IPC_STRUCT_TRAITS_MEMBER(default_font_size) |
259 IPC_STRUCT_TRAITS_END() | 256 IPC_STRUCT_TRAITS_END() |
260 | 257 |
261 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent) | |
262 IPC_STRUCT_TRAITS_MEMBER(id) | |
263 IPC_STRUCT_TRAITS_MEMBER(type) | |
264 IPC_STRUCT_TRAITS_MEMBER(params) | |
265 IPC_STRUCT_TRAITS_MEMBER(time) | |
266 IPC_STRUCT_TRAITS_END() | |
267 | |
268 IPC_STRUCT_TRAITS_BEGIN(content::TextInputState) | 258 IPC_STRUCT_TRAITS_BEGIN(content::TextInputState) |
269 IPC_STRUCT_TRAITS_MEMBER(type) | 259 IPC_STRUCT_TRAITS_MEMBER(type) |
270 IPC_STRUCT_TRAITS_MEMBER(mode) | 260 IPC_STRUCT_TRAITS_MEMBER(mode) |
271 IPC_STRUCT_TRAITS_MEMBER(flags) | 261 IPC_STRUCT_TRAITS_MEMBER(flags) |
272 IPC_STRUCT_TRAITS_MEMBER(value) | 262 IPC_STRUCT_TRAITS_MEMBER(value) |
273 IPC_STRUCT_TRAITS_MEMBER(selection_start) | 263 IPC_STRUCT_TRAITS_MEMBER(selection_start) |
274 IPC_STRUCT_TRAITS_MEMBER(selection_end) | 264 IPC_STRUCT_TRAITS_MEMBER(selection_end) |
275 IPC_STRUCT_TRAITS_MEMBER(composition_start) | 265 IPC_STRUCT_TRAITS_MEMBER(composition_start) |
276 IPC_STRUCT_TRAITS_MEMBER(composition_end) | 266 IPC_STRUCT_TRAITS_MEMBER(composition_end) |
277 IPC_STRUCT_TRAITS_MEMBER(can_compose_inline) | 267 IPC_STRUCT_TRAITS_MEMBER(can_compose_inline) |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 int /* y */) | 872 int /* y */) |
883 | 873 |
884 #elif defined(OS_MACOSX) | 874 #elif defined(OS_MACOSX) |
885 // Receives content of a web page as plain text. | 875 // Receives content of a web page as plain text. |
886 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 876 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
887 #endif | 877 #endif |
888 | 878 |
889 // Adding a new message? Stick to the sort order above: first platform | 879 // Adding a new message? Stick to the sort order above: first platform |
890 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 880 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
891 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 881 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |