| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual ~ServiceWorkerGlobalScopeProxy(); | 68 virtual ~ServiceWorkerGlobalScopeProxy(); |
| 69 | 69 |
| 70 // WebServiceWorkerContextProxy overrides: | 70 // WebServiceWorkerContextProxy overrides: |
| 71 virtual void setRegistration(WebServiceWorkerRegistration*) override; | 71 virtual void setRegistration(WebServiceWorkerRegistration*) override; |
| 72 virtual void dispatchActivateEvent(int) override; | 72 virtual void dispatchActivateEvent(int) override; |
| 73 virtual void dispatchCrossOriginConnectEvent(int, const WebCrossOriginServic
eWorkerClient&) override; | 73 virtual void dispatchCrossOriginConnectEvent(int, const WebCrossOriginServic
eWorkerClient&) override; |
| 74 virtual void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWork
erClient&, const WebString& message, const WebMessagePortChannelArray&) override
; | 74 virtual void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWork
erClient&, const WebString& message, const WebMessagePortChannelArray&) override
; |
| 75 virtual void dispatchFetchEvent(int, const WebServiceWorkerRequest&) overrid
e; | 75 virtual void dispatchFetchEvent(int, const WebServiceWorkerRequest&) overrid
e; |
| 76 virtual void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebS
tring& regionID, const WebCircularGeofencingRegion&) override; | 76 virtual void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebS
tring& regionID, const WebCircularGeofencingRegion&) override; |
| 77 virtual void dispatchInstallEvent(int) override; | 77 virtual void dispatchInstallEvent(int) override; |
| 78 virtual void dispatchMessageEvent(const WebString& message, const WebMessage
PortChannelArray&) override; | 78 virtual void dispatchMessageEvent(int, const WebServiceWorkerClientInfo&, co
nst WebString& message, const WebMessagePortChannelArray&) override; |
| 79 virtual void dispatchMessageEvent(int, WebServiceWorker*, const WebString& m
essage, const WebMessagePortChannelArray&) override; |
| 79 virtual void dispatchNotificationClickEvent(int, int64_t notificationID, con
st WebNotificationData&) override; | 80 virtual void dispatchNotificationClickEvent(int, int64_t notificationID, con
st WebNotificationData&) override; |
| 80 virtual void dispatchPushEvent(int, const WebString& data) override; | 81 virtual void dispatchPushEvent(int, const WebString& data) override; |
| 81 virtual void dispatchSyncEvent(int) override; | 82 virtual void dispatchSyncEvent(int) override; |
| 82 virtual void addStashedMessagePorts(const WebMessagePortChannelArray&, const
WebVector<WebString>& webChannelNames) override; | 83 virtual void addStashedMessagePorts(const WebMessagePortChannelArray&, const
WebVector<WebString>& webChannelNames) override; |
| 83 | 84 |
| 84 // WorkerReportingProxy overrides: | 85 // WorkerReportingProxy overrides: |
| 85 virtual void reportException(const String& errorMessage, int lineNumber, int
columnNumber, const String& sourceURL, int exceptionId) override; | 86 virtual void reportException(const String& errorMessage, int lineNumber, int
columnNumber, const String& sourceURL, int exceptionId) override; |
| 86 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov
erride; | 87 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov
erride; |
| 87 virtual void postMessageToPageInspector(const String&) override; | 88 virtual void postMessageToPageInspector(const String&) override; |
| 88 virtual void postWorkerConsoleAgentEnabled() override { } | 89 virtual void postWorkerConsoleAgentEnabled() override { } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 99 Document& m_document; | 100 Document& m_document; |
| 100 | 101 |
| 101 WebServiceWorkerContextClient& m_client; | 102 WebServiceWorkerContextClient& m_client; |
| 102 | 103 |
| 103 ServiceWorkerGlobalScope* m_workerGlobalScope; | 104 ServiceWorkerGlobalScope* m_workerGlobalScope; |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 } // namespace blink | 107 } // namespace blink |
| 107 | 108 |
| 108 #endif // ServiceWorkerGlobalScopeProxy_h | 109 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |