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" |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) | 384 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
385 // URL for the worker script. | 385 // URL for the worker script. |
386 IPC_STRUCT_MEMBER(GURL, url) | 386 IPC_STRUCT_MEMBER(GURL, url) |
387 | 387 |
388 // Name for a SharedWorker, otherwise empty string. | 388 // Name for a SharedWorker, otherwise empty string. |
389 IPC_STRUCT_MEMBER(base::string16, name) | 389 IPC_STRUCT_MEMBER(base::string16, name) |
390 | 390 |
391 // The ID of the parent document (unique within parent renderer). | 391 // The ID of the parent document (unique within parent renderer). |
392 IPC_STRUCT_MEMBER(unsigned long long, document_id) | 392 IPC_STRUCT_MEMBER(unsigned long long, document_id) |
393 | 393 |
394 // RenderView routing id. | |
395 IPC_STRUCT_MEMBER(int, render_view_route_id) | |
396 | |
397 // RenderFrame routing id used to send messages back to the parent. | 394 // RenderFrame routing id used to send messages back to the parent. |
398 IPC_STRUCT_MEMBER(int, render_frame_route_id) | 395 IPC_STRUCT_MEMBER(int, render_frame_route_id) |
399 | 396 |
400 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, | 397 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, |
401 // a new unique ID is created and assigned to the worker. | 398 // a new unique ID is created and assigned to the worker. |
402 IPC_STRUCT_MEMBER(int, route_id) | 399 IPC_STRUCT_MEMBER(int, route_id) |
403 | 400 |
404 // The ID of the appcache the main shared worker script resource was loaded | 401 // The ID of the appcache the main shared worker script resource was loaded |
405 // from, only valid for shared workers. | 402 // from, only valid for shared workers. |
406 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) | 403 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) |
(...skipping 1955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2362 // synchronously (see crbug.com/120597). This IPC message sends the character | 2359 // synchronously (see crbug.com/120597). This IPC message sends the character |
2363 // bounds after every composition change to always have correct bound info. | 2360 // bounds after every composition change to always have correct bound info. |
2364 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2361 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2365 gfx::Range /* composition range */, | 2362 gfx::Range /* composition range */, |
2366 std::vector<gfx::Rect> /* character bounds */) | 2363 std::vector<gfx::Rect> /* character bounds */) |
2367 #endif | 2364 #endif |
2368 | 2365 |
2369 // Adding a new message? Stick to the sort order above: first platform | 2366 // Adding a new message? Stick to the sort order above: first platform |
2370 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2367 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2371 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2368 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |