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 24 matching lines...) Expand all Loading... |
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/ScriptArguments.h" | 42 #include "core/inspector/ScriptArguments.h" |
43 #include "core/inspector/ScriptCallFrame.h" | 43 #include "core/inspector/ScriptCallFrame.h" |
44 #include "core/inspector/ScriptCallStack.h" | 44 #include "core/inspector/ScriptCallStack.h" |
45 #include "core/page/Console.h" | |
46 #include "wtf/CurrentTime.h" | 45 #include "wtf/CurrentTime.h" |
47 #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() |
57 , m_line(0) | 55 , m_line(0) |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 280 |
283 unsigned ConsoleMessage::argumentCount() | 281 unsigned ConsoleMessage::argumentCount() |
284 { | 282 { |
285 if (m_arguments) | 283 if (m_arguments) |
286 return m_arguments->argumentCount(); | 284 return m_arguments->argumentCount(); |
287 return 0; | 285 return 0; |
288 } | 286 } |
289 | 287 |
290 } // namespace WebCore | 288 } // namespace WebCore |
291 | 289 |
OLD | NEW |