| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ConsoleMessage_h | 5 #ifndef ConsoleMessage_h |
| 6 #define ConsoleMessage_h | 6 #define ConsoleMessage_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptState.h" | 8 #include "sky/engine/bindings/core/v8/ScriptState.h" |
| 9 #include "core/frame/ConsoleTypes.h" | 9 #include "sky/engine/core/frame/ConsoleTypes.h" |
| 10 #include "core/inspector/ConsoleAPITypes.h" | 10 #include "sky/engine/core/inspector/ConsoleAPITypes.h" |
| 11 #include "core/inspector/ScriptCallStack.h" | 11 #include "sky/engine/core/inspector/ScriptCallStack.h" |
| 12 #include "platform/heap/Handle.h" | 12 #include "sky/engine/platform/heap/Handle.h" |
| 13 #include "wtf/Forward.h" | 13 #include "sky/engine/wtf/Forward.h" |
| 14 #include "wtf/PassRefPtr.h" | 14 #include "sky/engine/wtf/PassRefPtr.h" |
| 15 #include "wtf/RefCounted.h" | 15 #include "sky/engine/wtf/RefCounted.h" |
| 16 #include "wtf/text/WTFString.h" | 16 #include "sky/engine/wtf/text/WTFString.h" |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 | 19 |
| 20 class ScriptArguments; | 20 class ScriptArguments; |
| 21 class ScriptCallStack; | 21 class ScriptCallStack; |
| 22 class ScriptState; | 22 class ScriptState; |
| 23 | 23 |
| 24 class ConsoleMessage final: public RefCounted<ConsoleMessage> { | 24 class ConsoleMessage final: public RefCounted<ConsoleMessage> { |
| 25 public: | 25 public: |
| 26 static PassRefPtr<ConsoleMessage> create(MessageSource source, MessageLevel
level, const String& message, const String& url = String(), unsigned lineNumber
= 0, unsigned columnNumber = 0) | 26 static PassRefPtr<ConsoleMessage> create(MessageSource source, MessageLevel
level, const String& message, const String& url = String(), unsigned lineNumber
= 0, unsigned columnNumber = 0) |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 RefPtr<ScriptCallStack> m_callStack; | 72 RefPtr<ScriptCallStack> m_callStack; |
| 73 OwnPtr<ScriptStateProtectingContext> m_scriptState; | 73 OwnPtr<ScriptStateProtectingContext> m_scriptState; |
| 74 RefPtr<ScriptArguments> m_scriptArguments; | 74 RefPtr<ScriptArguments> m_scriptArguments; |
| 75 unsigned long m_requestIdentifier; | 75 unsigned long m_requestIdentifier; |
| 76 double m_timestamp; | 76 double m_timestamp; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace blink | 79 } // namespace blink |
| 80 | 80 |
| 81 #endif // ConsoleMessage_h | 81 #endif // ConsoleMessage_h |
| OLD | NEW |