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 29 matching lines...) Expand all Loading... |
40 #include "media/base/channel_layout.h" | 40 #include "media/base/channel_layout.h" |
41 #include "media/base/ipc/media_param_traits.h" | 41 #include "media/base/ipc/media_param_traits.h" |
42 #include "media/base/media_log_event.h" | 42 #include "media/base/media_log_event.h" |
43 #include "media/capture/ipc/capture_param_traits.h" | 43 #include "media/capture/ipc/capture_param_traits.h" |
44 #include "net/base/network_change_notifier.h" | 44 #include "net/base/network_change_notifier.h" |
45 #include "ppapi/features/features.h" | 45 #include "ppapi/features/features.h" |
46 #include "third_party/WebKit/public/platform/WebDisplayMode.h" | 46 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
47 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 47 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
48 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 48 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
49 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" | 49 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" |
| 50 #include "third_party/WebKit/public/web/WebDataSaverFlag.h" |
50 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" | 51 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" |
51 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" | 52 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" |
52 #include "third_party/WebKit/public/web/WebPluginAction.h" | 53 #include "third_party/WebKit/public/web/WebPluginAction.h" |
53 #include "third_party/WebKit/public/web/WebPopupType.h" | 54 #include "third_party/WebKit/public/web/WebPopupType.h" |
54 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" | 55 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" |
55 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" | 56 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" |
56 #include "third_party/WebKit/public/web/WebTextDirection.h" | 57 #include "third_party/WebKit/public/web/WebTextDirection.h" |
57 #include "ui/base/ime/text_input_mode.h" | 58 #include "ui/base/ime/text_input_mode.h" |
58 #include "ui/base/ime/text_input_type.h" | 59 #include "ui/base/ime/text_input_type.h" |
59 #include "ui/base/ui_base_types.h" | 60 #include "ui/base/ui_base_types.h" |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 | 308 |
308 // RenderFrame routing id used to send messages back to the parent. | 309 // RenderFrame routing id used to send messages back to the parent. |
309 IPC_STRUCT_MEMBER(int, render_frame_route_id) | 310 IPC_STRUCT_MEMBER(int, render_frame_route_id) |
310 | 311 |
311 // Address space of the context that created the worker. | 312 // Address space of the context that created the worker. |
312 IPC_STRUCT_MEMBER(blink::WebAddressSpace, creation_address_space) | 313 IPC_STRUCT_MEMBER(blink::WebAddressSpace, creation_address_space) |
313 | 314 |
314 // The type (secure or nonsecure) of the context that created the worker. | 315 // The type (secure or nonsecure) of the context that created the worker. |
315 IPC_STRUCT_MEMBER(blink::WebSharedWorkerCreationContextType, | 316 IPC_STRUCT_MEMBER(blink::WebSharedWorkerCreationContextType, |
316 creation_context_type) | 317 creation_context_type) |
| 318 |
| 319 // Whether Data-Saver is enabled or not. |
| 320 IPC_STRUCT_MEMBER(blink::WebDataSaverFlag, data_saver_flag) |
317 IPC_STRUCT_END() | 321 IPC_STRUCT_END() |
318 | 322 |
319 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Reply) | 323 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Reply) |
320 // The route id for the created worker. | 324 // The route id for the created worker. |
321 IPC_STRUCT_MEMBER(int, route_id) | 325 IPC_STRUCT_MEMBER(int, route_id) |
322 | 326 |
323 // The error that occurred, if the browser failed to create the | 327 // The error that occurred, if the browser failed to create the |
324 // worker. | 328 // worker. |
325 IPC_STRUCT_MEMBER(blink::WebWorkerCreationError, error) | 329 IPC_STRUCT_MEMBER(blink::WebWorkerCreationError, error) |
326 IPC_STRUCT_END() | 330 IPC_STRUCT_END() |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 int /* y */) | 881 int /* y */) |
878 | 882 |
879 #elif defined(OS_MACOSX) | 883 #elif defined(OS_MACOSX) |
880 // Receives content of a web page as plain text. | 884 // Receives content of a web page as plain text. |
881 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 885 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
882 #endif | 886 #endif |
883 | 887 |
884 // Adding a new message? Stick to the sort order above: first platform | 888 // Adding a new message? Stick to the sort order above: first platform |
885 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 889 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
886 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 890 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |