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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 , public WebWorkerBase | 66 , public WebWorkerBase |
67 , public WebFrameClient | 67 , public WebFrameClient |
68 , public WebSharedWorker { | 68 , public WebSharedWorker { |
69 public: | 69 public: |
70 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); | 70 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); |
71 | 71 |
72 virtual void postMessageToWorkerObject( | 72 virtual void postMessageToWorkerObject( |
73 PassRefPtr<WebCore::SerializedScriptValue>, | 73 PassRefPtr<WebCore::SerializedScriptValue>, |
74 PassOwnPtr<WebCore::MessagePortChannelArray>); | 74 PassOwnPtr<WebCore::MessagePortChannelArray>); |
75 virtual void postExceptionToWorkerObject( | 75 virtual void postExceptionToWorkerObject( |
76 const WTF::String&, int, const WTF::String&); | 76 const WTF::String&, int, int, const WTF::String&); |
77 virtual void postConsoleMessageToWorkerObject( | 77 virtual void postConsoleMessageToWorkerObject( |
78 WebCore::MessageSource, WebCore::MessageLevel, | 78 WebCore::MessageSource, WebCore::MessageLevel, |
79 const WTF::String&, int, const WTF::String&); | 79 const WTF::String&, int, const WTF::String&); |
80 virtual void postMessageToPageInspector(const WTF::String&); | 80 virtual void postMessageToPageInspector(const WTF::String&); |
81 virtual void updateInspectorStateCookie(const WTF::String&); | 81 virtual void updateInspectorStateCookie(const WTF::String&); |
82 virtual void confirmMessageFromWorkerObject(bool); | 82 virtual void confirmMessageFromWorkerObject(bool); |
83 virtual void reportPendingActivity(bool); | 83 virtual void reportPendingActivity(bool); |
84 virtual void workerGlobalScopeClosed(); | 84 virtual void workerGlobalScopeClosed(); |
85 virtual void workerGlobalScopeDestroyed(); | 85 virtual void workerGlobalScopeDestroyed(); |
86 virtual WebView* view() const { return m_webView; } | 86 virtual WebView* view() const { return m_webView; } |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 RefPtr<WebCore::WorkerThread> m_workerThread; | 178 RefPtr<WebCore::WorkerThread> m_workerThread; |
179 | 179 |
180 WebSharedWorkerClient* m_client; | 180 WebSharedWorkerClient* m_client; |
181 bool m_pauseWorkerContextOnStart; | 181 bool m_pauseWorkerContextOnStart; |
182 }; | 182 }; |
183 | 183 |
184 } // namespace WebKit | 184 } // namespace WebKit |
185 | 185 |
186 #endif | 186 #endif |
OLD | NEW |