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

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: 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 /* 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerGlobalScopeClientImpl); 49 USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerGlobalScopeClientImpl);
50 50
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& redirect_url,
60 const WebURL&,
please use gerrit instead 2017/05/25 17:56:13 url_to_open
gogerald1 2017/05/29 22:13:16 Done.
60 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; 61 std::unique_ptr<WebServiceWorkerClientCallbacks>) override;
61 void SetCachedMetadata(const WebURL&, const char*, size_t) override; 62 void SetCachedMetadata(const WebURL&, const char*, size_t) override;
62 void ClearCachedMetadata(const WebURL&) override; 63 void ClearCachedMetadata(const WebURL&) override;
63 64
64 WebURL Scope() const override; 65 WebURL Scope() const override;
65 66
66 void DidHandleActivateEvent(int event_id, 67 void DidHandleActivateEvent(int event_id,
67 WebServiceWorkerEventResult, 68 WebServiceWorkerEventResult,
68 double event_dispatch_time) override; 69 double event_dispatch_time) override;
69 void DidHandleBackgroundFetchAbortEvent(int event_id, 70 void DidHandleBackgroundFetchAbortEvent(int event_id,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 137
137 private: 138 private:
138 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); 139 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&);
139 140
140 WebServiceWorkerContextClient& client_; 141 WebServiceWorkerContextClient& client_;
141 }; 142 };
142 143
143 } // namespace blink 144 } // namespace blink
144 145
145 #endif // ServiceWorkerGlobalScopeClientImpl_h 146 #endif // ServiceWorkerGlobalScopeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698