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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void reportPendingActivity(bool hasPendingActivity); | 61 void reportPendingActivity(bool hasPendingActivity); |
62 | 62 |
63 // WorkerReportingProxy overrides. | 63 // WorkerReportingProxy overrides. |
64 virtual void reportException(const String& errorMessage, int lineNumber, int
columnNumber, const String& sourceURL, int exceptionId) override; | 64 virtual void reportException(const String& errorMessage, int lineNumber, int
columnNumber, const String& sourceURL, int exceptionId) override; |
65 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov
erride; | 65 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov
erride; |
66 virtual void postMessageToPageInspector(const String&) override; | 66 virtual void postMessageToPageInspector(const String&) override; |
67 virtual void postWorkerConsoleAgentEnabled() override; | 67 virtual void postWorkerConsoleAgentEnabled() override; |
68 virtual void didEvaluateWorkerScript(bool success) override { }; | 68 virtual void didEvaluateWorkerScript(bool success) override { }; |
69 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override { } | 69 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override { } |
70 virtual void workerGlobalScopeClosed() override; | 70 virtual void workerGlobalScopeClosed() override; |
71 virtual void workerThreadTerminated() override; | 71 virtual void workerScriptTerminated() override; |
72 virtual void willDestroyWorkerGlobalScope() override { } | 72 virtual void willDestroyWorkerGlobalScope() override { } |
73 | 73 |
74 private: | 74 private: |
75 WorkerObjectProxy(ExecutionContext*, WorkerMessagingProxy*); | 75 WorkerObjectProxy(ExecutionContext*, WorkerMessagingProxy*); |
76 | 76 |
77 // These objects always outlive this proxy. | 77 // These objects always outlive this proxy. |
78 ExecutionContext* m_executionContext; | 78 ExecutionContext* m_executionContext; |
79 WorkerMessagingProxy* m_messagingProxy; | 79 WorkerMessagingProxy* m_messagingProxy; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
83 | 83 |
84 #endif // WorkerObjectProxy_h | 84 #endif // WorkerObjectProxy_h |
OLD | NEW |