OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
271 // Ask the browser to open a tab/window (renderer->browser). | 271 // Ask the browser to open a tab/window (renderer->browser). |
272 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindow, | 272 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindow, |
273 int /* request_id */, | 273 int /* request_id */, |
274 GURL /* url */) | 274 GURL /* url */) |
275 | 275 |
276 // Ask the browser to focus a client (renderer->browser). | 276 // Ask the browser to focus a client (renderer->browser). |
277 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient, | 277 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient, |
278 int /* request_id */, | 278 int /* request_id */, |
279 std::string /* uuid */) | 279 std::string /* uuid */) |
280 | 280 |
281 // Ask the browser to navigate a client (renderer->browser). | |
282 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient, | |
283 int /* request_id */, | |
284 std::string /* uuid */, | |
285 GURL /* url */) | |
286 | |
281 // Asks the browser to force this worker to become activated. | 287 // Asks the browser to force this worker to become activated. |
282 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, | 288 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, |
283 int /* request_id */) | 289 int /* request_id */) |
284 | 290 |
285 // Asks the browser to have this worker take control of pages that match | 291 // Asks the browser to have this worker take control of pages that match |
286 // its scope. | 292 // its scope. |
287 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, | 293 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, |
288 int /* request_id */) | 294 int /* request_id */) |
289 | 295 |
290 // Asks the browser to stash a message port, giving it a name. | 296 // Asks the browser to stash a message port, giving it a name. |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
478 // Sent via EmbeddedWorker as an error response of OpenWindow. | 484 // Sent via EmbeddedWorker as an error response of OpenWindow. |
479 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError, | 485 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError, |
480 int /* request_id */, | 486 int /* request_id */, |
481 std::string /* message */ ) | 487 std::string /* message */ ) |
482 | 488 |
483 // Sent via EmbeddedWorker as a response of FocusClient. | 489 // Sent via EmbeddedWorker as a response of FocusClient. |
484 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 490 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
485 int /* request_id */, | 491 int /* request_id */, |
486 content::ServiceWorkerClientInfo /* client */) | 492 content::ServiceWorkerClientInfo /* client */) |
487 | 493 |
494 // Sent via EmbeddedWorker as a response of NavigateClient. | |
495 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | |
496 int /* request_id */, | |
497 content::ServiceWorkerClientInfo /* client */) | |
498 | |
499 // Sent via EmbeddedWorker as an error response of NavigateClient. | |
500 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | |
501 int /* request_id */, | |
502 std::string /* message */ ) | |
nhiroki
2015/07/15 06:43:14
nit: There is an extra whitespace after "/* messag
| |
503 | |
488 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 504 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
489 IPC_MESSAGE_CONTROL3( | 505 IPC_MESSAGE_CONTROL3( |
490 ServiceWorkerMsg_SendStashedMessagePorts, | 506 ServiceWorkerMsg_SendStashedMessagePorts, |
491 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 507 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
492 std::vector<int> /* new_routing_ids */, | 508 std::vector<int> /* new_routing_ids */, |
493 std::vector<base::string16> /* port_names */) | 509 std::vector<base::string16> /* port_names */) |
OLD | NEW |