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

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

Issue 1202453002: ServiceWorker: Implement navigate() method in WindowClient (chromium side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 <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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // Ask the browser to open a tab/window (renderer->browser). 265 // Ask the browser to open a tab/window (renderer->browser).
266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindow, 266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindow,
267 int /* request_id */, 267 int /* request_id */,
268 GURL /* url */) 268 GURL /* url */)
269 269
270 // Ask the browser to focus a client (renderer->browser). 270 // Ask the browser to focus a client (renderer->browser).
271 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient, 271 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient,
272 int /* request_id */, 272 int /* request_id */,
273 std::string /* uuid */) 273 std::string /* uuid */)
274 274
275 // Ask the browser to navigate a client (renderer->browser).
276 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient,
277 int /* request_id */,
278 std::string /* uuid */,
279 GURL /* url */)
280
275 // Asks the browser to force this worker to become activated. 281 // Asks the browser to force this worker to become activated.
276 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, 282 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting,
277 int /* request_id */) 283 int /* request_id */)
278 284
279 // Asks the browser to have this worker take control of pages that match 285 // Asks the browser to have this worker take control of pages that match
280 // its scope. 286 // its scope.
281 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, 287 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients,
282 int /* request_id */) 288 int /* request_id */)
283 289
284 //--------------------------------------------------------------------------- 290 //---------------------------------------------------------------------------
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 467
462 // Sent via EmbeddedWorker as an error response of OpenWindow. 468 // Sent via EmbeddedWorker as an error response of OpenWindow.
463 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError, 469 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError,
464 int /* request_id */, 470 int /* request_id */,
465 std::string /* message */ ) 471 std::string /* message */ )
466 472
467 // Sent via EmbeddedWorker as a response of FocusClient. 473 // Sent via EmbeddedWorker as a response of FocusClient.
468 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, 474 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
469 int /* request_id */, 475 int /* request_id */,
470 content::ServiceWorkerClientInfo /* client */) 476 content::ServiceWorkerClientInfo /* client */)
477
478 // Sent via EmbeddedWorker as a response of NavigateClient.
479 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
480 int /* request_id */,
481 content::ServiceWorkerClientInfo /* client */)
482
483 // Sent via EmbeddedWorker as an error response of NavigateClient.
484 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
485 int /* request_id */,
486 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698