OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 13 matching lines...) Expand all Loading... |
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #include "config.h" | 29 #include "config.h" |
30 #include "core/page/Console.h" | 30 #include "core/page/Console.h" |
31 | 31 |
32 #include <stdio.h> | 32 #include <stdio.h> |
33 #include "ConsoleAPITypes.h" | 33 #include "ConsoleAPITypes.h" |
34 #include "Document.h" | |
35 #include "InspectorConsoleInstrumentation.h" | 34 #include "InspectorConsoleInstrumentation.h" |
36 #include "InspectorController.h" | 35 #include "InspectorController.h" |
37 #include "ScriptArguments.h" | 36 #include "ScriptArguments.h" |
38 #include "ScriptCallStack.h" | 37 #include "ScriptCallStack.h" |
39 #include "ScriptCallStackFactory.h" | 38 #include "ScriptCallStackFactory.h" |
40 #include "ScriptProfile.h" | 39 #include "ScriptProfile.h" |
41 #include "ScriptProfiler.h" | 40 #include "ScriptProfiler.h" |
42 #include "ScriptValue.h" | 41 #include "ScriptValue.h" |
43 #include "ScriptableDocumentParser.h" | 42 #include "core/dom/Document.h" |
| 43 #include "core/dom/ScriptableDocumentParser.h" |
44 #include "core/loader/FrameLoader.h" | 44 #include "core/loader/FrameLoader.h" |
45 #include "core/page/Chrome.h" | 45 #include "core/page/Chrome.h" |
46 #include "core/page/ChromeClient.h" | 46 #include "core/page/ChromeClient.h" |
47 #include "core/page/ConsoleTypes.h" | 47 #include "core/page/ConsoleTypes.h" |
48 #include "core/page/Frame.h" | 48 #include "core/page/Frame.h" |
49 #include "core/page/FrameTree.h" | 49 #include "core/page/FrameTree.h" |
50 #include "core/page/MemoryInfo.h" | 50 #include "core/page/MemoryInfo.h" |
51 #include "core/page/Page.h" | 51 #include "core/page/Page.h" |
52 #include "core/page/PageConsole.h" | 52 #include "core/page/PageConsole.h" |
53 #include "core/page/PageGroup.h" | 53 #include "core/page/PageGroup.h" |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 } | 242 } |
243 | 243 |
244 Page* Console::page() const | 244 Page* Console::page() const |
245 { | 245 { |
246 if (!m_frame) | 246 if (!m_frame) |
247 return 0; | 247 return 0; |
248 return m_frame->page(); | 248 return m_frame->page(); |
249 } | 249 } |
250 | 250 |
251 } // namespace WebCore | 251 } // namespace WebCore |
OLD | NEW |