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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 , public WebSharedWorker | 68 , public WebSharedWorker |
69 , public WebDevToolsAgentClient { | 69 , public WebDevToolsAgentClient { |
70 public: | 70 public: |
71 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); | 71 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); |
72 | 72 |
73 // WorkerReportingProxy methods: | 73 // WorkerReportingProxy methods: |
74 virtual void reportException( | 74 virtual void reportException( |
75 const WTF::String&, int, int, const WTF::String&) override; | 75 const WTF::String&, int, int, const WTF::String&) override; |
76 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov
erride; | 76 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov
erride; |
77 virtual void postMessageToPageInspector(const WTF::String&) override; | 77 virtual void postMessageToPageInspector(const WTF::String&) override; |
| 78 virtual void didEvaluateWorkerScript(bool success) override { }; |
78 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override; | 79 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override; |
79 virtual void workerGlobalScopeClosed() override; | 80 virtual void workerGlobalScopeClosed() override; |
80 virtual void workerThreadTerminated() override; | 81 virtual void workerThreadTerminated() override; |
81 virtual void willDestroyWorkerGlobalScope() override { } | 82 virtual void willDestroyWorkerGlobalScope() override { } |
82 | 83 |
83 // WorkerLoaderProxy methods: | 84 // WorkerLoaderProxy methods: |
84 virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override; | 85 virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override; |
85 virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) o
verride; | 86 virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) o
verride; |
86 | 87 |
87 // WebFrameClient methods to support resource loading thru the 'shadow page'
. | 88 // WebFrameClient methods to support resource loading thru the 'shadow page'
. |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 OwnPtr<Loader> m_mainScriptLoader; | 158 OwnPtr<Loader> m_mainScriptLoader; |
158 WebURL m_url; | 159 WebURL m_url; |
159 WebString m_name; | 160 WebString m_name; |
160 WebString m_contentSecurityPolicy; | 161 WebString m_contentSecurityPolicy; |
161 WebContentSecurityPolicyType m_policyType; | 162 WebContentSecurityPolicyType m_policyType; |
162 }; | 163 }; |
163 | 164 |
164 } // namespace blink | 165 } // namespace blink |
165 | 166 |
166 #endif | 167 #endif |
OLD | NEW |