| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 : public WebServiceWorkerContextProxy | 64 : public WebServiceWorkerContextProxy |
| 65 , public WorkerReportingProxy { | 65 , public WorkerReportingProxy { |
| 66 WTF_MAKE_NONCOPYABLE(ServiceWorkerGlobalScopeProxy); | 66 WTF_MAKE_NONCOPYABLE(ServiceWorkerGlobalScopeProxy); |
| 67 public: | 67 public: |
| 68 static PassOwnPtr<ServiceWorkerGlobalScopeProxy> create(WebEmbeddedWorkerImp
l&, Document&, WebServiceWorkerContextClient&); | 68 static PassOwnPtr<ServiceWorkerGlobalScopeProxy> create(WebEmbeddedWorkerImp
l&, Document&, WebServiceWorkerContextClient&); |
| 69 ~ServiceWorkerGlobalScopeProxy() override; | 69 ~ServiceWorkerGlobalScopeProxy() override; |
| 70 | 70 |
| 71 // WebServiceWorkerContextProxy overrides: | 71 // WebServiceWorkerContextProxy overrides: |
| 72 void setRegistration(WebServiceWorkerRegistration*) override; | 72 void setRegistration(WebServiceWorkerRegistration*) override; |
| 73 void dispatchActivateEvent(int) override; | 73 void dispatchActivateEvent(int) override; |
| 74 void dispatchCrossOriginConnectEvent(int, const WebCrossOriginServiceWorkerC
lient&) override; | |
| 75 void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWorkerClient
&, const WebString& message, const WebMessagePortChannelArray&) override; | 74 void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWorkerClient
&, const WebString& message, const WebMessagePortChannelArray&) override; |
| 76 void dispatchFetchEvent(int, const WebServiceWorkerRequest&) override; | 75 void dispatchFetchEvent(int, const WebServiceWorkerRequest&) override; |
| 77 void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebString& r
egionID, const WebCircularGeofencingRegion&) override; | 76 void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebString& r
egionID, const WebCircularGeofencingRegion&) override; |
| 78 void dispatchInstallEvent(int) override; | 77 void dispatchInstallEvent(int) override; |
| 79 void dispatchMessageEvent(const WebString& message, const WebMessagePortChan
nelArray&) override; | 78 void dispatchMessageEvent(const WebString& message, const WebMessagePortChan
nelArray&) override; |
| 80 void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNo
tificationData&) override; | 79 void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNo
tificationData&) override; |
| 81 void dispatchPushEvent(int, const WebString& data) override; | 80 void dispatchPushEvent(int, const WebString& data) override; |
| 82 void dispatchServicePortConnectEvent(WebServicePortConnectEventCallbacks*, c
onst WebURL& targetURL, const WebString& origin, WebServicePortID) override; | 81 void dispatchServicePortConnectEvent(WebServicePortConnectEventCallbacks*, c
onst WebURL& targetURL, const WebString& origin, WebServicePortID) override; |
| 83 // TODO(iclelland): Remove the single-parameter version once all call sites | 82 // TODO(iclelland): Remove the single-parameter version once all call sites |
| 84 // have been updated. | 83 // have been updated. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 104 Document& m_document; | 103 Document& m_document; |
| 105 | 104 |
| 106 WebServiceWorkerContextClient& m_client; | 105 WebServiceWorkerContextClient& m_client; |
| 107 | 106 |
| 108 ServiceWorkerGlobalScope* m_workerGlobalScope; | 107 ServiceWorkerGlobalScope* m_workerGlobalScope; |
| 109 }; | 108 }; |
| 110 | 109 |
| 111 } // namespace blink | 110 } // namespace blink |
| 112 | 111 |
| 113 #endif // ServiceWorkerGlobalScopeProxy_h | 112 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |