Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: Source/core/inspector/ConsoleMessage.h

Issue 798963002: Only populate line number in case parsing synchronously. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deleted custom mac expectation Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLDocumentParser.cpp ('k') | Source/core/inspector/ConsoleMessage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698