| 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 "bindings/core/v8/ScriptState.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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 MessageSource source() const; | 51 MessageSource source() const; |
| 52 MessageLevel level() const; | 52 MessageLevel level() const; |
| 53 const String& message() const; | 53 const String& message() const; |
| 54 unsigned columnNumber() const; | 54 unsigned columnNumber() const; |
| 55 | 55 |
| 56 void frameWindowDiscarded(LocalDOMWindow*); | 56 void frameWindowDiscarded(LocalDOMWindow*); |
| 57 unsigned argumentCount(); | 57 unsigned argumentCount(); |
| 58 | 58 |
| 59 void collectCallStack(); | 59 void collectCallStack(); |
| 60 | 60 |
| 61 void trace(Visitor*); | |
| 62 | |
| 63 private: | 61 private: |
| 64 ConsoleMessage(MessageSource, MessageLevel, const String& message, const Str
ing& url = String(), unsigned lineNumber = 0, unsigned columnNumber = 0); | 62 ConsoleMessage(MessageSource, MessageLevel, const String& message, const Str
ing& url = String(), unsigned lineNumber = 0, unsigned columnNumber = 0); |
| 65 | 63 |
| 66 MessageSource m_source; | 64 MessageSource m_source; |
| 67 MessageLevel m_level; | 65 MessageLevel m_level; |
| 68 MessageType m_type; | 66 MessageType m_type; |
| 69 String m_message; | 67 String m_message; |
| 70 int m_scriptId; | 68 int m_scriptId; |
| 71 String m_url; | 69 String m_url; |
| 72 unsigned m_lineNumber; | 70 unsigned m_lineNumber; |
| 73 unsigned m_columnNumber; | 71 unsigned m_columnNumber; |
| 74 RefPtr<ScriptCallStack> m_callStack; | 72 RefPtr<ScriptCallStack> m_callStack; |
| 75 OwnPtr<ScriptStateProtectingContext> m_scriptState; | 73 OwnPtr<ScriptStateProtectingContext> m_scriptState; |
| 76 RefPtr<ScriptArguments> m_scriptArguments; | 74 RefPtr<ScriptArguments> m_scriptArguments; |
| 77 unsigned long m_requestIdentifier; | 75 unsigned long m_requestIdentifier; |
| 78 double m_timestamp; | 76 double m_timestamp; |
| 79 }; | 77 }; |
| 80 | 78 |
| 81 } // namespace blink | 79 } // namespace blink |
| 82 | 80 |
| 83 #endif // ConsoleMessage_h | 81 #endif // ConsoleMessage_h |
| OLD | NEW |