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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void dispatchExtendableMessageEvent(int eventID, const WebString& message, c
onst WebSecurityOrigin& sourceOrigin, const WebMessagePortChannelArray&, std::un
ique_ptr<WebServiceWorker::Handle>) override; | 76 void dispatchExtendableMessageEvent(int eventID, const WebString& message, c
onst WebSecurityOrigin& sourceOrigin, const WebMessagePortChannelArray&, std::un
ique_ptr<WebServiceWorker::Handle>) override; |
77 void dispatchFetchEvent(int, const WebServiceWorkerRequest&) override; | 77 void dispatchFetchEvent(int, const WebServiceWorkerRequest&) override; |
78 void dispatchForeignFetchEvent(int, const WebServiceWorkerRequest&) override
; | 78 void dispatchForeignFetchEvent(int, const WebServiceWorkerRequest&) override
; |
79 void dispatchInstallEvent(int) override; | 79 void dispatchInstallEvent(int) override; |
80 void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNo
tificationData&, int actionIndex) override; | 80 void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNo
tificationData&, int actionIndex) override; |
81 void dispatchNotificationCloseEvent(int, int64_t notificationID, const WebNo
tificationData&) override; | 81 void dispatchNotificationCloseEvent(int, int64_t notificationID, const WebNo
tificationData&) override; |
82 void dispatchPushEvent(int, const WebString& data) override; | 82 void dispatchPushEvent(int, const WebString& data) override; |
83 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override
; | 83 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override
; |
84 | 84 |
85 // WorkerReportingProxy overrides: | 85 // WorkerReportingProxy overrides: |
86 void reportException(const String& errorMessage, int lineNumber, int columnN
umber, const String& sourceURL, int exceptionId) override; | 86 void reportException(const String& errorMessage, PassOwnPtr<SourceLocation>)
override; |
87 void reportConsoleMessage(ConsoleMessage*) override; | 87 void reportConsoleMessage(ConsoleMessage*) override; |
88 void postMessageToPageInspector(const String&) override; | 88 void postMessageToPageInspector(const String&) override; |
89 void postWorkerConsoleAgentEnabled() override { } | 89 void postWorkerConsoleAgentEnabled() override { } |
90 void didEvaluateWorkerScript(bool success) override; | 90 void didEvaluateWorkerScript(bool success) override; |
91 void didInitializeWorkerContext() override; | 91 void didInitializeWorkerContext() override; |
92 void workerGlobalScopeStarted(WorkerGlobalScope*) override; | 92 void workerGlobalScopeStarted(WorkerGlobalScope*) override; |
93 void workerGlobalScopeClosed() override; | 93 void workerGlobalScopeClosed() override; |
94 void willDestroyWorkerGlobalScope() override; | 94 void willDestroyWorkerGlobalScope() override; |
95 void workerThreadTerminated() override; | 95 void workerThreadTerminated() override; |
96 | 96 |
(...skipping 19 matching lines...) Expand all Loading... |
116 Member<Document> m_document; | 116 Member<Document> m_document; |
117 | 117 |
118 WebServiceWorkerContextClient* m_client; | 118 WebServiceWorkerContextClient* m_client; |
119 | 119 |
120 Member<ServiceWorkerGlobalScope> m_workerGlobalScope; | 120 Member<ServiceWorkerGlobalScope> m_workerGlobalScope; |
121 }; | 121 }; |
122 | 122 |
123 } // namespace blink | 123 } // namespace blink |
124 | 124 |
125 #endif // ServiceWorkerGlobalScopeProxy_h | 125 #endif // ServiceWorkerGlobalScopeProxy_h |
OLD | NEW |