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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 , public WebFrameClient | 70 , public WebFrameClient |
71 , public WebSharedWorker | 71 , public WebSharedWorker |
72 , public WebDevToolsAgentClient | 72 , public WebDevToolsAgentClient |
73 , private WorkerLoaderProxyProvider { | 73 , private WorkerLoaderProxyProvider { |
74 public: | 74 public: |
75 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); | 75 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); |
76 | 76 |
77 // WorkerReportingProxy methods: | 77 // WorkerReportingProxy methods: |
78 void reportException( | 78 void reportException( |
79 const WTF::String&, int, int, const WTF::String&, int) override; | 79 const WTF::String&, int, int, const WTF::String&, int) override; |
80 void reportConsoleMessage(RawPtr<ConsoleMessage>) override; | 80 void reportConsoleMessage(ConsoleMessage*) override; |
81 void postMessageToPageInspector(const WTF::String&) override; | 81 void postMessageToPageInspector(const WTF::String&) override; |
82 void postWorkerConsoleAgentEnabled() override { } | 82 void postWorkerConsoleAgentEnabled() override { } |
83 void didEvaluateWorkerScript(bool success) override { } | 83 void didEvaluateWorkerScript(bool success) override { } |
84 void workerGlobalScopeStarted(WorkerGlobalScope*) override; | 84 void workerGlobalScopeStarted(WorkerGlobalScope*) override; |
85 void workerGlobalScopeClosed() override; | 85 void workerGlobalScopeClosed() override; |
86 void workerThreadTerminated() override; | 86 void workerThreadTerminated() override; |
87 void willDestroyWorkerGlobalScope() override { } | 87 void willDestroyWorkerGlobalScope() override { } |
88 | 88 |
89 // WebFrameClient methods to support resource loading thru the 'shadow page'
. | 89 // WebFrameClient methods to support resource loading thru the 'shadow page'
. |
90 WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostC
lient*) override; | 90 WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostC
lient*) override; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 RefPtr<WorkerLoaderProxy> m_loaderProxy; | 158 RefPtr<WorkerLoaderProxy> m_loaderProxy; |
159 | 159 |
160 WebURL m_url; | 160 WebURL m_url; |
161 WebString m_name; | 161 WebString m_name; |
162 WebAddressSpace m_creationAddressSpace; | 162 WebAddressSpace m_creationAddressSpace; |
163 }; | 163 }; |
164 | 164 |
165 } // namespace blink | 165 } // namespace blink |
166 | 166 |
167 #endif // WebSharedWorkerImpl_h | 167 #endif // WebSharedWorkerImpl_h |
OLD | NEW |