Index: content/browser/service_worker/service_worker_version.h |
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h |
index 917fe64bf6a7e3eb4836136bace13309dd57bb6c..be7a20773b902eaec4c53b6cca327aa21ee5305b 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -41,6 +41,7 @@ |
#include "mojo/public/cpp/bindings/interface_ptr.h" |
#include "services/service_manager/public/cpp/interface_provider.h" |
#include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerEventResult.h" |
+#include "ui/base/mojo/window_open_disposition.mojom.h" |
#include "url/gurl.h" |
#include "url/origin.h" |
@@ -584,7 +585,15 @@ class CONTENT_EXPORT ServiceWorkerVersion |
void OnGetClients(int request_id, |
const ServiceWorkerClientQueryOptions& options); |
- void OnOpenWindow(int request_id, GURL url); |
+ // Currently used for Clients.openWindow() only. |
+ void OnOpenNewTab(int request_id, const GURL& url); |
+ |
+ // Currently used for PaymentRequestEvent.openWindow() only. |
+ void OnOpenNewPopup(int request_id, const GURL& url); |
+ |
+ void OnOpenWindow(int request_id, |
+ GURL url, |
+ WindowOpenDisposition disposition); |
void OnOpenWindowFinished(int request_id, |
ServiceWorkerStatusCode status, |
const ServiceWorkerClientInfo& client_info); |