Chromium Code Reviews| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 // ServiceWorker -> Browser message to request that the ServiceWorkerStorage | 264 // ServiceWorker -> Browser message to request that the ServiceWorkerStorage |
| 265 // cache |data| associated with |url|. | 265 // cache |data| associated with |url|. |
| 266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SetCachedMetadata, | 266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SetCachedMetadata, |
| 267 GURL /* url */, | 267 GURL /* url */, |
| 268 std::vector<char> /* data */) | 268 std::vector<char> /* data */) |
| 269 | 269 |
| 270 // ServiceWorker -> Browser message to request that the ServiceWorkerStorage | 270 // ServiceWorker -> Browser message to request that the ServiceWorkerStorage |
| 271 // clear the cache associated with |url|. | 271 // clear the cache associated with |url|. |
| 272 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClearCachedMetadata, GURL /* url */) | 272 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClearCachedMetadata, GURL /* url */) |
| 273 | 273 |
| 274 // Ask the browser to open a tab/window (renderer->browser). | 274 // Ask the browser to open a tab/window (renderer->browser) for clients. |
|
please use gerrit instead
2017/06/02 03:43:17
... for clients.openWindow().
gogerald1
2017/06/02 13:21:40
Done.
| |
| 275 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindow, | 275 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindowForClients, |
| 276 int /* request_id */, | 276 int /* request_id */, |
| 277 GURL /* url */) | 277 GURL /* url */) |
| 278 | 278 |
| 279 // Ask the browser to open a tab/window (renderer->browser) for payment handler. | |
|
please use gerrit instead
2017/06/02 03:43:17
... for payment handler, i.e., PaymentRequestEvent
gogerald1
2017/06/02 13:21:40
Done.
| |
| 280 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindowForPaymentHandler, | |
| 281 int /* request_id */, | |
| 282 GURL /* url */) | |
| 283 | |
| 279 // Ask the browser to focus a client (renderer->browser). | 284 // Ask the browser to focus a client (renderer->browser). |
| 280 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient, | 285 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient, |
| 281 int /* request_id */, | 286 int /* request_id */, |
| 282 std::string /* uuid */) | 287 std::string /* uuid */) |
| 283 | 288 |
| 284 // Ask the browser to navigate a client (renderer->browser). | 289 // Ask the browser to navigate a client (renderer->browser). |
| 285 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient, | 290 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient, |
| 286 int /* request_id */, | 291 int /* request_id */, |
| 287 std::string /* uuid */, | 292 std::string /* uuid */, |
| 288 GURL /* url */) | 293 GURL /* url */) |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 504 | 509 |
| 505 // Sent via EmbeddedWorker as a response of NavigateClient. | 510 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 506 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 511 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 507 int /* request_id */, | 512 int /* request_id */, |
| 508 content::ServiceWorkerClientInfo /* client */) | 513 content::ServiceWorkerClientInfo /* client */) |
| 509 | 514 |
| 510 // Sent via EmbeddedWorker as an error response of NavigateClient. | 515 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 511 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 516 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 512 int /* request_id */, | 517 int /* request_id */, |
| 513 GURL /* url */) | 518 GURL /* url */) |
| OLD | NEW |