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

Side by Side Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h

Issue 2893823004: [Payments] Implement openWindow for service worker based payment handler (Closed)
Patch Set: correct file changes 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 public: 51 public:
52 static ServiceWorkerGlobalScopeClient* Create(WebServiceWorkerContextClient&); 52 static ServiceWorkerGlobalScopeClient* Create(WebServiceWorkerContextClient&);
53 ~ServiceWorkerGlobalScopeClientImpl() override; 53 ~ServiceWorkerGlobalScopeClientImpl() override;
54 54
55 void GetClient(const WebString&, 55 void GetClient(const WebString&,
56 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; 56 std::unique_ptr<WebServiceWorkerClientCallbacks>) override;
57 void GetClients(const WebServiceWorkerClientQueryOptions&, 57 void GetClients(const WebServiceWorkerClientQueryOptions&,
58 std::unique_ptr<WebServiceWorkerClientsCallbacks>) override; 58 std::unique_ptr<WebServiceWorkerClientsCallbacks>) override;
59 void OpenWindow(const WebURL&, 59 void OpenWindow(const WebURL&,
60 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; 60 std::unique_ptr<WebServiceWorkerClientCallbacks>) override;
61 void OpenWindowForPaymentHandle(
62 const WebURL& redirect_url,
63 const WebURL& url_to_open,
64 std::unique_ptr<WebServiceWorkerClientCallbacks>) override;
61 void SetCachedMetadata(const WebURL&, const char*, size_t) override; 65 void SetCachedMetadata(const WebURL&, const char*, size_t) override;
62 void ClearCachedMetadata(const WebURL&) override; 66 void ClearCachedMetadata(const WebURL&) override;
63 67
64 WebURL Scope() const override; 68 WebURL Scope() const override;
65 69
66 void DidHandleActivateEvent(int event_id, 70 void DidHandleActivateEvent(int event_id,
67 WebServiceWorkerEventResult, 71 WebServiceWorkerEventResult,
68 double event_dispatch_time) override; 72 double event_dispatch_time) override;
69 void DidHandleBackgroundFetchAbortEvent(int event_id, 73 void DidHandleBackgroundFetchAbortEvent(int event_id,
70 WebServiceWorkerEventResult, 74 WebServiceWorkerEventResult,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 140
137 private: 141 private:
138 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); 142 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&);
139 143
140 WebServiceWorkerContextClient& client_; 144 WebServiceWorkerContextClient& client_;
141 }; 145 };
142 146
143 } // namespace blink 147 } // namespace blink
144 148
145 #endif // ServiceWorkerGlobalScopeClientImpl_h 149 #endif // ServiceWorkerGlobalScopeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698