Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Side by Side Diff: content/common/service_worker/service_worker_messages.h

Issue 2893823004: [Payments] Implement openWindow for service worker based payment handler (Closed)
Patch Set: address comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
275 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindow, 275 // clients.openWindow.
276 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindowForClients,
276 int /* request_id */, 277 int /* request_id */,
277 GURL /* url */) 278 GURL /* url */)
278 279
280 // Ask the browser to open a tab/window (renderer->browser) for payment handler,
281 // i.e., PaymentRequestEvent.openWindow().
282 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindowForPaymentHandler,
283 int /* request_id */,
284 GURL /* url */)
285
279 // Ask the browser to focus a client (renderer->browser). 286 // Ask the browser to focus a client (renderer->browser).
280 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient, 287 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient,
281 int /* request_id */, 288 int /* request_id */,
282 std::string /* uuid */) 289 std::string /* uuid */)
283 290
284 // Ask the browser to navigate a client (renderer->browser). 291 // Ask the browser to navigate a client (renderer->browser).
285 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient, 292 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient,
286 int /* request_id */, 293 int /* request_id */,
287 std::string /* uuid */, 294 std::string /* uuid */,
288 GURL /* url */) 295 GURL /* url */)
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 511
505 // Sent via EmbeddedWorker as a response of NavigateClient. 512 // Sent via EmbeddedWorker as a response of NavigateClient.
506 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 513 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
507 int /* request_id */, 514 int /* request_id */,
508 content::ServiceWorkerClientInfo /* client */) 515 content::ServiceWorkerClientInfo /* client */)
509 516
510 // Sent via EmbeddedWorker as an error response of NavigateClient. 517 // Sent via EmbeddedWorker as an error response of NavigateClient.
511 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 518 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
512 int /* request_id */, 519 int /* request_id */,
513 GURL /* url */) 520 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698