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 22 matching lines...) Expand all Loading... |
33 MessageType type() const; | 33 MessageType type() const; |
34 void setType(MessageType); | 34 void setType(MessageType); |
35 int scriptId() const; | 35 int scriptId() const; |
36 void setScriptId(int); | 36 void setScriptId(int); |
37 const String& url() const; | 37 const String& url() const; |
38 void setURL(const String&); | 38 void setURL(const String&); |
39 unsigned lineNumber() const; | 39 unsigned lineNumber() const; |
40 void setLineNumber(unsigned); | 40 void setLineNumber(unsigned); |
41 PassRefPtr<ScriptCallStack> callStack() const; | 41 PassRefPtr<ScriptCallStack> callStack() const; |
42 void setCallStack(PassRefPtr<ScriptCallStack>); | 42 void setCallStack(PassRefPtr<ScriptCallStack>); |
43 ScriptState* scriptState() const; | 43 ScriptState* getScriptState() const; |
44 void setScriptState(ScriptState*); | 44 void setScriptState(ScriptState*); |
45 PassRefPtrWillBeRawPtr<ScriptArguments> scriptArguments() const; | 45 PassRefPtrWillBeRawPtr<ScriptArguments> scriptArguments() const; |
46 void setScriptArguments(PassRefPtrWillBeRawPtr<ScriptArguments>); | 46 void setScriptArguments(PassRefPtrWillBeRawPtr<ScriptArguments>); |
47 unsigned long requestIdentifier() const; | 47 unsigned long requestIdentifier() const; |
48 void setRequestIdentifier(unsigned long); | 48 void setRequestIdentifier(unsigned long); |
49 double timestamp() const; | 49 double timestamp() const; |
50 void setTimestamp(double); | 50 void setTimestamp(double); |
51 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; } | 51 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; } |
52 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx
y = proxy; } | 52 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx
y = proxy; } |
53 unsigned assignMessageId(); | 53 unsigned assignMessageId(); |
(...skipping 30 matching lines...) Expand all Loading... |
84 unsigned long m_requestIdentifier; | 84 unsigned long m_requestIdentifier; |
85 double m_timestamp; | 85 double m_timestamp; |
86 WorkerGlobalScopeProxy* m_workerProxy; | 86 WorkerGlobalScopeProxy* m_workerProxy; |
87 unsigned m_messageId; | 87 unsigned m_messageId; |
88 unsigned m_relatedMessageId; | 88 unsigned m_relatedMessageId; |
89 }; | 89 }; |
90 | 90 |
91 } // namespace blink | 91 } // namespace blink |
92 | 92 |
93 #endif // ConsoleMessage_h | 93 #endif // ConsoleMessage_h |
OLD | NEW |