| 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/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "core/frame/ConsoleTypes.h" | 10 #include "core/frame/ConsoleTypes.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 ~ConsoleMessage(); | 32 ~ConsoleMessage(); |
| 33 | 33 |
| 34 MessageType type() const; | 34 MessageType type() const; |
| 35 void setType(MessageType); | 35 void setType(MessageType); |
| 36 int scriptId() const; | 36 int scriptId() const; |
| 37 void setScriptId(int); | 37 void setScriptId(int); |
| 38 const String& url() const; | 38 const String& url() const; |
| 39 void setURL(const String&); | 39 void setURL(const String&); |
| 40 unsigned lineNumber() const; | 40 unsigned lineNumber() const; |
| 41 void setLineNumber(unsigned); | 41 void setLineNumber(unsigned); |
| 42 PassRefPtrWillBeRawPtr<ScriptCallStack> callStack() const; | 42 PassRefPtr<ScriptCallStack> callStack() const; |
| 43 void setCallStack(PassRefPtrWillBeRawPtr<ScriptCallStack>); | 43 void setCallStack(PassRefPtr<ScriptCallStack>); |
| 44 ScriptState* scriptState() const; | 44 ScriptState* scriptState() const; |
| 45 void setScriptState(ScriptState*); | 45 void setScriptState(ScriptState*); |
| 46 PassRefPtrWillBeRawPtr<ScriptArguments> scriptArguments() const; | 46 PassRefPtrWillBeRawPtr<ScriptArguments> scriptArguments() const; |
| 47 void setScriptArguments(PassRefPtrWillBeRawPtr<ScriptArguments>); | 47 void setScriptArguments(PassRefPtrWillBeRawPtr<ScriptArguments>); |
| 48 unsigned long requestIdentifier() const; | 48 unsigned long requestIdentifier() const; |
| 49 void setRequestIdentifier(unsigned long); | 49 void setRequestIdentifier(unsigned long); |
| 50 double timestamp() const; | 50 double timestamp() const; |
| 51 void setTimestamp(double); | 51 void setTimestamp(double); |
| 52 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; } | 52 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; } |
| 53 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx
y = proxy; } | 53 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx
y = proxy; } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 72 ConsoleMessage(MessageSource, MessageLevel, const String& message, const Str
ing& url = String(), unsigned lineNumber = 0, unsigned columnNumber = 0); | 72 ConsoleMessage(MessageSource, MessageLevel, const String& message, const Str
ing& url = String(), unsigned lineNumber = 0, unsigned columnNumber = 0); |
| 73 | 73 |
| 74 MessageSource m_source; | 74 MessageSource m_source; |
| 75 MessageLevel m_level; | 75 MessageLevel m_level; |
| 76 MessageType m_type; | 76 MessageType m_type; |
| 77 String m_message; | 77 String m_message; |
| 78 int m_scriptId; | 78 int m_scriptId; |
| 79 String m_url; | 79 String m_url; |
| 80 unsigned m_lineNumber; | 80 unsigned m_lineNumber; |
| 81 unsigned m_columnNumber; | 81 unsigned m_columnNumber; |
| 82 RefPtrWillBeMember<ScriptCallStack> m_callStack; | 82 RefPtr<ScriptCallStack> m_callStack; |
| 83 OwnPtr<ScriptStateProtectingContext> m_scriptState; | 83 OwnPtr<ScriptStateProtectingContext> m_scriptState; |
| 84 RefPtrWillBeMember<ScriptArguments> m_scriptArguments; | 84 RefPtrWillBeMember<ScriptArguments> m_scriptArguments; |
| 85 unsigned long m_requestIdentifier; | 85 unsigned long m_requestIdentifier; |
| 86 double m_timestamp; | 86 double m_timestamp; |
| 87 WorkerGlobalScopeProxy* m_workerProxy; | 87 WorkerGlobalScopeProxy* m_workerProxy; |
| 88 unsigned m_messageId; | 88 unsigned m_messageId; |
| 89 unsigned m_relatedMessageId; | 89 unsigned m_relatedMessageId; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace blink | 92 } // namespace blink |
| 93 | 93 |
| 94 #endif // ConsoleMessage_h | 94 #endif // ConsoleMessage_h |
| OLD | NEW |