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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 : public WorkerReportingProxy | 65 : public WorkerReportingProxy |
66 , public WorkerLoaderProxy | 66 , public WorkerLoaderProxy |
67 , public WebFrameClient | 67 , public WebFrameClient |
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&, int) 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 didEvaluateWorkerScript(bool success) override { }; |
79 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override; | 79 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override; |
80 virtual void workerGlobalScopeClosed() override; | 80 virtual void workerGlobalScopeClosed() override; |
81 virtual void workerThreadTerminated() override; | 81 virtual void workerThreadTerminated() override; |
82 virtual void willDestroyWorkerGlobalScope() override { } | 82 virtual void willDestroyWorkerGlobalScope() override { } |
83 | 83 |
84 // WorkerLoaderProxy methods: | 84 // WorkerLoaderProxy methods: |
85 virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override; | 85 virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 OwnPtr<Loader> m_mainScriptLoader; | 158 OwnPtr<Loader> m_mainScriptLoader; |
159 WebURL m_url; | 159 WebURL m_url; |
160 WebString m_name; | 160 WebString m_name; |
161 WebString m_contentSecurityPolicy; | 161 WebString m_contentSecurityPolicy; |
162 WebContentSecurityPolicyType m_policyType; | 162 WebContentSecurityPolicyType m_policyType; |
163 }; | 163 }; |
164 | 164 |
165 } // namespace blink | 165 } // namespace blink |
166 | 166 |
167 #endif | 167 #endif |
OLD | NEW |