| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 void workerGlobalScopeClosed() override; | 84 void workerGlobalScopeClosed() override; |
| 85 void workerThreadTerminated() override; | 85 void workerThreadTerminated() override; |
| 86 void willDestroyWorkerGlobalScope() override { } | 86 void willDestroyWorkerGlobalScope() override { } |
| 87 | 87 |
| 88 // WebFrameClient methods to support resource loading thru the 'shadow page'
. | 88 // WebFrameClient methods to support resource loading thru the 'shadow page'
. |
| 89 WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostC
lient*) override; | 89 WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostC
lient*) override; |
| 90 void willSendRequest(WebLocalFrame*, WebURLRequest&) override; | 90 void willSendRequest(WebLocalFrame*, WebURLRequest&) override; |
| 91 void didFinishDocumentLoad(WebLocalFrame*) override; | 91 void didFinishDocumentLoad(WebLocalFrame*) override; |
| 92 bool isControlledByServiceWorker(WebDataSource&) override; | 92 bool isControlledByServiceWorker(WebDataSource&) override; |
| 93 int64_t serviceWorkerID(WebDataSource&) override; | 93 int64_t serviceWorkerID(WebDataSource&) override; |
| 94 InterfaceProvider* interfaceProvider() override; |
| 94 | 95 |
| 95 // WebDevToolsAgentClient overrides. | 96 // WebDevToolsAgentClient overrides. |
| 96 void sendProtocolMessage(int sessionId, int callId, const WebString&, const
WebString&) override; | 97 void sendProtocolMessage(int sessionId, int callId, const WebString&, const
WebString&) override; |
| 97 void resumeStartup() override; | 98 void resumeStartup() override; |
| 98 WebDevToolsAgentClient::WebKitClientMessageLoop* createClientMessageLoop() o
verride; | 99 WebDevToolsAgentClient::WebKitClientMessageLoop* createClientMessageLoop() o
verride; |
| 99 | 100 |
| 100 // WebSharedWorker methods: | 101 // WebSharedWorker methods: |
| 101 void startWorkerContext(const WebURL&, const WebString& name, const WebStrin
g& contentSecurityPolicy, WebContentSecurityPolicyType, WebAddressSpace) overrid
e; | 102 void startWorkerContext(const WebURL&, const WebString& name, const WebStrin
g& contentSecurityPolicy, WebContentSecurityPolicyType, WebAddressSpace) overrid
e; |
| 102 void connect(WebMessagePortChannel*) override; | 103 void connect(WebMessagePortChannel*) override; |
| 103 void terminateWorkerContext() override; | 104 void terminateWorkerContext() override; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 RefPtr<WorkerLoaderProxy> m_loaderProxy; | 161 RefPtr<WorkerLoaderProxy> m_loaderProxy; |
| 161 | 162 |
| 162 WebURL m_url; | 163 WebURL m_url; |
| 163 WebString m_name; | 164 WebString m_name; |
| 164 WebAddressSpace m_creationAddressSpace; | 165 WebAddressSpace m_creationAddressSpace; |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 } // namespace blink | 168 } // namespace blink |
| 168 | 169 |
| 169 #endif // WebSharedWorkerImpl_h | 170 #endif // WebSharedWorkerImpl_h |
| OLD | NEW |