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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 unsigned argumentCount(); | 66 unsigned argumentCount(); |
67 | 67 |
68 private: | 68 private: |
69 void autogenerateMetadata(bool canGenerateCallStack, ScriptState* = 0); | 69 void autogenerateMetadata(bool canGenerateCallStack, ScriptState* = 0); |
70 | 70 |
71 MessageSource m_source; | 71 MessageSource m_source; |
72 MessageType m_type; | 72 MessageType m_type; |
73 MessageLevel m_level; | 73 MessageLevel m_level; |
74 String m_message; | 74 String m_message; |
| 75 ScriptState* m_scriptState; |
75 RefPtr<ScriptArguments> m_arguments; | 76 RefPtr<ScriptArguments> m_arguments; |
76 RefPtr<ScriptCallStack> m_callStack; | 77 RefPtr<ScriptCallStack> m_callStack; |
77 String m_url; | 78 String m_url; |
78 unsigned m_line; | 79 unsigned m_line; |
79 unsigned m_column; | 80 unsigned m_column; |
80 String m_requestId; | 81 String m_requestId; |
81 double m_timestamp; | 82 double m_timestamp; |
82 }; | 83 }; |
83 | 84 |
84 } // namespace WebCore | 85 } // namespace WebCore |
85 | 86 |
86 #endif // ConsoleMessage_h | 87 #endif // ConsoleMessage_h |
OLD | NEW |