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 30 matching lines...) Expand all Loading... |
41 PassRefPtrWillBeRawPtr<ScriptCallStack> callStack() const; | 41 PassRefPtrWillBeRawPtr<ScriptCallStack> callStack() const; |
42 void setCallStack(PassRefPtrWillBeRawPtr<ScriptCallStack>); | 42 void setCallStack(PassRefPtrWillBeRawPtr<ScriptCallStack>); |
43 ScriptState* scriptState() const; | 43 ScriptState* scriptState() 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 bool isAsync() const; | |
52 void markAsAsync(); | |
53 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; } | 51 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; } |
54 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx
y = proxy; } | 52 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx
y = proxy; } |
55 | 53 |
56 MessageSource source() const; | 54 MessageSource source() const; |
57 MessageLevel level() const; | 55 MessageLevel level() const; |
58 const String& message() const; | 56 const String& message() const; |
59 unsigned columnNumber() const; | 57 unsigned columnNumber() const; |
60 | 58 |
61 void frameWindowDiscarded(LocalDOMWindow*); | 59 void frameWindowDiscarded(LocalDOMWindow*); |
62 unsigned argumentCount(); | 60 unsigned argumentCount(); |
(...skipping 11 matching lines...) Expand all Loading... |
74 String m_message; | 72 String m_message; |
75 int m_scriptId; | 73 int m_scriptId; |
76 String m_url; | 74 String m_url; |
77 unsigned m_lineNumber; | 75 unsigned m_lineNumber; |
78 unsigned m_columnNumber; | 76 unsigned m_columnNumber; |
79 RefPtrWillBeMember<ScriptCallStack> m_callStack; | 77 RefPtrWillBeMember<ScriptCallStack> m_callStack; |
80 OwnPtr<ScriptStateProtectingContext> m_scriptState; | 78 OwnPtr<ScriptStateProtectingContext> m_scriptState; |
81 RefPtrWillBeMember<ScriptArguments> m_scriptArguments; | 79 RefPtrWillBeMember<ScriptArguments> m_scriptArguments; |
82 unsigned long m_requestIdentifier; | 80 unsigned long m_requestIdentifier; |
83 double m_timestamp; | 81 double m_timestamp; |
84 bool m_async; | |
85 WorkerGlobalScopeProxy* m_workerProxy; | 82 WorkerGlobalScopeProxy* m_workerProxy; |
86 }; | 83 }; |
87 | 84 |
88 } // namespace blink | 85 } // namespace blink |
89 | 86 |
90 #endif // ConsoleMessage_h | 87 #endif // ConsoleMessage_h |
OLD | NEW |