OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 class ScriptArguments; | 45 class ScriptArguments; |
46 class ScriptCallFrame; | 46 class ScriptCallFrame; |
47 class ScriptCallStack; | 47 class ScriptCallStack; |
48 class ScriptValue; | 48 class ScriptValue; |
49 | 49 |
50 class InspectorConsoleMessage { | 50 class InspectorConsoleMessage { |
51 WTF_MAKE_NONCOPYABLE(InspectorConsoleMessage); WTF_MAKE_FAST_ALLOCATED; | 51 WTF_MAKE_NONCOPYABLE(InspectorConsoleMessage); WTF_MAKE_FAST_ALLOCATED; |
52 public: | 52 public: |
53 InspectorConsoleMessage(bool canGenerateCallStack, MessageSource, MessageTyp
e, MessageLevel, const String& message); | 53 InspectorConsoleMessage(bool canGenerateCallStack, MessageSource, MessageTyp
e, MessageLevel, const String& message); |
54 InspectorConsoleMessage(bool canGenerateCallStack, MessageSource, MessageTyp
e, MessageLevel, const String& message, const String& url, unsigned line, unsign
ed column, ScriptState*, unsigned long requestIdentifier); | 54 InspectorConsoleMessage(bool canGenerateCallStack, MessageSource, MessageTyp
e, MessageLevel, const String& message, const String& url, unsigned line, unsign
ed column, ScriptState*, unsigned long requestIdentifier); |
55 InspectorConsoleMessage(bool canGenerateCallStack, MessageSource, MessageTyp
e, MessageLevel, const String& message, PassRefPtrWillBeRawPtr<ScriptCallStack>,
unsigned long requestIdentifier); | 55 InspectorConsoleMessage(MessageSource, MessageType, MessageLevel, const Stri
ng& message, PassRefPtrWillBeRawPtr<ScriptCallStack>, unsigned long requestIdent
ifier); |
56 InspectorConsoleMessage(bool canGenerateCallStack, MessageSource, MessageTyp
e, MessageLevel, const String& message, PassRefPtrWillBeRawPtr<ScriptArguments>,
ScriptState*, unsigned long requestIdentifier); | 56 InspectorConsoleMessage(bool canGenerateCallStack, MessageSource, MessageTyp
e, MessageLevel, const String& message, PassRefPtrWillBeRawPtr<ScriptArguments>,
ScriptState*, unsigned long requestIdentifier); |
57 ~InspectorConsoleMessage(); | 57 ~InspectorConsoleMessage(); |
58 | 58 |
59 void addToFrontend(InspectorFrontend::Console*, InjectedScriptManager*, bool
generatePreview); | 59 void addToFrontend(InspectorFrontend::Console*, InjectedScriptManager*, bool
generatePreview); |
60 void setTimestamp(double timestamp) { m_timestamp = timestamp; } | 60 void setTimestamp(double timestamp) { m_timestamp = timestamp; } |
61 | 61 |
62 MessageType type() const { return m_type; } | 62 MessageType type() const { return m_type; } |
63 | 63 |
64 void windowCleared(LocalDOMWindow*); | 64 void windowCleared(LocalDOMWindow*); |
65 | 65 |
(...skipping 12 matching lines...) Expand all Loading... |
78 String m_url; | 78 String m_url; |
79 unsigned m_line; | 79 unsigned m_line; |
80 unsigned m_column; | 80 unsigned m_column; |
81 String m_requestId; | 81 String m_requestId; |
82 double m_timestamp; | 82 double m_timestamp; |
83 }; | 83 }; |
84 | 84 |
85 } // namespace blink | 85 } // namespace blink |
86 | 86 |
87 #endif // InspectorConsoleMessage_h | 87 #endif // InspectorConsoleMessage_h |
OLD | NEW |