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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 | 33 |
34 #include "core/inspector/ConsoleMessage.h" | 34 #include "core/inspector/ConsoleMessage.h" |
35 | 35 |
36 #include "InspectorFrontend.h" | 36 #include "InspectorFrontend.h" |
37 #include "bindings/v8/ScriptCallStackFactory.h" | 37 #include "bindings/v8/ScriptCallStackFactory.h" |
38 #include "bindings/v8/ScriptValue.h" | 38 #include "bindings/v8/ScriptValue.h" |
39 #include "core/inspector/IdentifiersFactory.h" | 39 #include "core/inspector/IdentifiersFactory.h" |
40 #include "core/inspector/InjectedScript.h" | 40 #include "core/inspector/InjectedScript.h" |
41 #include "core/inspector/InjectedScriptManager.h" | 41 #include "core/inspector/InjectedScriptManager.h" |
42 #include "core/inspector/InspectorValues.h" | |
43 #include "core/inspector/ScriptArguments.h" | 42 #include "core/inspector/ScriptArguments.h" |
44 #include "core/inspector/ScriptCallFrame.h" | 43 #include "core/inspector/ScriptCallFrame.h" |
45 #include "core/inspector/ScriptCallStack.h" | 44 #include "core/inspector/ScriptCallStack.h" |
46 #include "core/page/Console.h" | |
47 #include <wtf/MainThread.h> | 45 #include <wtf/MainThread.h> |
48 | 46 |
49 namespace WebCore { | 47 namespace WebCore { |
50 | 48 |
51 ConsoleMessage::ConsoleMessage(bool canGenerateCallStack, MessageSource source,
MessageType type, MessageLevel level, const String& message) | 49 ConsoleMessage::ConsoleMessage(bool canGenerateCallStack, MessageSource source,
MessageType type, MessageLevel level, const String& message) |
52 : m_source(source) | 50 : m_source(source) |
53 , m_type(type) | 51 , m_type(type) |
54 , m_level(level) | 52 , m_level(level) |
55 , m_message(message) | 53 , m_message(message) |
56 , m_url() | 54 , m_url() |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 269 |
272 unsigned ConsoleMessage::argumentCount() | 270 unsigned ConsoleMessage::argumentCount() |
273 { | 271 { |
274 if (m_arguments) | 272 if (m_arguments) |
275 return m_arguments->argumentCount(); | 273 return m_arguments->argumentCount(); |
276 return 0; | 274 return 0; |
277 } | 275 } |
278 | 276 |
279 } // namespace WebCore | 277 } // namespace WebCore |
280 | 278 |
OLD | NEW |