OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "bindings/v8/ScriptObject.h" | 32 #include "bindings/v8/ScriptObject.h" |
33 #include "bindings/v8/ScriptProfiler.h" | 33 #include "bindings/v8/ScriptProfiler.h" |
34 #include "core/inspector/ConsoleMessage.h" | 34 #include "core/inspector/ConsoleMessage.h" |
35 #include "core/inspector/InjectedScriptHost.h" | 35 #include "core/inspector/InjectedScriptHost.h" |
36 #include "core/inspector/InjectedScriptManager.h" | 36 #include "core/inspector/InjectedScriptManager.h" |
37 #include "core/inspector/InspectorState.h" | 37 #include "core/inspector/InspectorState.h" |
38 #include "core/inspector/InstrumentingAgents.h" | 38 #include "core/inspector/InstrumentingAgents.h" |
39 #include "core/inspector/ScriptArguments.h" | 39 #include "core/inspector/ScriptArguments.h" |
40 #include "core/inspector/ScriptCallFrame.h" | 40 #include "core/inspector/ScriptCallFrame.h" |
41 #include "core/inspector/ScriptCallStack.h" | 41 #include "core/inspector/ScriptCallStack.h" |
42 #include "core/page/Console.h" | |
43 #include "core/page/DOMWindow.h" | |
44 #include "core/platform/network/ResourceError.h" | 42 #include "core/platform/network/ResourceError.h" |
45 #include "core/platform/network/ResourceResponse.h" | 43 #include "core/platform/network/ResourceResponse.h" |
46 #include <wtf/CurrentTime.h> | 44 #include <wtf/CurrentTime.h> |
47 #include <wtf/OwnPtr.h> | 45 #include <wtf/OwnPtr.h> |
48 #include <wtf/PassOwnPtr.h> | 46 #include <wtf/PassOwnPtr.h> |
49 #include <wtf/text/StringBuilder.h> | 47 #include <wtf/text/StringBuilder.h> |
50 #include <wtf/text/WTFString.h> | 48 #include <wtf/text/WTFString.h> |
51 | 49 |
52 namespace WebCore { | 50 namespace WebCore { |
53 | 51 |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 int m_heapObjectId; | 328 int m_heapObjectId; |
331 }; | 329 }; |
332 | 330 |
333 void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe
apObjectId) | 331 void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe
apObjectId) |
334 { | 332 { |
335 m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(n
ew InspectableHeapObject(inspectedHeapObjectId))); | 333 m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(n
ew InspectableHeapObject(inspectedHeapObjectId))); |
336 } | 334 } |
337 | 335 |
338 } // namespace WebCore | 336 } // namespace WebCore |
339 | 337 |
OLD | NEW |