| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 SourceLocation*) override; | 85 SourceLocation*) override; |
| 86 void postMessageToPageInspector(const WTF::String&) override; | 86 void postMessageToPageInspector(const WTF::String&) override; |
| 87 void didEvaluateWorkerScript(bool success) override {} | 87 void didEvaluateWorkerScript(bool success) override {} |
| 88 void didCloseWorkerGlobalScope() override; | 88 void didCloseWorkerGlobalScope() override; |
| 89 void willDestroyWorkerGlobalScope() override {} | 89 void willDestroyWorkerGlobalScope() override {} |
| 90 void didTerminateWorkerThread() override; | 90 void didTerminateWorkerThread() override; |
| 91 | 91 |
| 92 // WebFrameClient methods to support resource loading thru the 'shadow page'. | 92 // WebFrameClient methods to support resource loading thru the 'shadow page'. |
| 93 WebApplicationCacheHost* createApplicationCacheHost( | 93 WebApplicationCacheHost* createApplicationCacheHost( |
| 94 WebApplicationCacheHostClient*) override; | 94 WebApplicationCacheHostClient*) override; |
| 95 void willSendRequest(WebLocalFrame*, WebURLRequest&) override; | 95 void willSendRequest(WebLocalFrame*, |
| 96 WebURLRequest&, |
| 97 WebFrameLoadType) override; |
| 96 void didFinishDocumentLoad(WebLocalFrame*) override; | 98 void didFinishDocumentLoad(WebLocalFrame*) override; |
| 97 bool isControlledByServiceWorker(WebDataSource&) override; | 99 bool isControlledByServiceWorker(WebDataSource&) override; |
| 98 int64_t serviceWorkerID(WebDataSource&) override; | 100 int64_t serviceWorkerID(WebDataSource&) override; |
| 99 | 101 |
| 100 // WebDevToolsAgentClient overrides. | 102 // WebDevToolsAgentClient overrides. |
| 101 void sendProtocolMessage(int sessionId, | 103 void sendProtocolMessage(int sessionId, |
| 102 int callId, | 104 int callId, |
| 103 const WebString&, | 105 const WebString&, |
| 104 const WebString&) override; | 106 const WebString&) override; |
| 105 void resumeStartup() override; | 107 void resumeStartup() override; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 RefPtr<WorkerLoaderProxy> m_loaderProxy; | 184 RefPtr<WorkerLoaderProxy> m_loaderProxy; |
| 183 | 185 |
| 184 WebURL m_url; | 186 WebURL m_url; |
| 185 WebString m_name; | 187 WebString m_name; |
| 186 WebAddressSpace m_creationAddressSpace; | 188 WebAddressSpace m_creationAddressSpace; |
| 187 }; | 189 }; |
| 188 | 190 |
| 189 } // namespace blink | 191 } // namespace blink |
| 190 | 192 |
| 191 #endif // WebSharedWorkerImpl_h | 193 #endif // WebSharedWorkerImpl_h |
| OLD | NEW |