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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 | 307 |
308 // RenderFrame routing id used to send messages back to the parent. | 308 // RenderFrame routing id used to send messages back to the parent. |
309 IPC_STRUCT_MEMBER(int, render_frame_route_id) | 309 IPC_STRUCT_MEMBER(int, render_frame_route_id) |
310 | 310 |
311 // Address space of the context that created the worker. | 311 // Address space of the context that created the worker. |
312 IPC_STRUCT_MEMBER(blink::WebAddressSpace, creation_address_space) | 312 IPC_STRUCT_MEMBER(blink::WebAddressSpace, creation_address_space) |
313 | 313 |
314 // The type (secure or nonsecure) of the context that created the worker. | 314 // The type (secure or nonsecure) of the context that created the worker. |
315 IPC_STRUCT_MEMBER(blink::WebSharedWorkerCreationContextType, | 315 IPC_STRUCT_MEMBER(blink::WebSharedWorkerCreationContextType, |
316 creation_context_type) | 316 creation_context_type) |
| 317 |
| 318 // Whether Data-Saver is enabled or not. |
| 319 IPC_STRUCT_MEMBER(bool, data_saver_enabled) |
317 IPC_STRUCT_END() | 320 IPC_STRUCT_END() |
318 | 321 |
319 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Reply) | 322 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Reply) |
320 // The route id for the created worker. | 323 // The route id for the created worker. |
321 IPC_STRUCT_MEMBER(int, route_id) | 324 IPC_STRUCT_MEMBER(int, route_id) |
322 | 325 |
323 // The error that occurred, if the browser failed to create the | 326 // The error that occurred, if the browser failed to create the |
324 // worker. | 327 // worker. |
325 IPC_STRUCT_MEMBER(blink::WebWorkerCreationError, error) | 328 IPC_STRUCT_MEMBER(blink::WebWorkerCreationError, error) |
326 IPC_STRUCT_END() | 329 IPC_STRUCT_END() |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 int /* y */) | 887 int /* y */) |
885 | 888 |
886 #elif defined(OS_MACOSX) | 889 #elif defined(OS_MACOSX) |
887 // Receives content of a web page as plain text. | 890 // Receives content of a web page as plain text. |
888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 891 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
889 #endif | 892 #endif |
890 | 893 |
891 // Adding a new message? Stick to the sort order above: first platform | 894 // Adding a new message? Stick to the sort order above: first platform |
892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 895 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 896 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |