| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WorkletConsole_h | 5 #ifndef WorkletConsole_h |
| 6 #define WorkletConsole_h | 6 #define WorkletConsole_h |
| 7 | 7 |
| 8 #include "core/frame/ConsoleBase.h" | 8 #include "core/frame/ConsoleBase.h" |
| 9 #include "core/frame/ConsoleTypes.h" | 9 #include "core/frame/ConsoleTypes.h" |
| 10 #include "core/inspector/ConsoleAPITypes.h" | 10 #include "core/inspector/ConsoleAPITypes.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 static WorkletConsole* create(WorkletGlobalScope* scope) | 21 static WorkletConsole* create(WorkletGlobalScope* scope) |
| 22 { | 22 { |
| 23 return new WorkletConsole(scope); | 23 return new WorkletConsole(scope); |
| 24 } | 24 } |
| 25 ~WorkletConsole() override; | 25 ~WorkletConsole() override; |
| 26 | 26 |
| 27 DECLARE_VIRTUAL_TRACE(); | 27 DECLARE_VIRTUAL_TRACE(); |
| 28 | 28 |
| 29 protected: | 29 protected: |
| 30 ExecutionContext* context() final; | 30 ExecutionContext* context() final; |
| 31 void reportMessageToConsole(PassRefPtrWillBeRawPtr<ConsoleMessage>) final; | 31 void reportMessageToConsole(RawPtr<ConsoleMessage>) final; |
| 32 | 32 |
| 33 private: | 33 private: |
| 34 explicit WorkletConsole(WorkletGlobalScope*); | 34 explicit WorkletConsole(WorkletGlobalScope*); |
| 35 | 35 |
| 36 RawPtrWillBeMember<WorkletGlobalScope> m_scope; | 36 Member<WorkletGlobalScope> m_scope; |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace blink | 39 } // namespace blink |
| 40 | 40 |
| 41 #endif // WorkletConsole_h | 41 #endif // WorkletConsole_h |
| OLD | NEW |