OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010 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) 2011 Google Inc. All rights reserved. | 4 * Copyright (C) 2011 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 17 matching lines...) Expand all Loading... |
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "core/inspector/InspectorAgent.h" | 32 #include "core/inspector/InspectorAgent.h" |
33 | 33 |
34 #include <wtf/PassRefPtr.h> | 34 #include <wtf/PassRefPtr.h> |
35 #include <wtf/RefPtr.h> | 35 #include <wtf/RefPtr.h> |
36 #include "InspectorFrontend.h" | 36 #include "InspectorFrontend.h" |
37 #include "bindings/v8/ScriptController.h" | 37 #include "bindings/v8/ScriptController.h" |
38 #include "bindings/v8/ScriptFunctionCall.h" | |
39 #include "bindings/v8/ScriptObject.h" | |
40 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
41 #include "core/inspector/InjectedScriptHost.h" | 39 #include "core/inspector/InjectedScriptHost.h" |
42 #include "core/inspector/InjectedScriptManager.h" | 40 #include "core/inspector/InjectedScriptManager.h" |
43 #include "core/inspector/InspectorController.h" | |
44 #include "core/inspector/InspectorInstrumentation.h" | |
45 #include "core/inspector/InspectorState.h" | 41 #include "core/inspector/InspectorState.h" |
46 #include "core/inspector/InspectorValues.h" | 42 #include "core/inspector/InspectorValues.h" |
47 #include "core/inspector/InstrumentingAgents.h" | 43 #include "core/inspector/InstrumentingAgents.h" |
48 #include "core/loader/DocumentLoader.h" | 44 #include "core/loader/DocumentLoader.h" |
49 #include "core/page/Frame.h" | 45 #include "core/page/Frame.h" |
50 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
51 #include "core/page/Settings.h" | |
52 #include "core/platform/graphics/GraphicsContext.h" | |
53 #include "core/platform/network/ResourceRequest.h" | |
54 #include "weborigin/SecurityOrigin.h" | 47 #include "weborigin/SecurityOrigin.h" |
55 | 48 |
56 using namespace std; | 49 using namespace std; |
57 | 50 |
58 namespace WebCore { | 51 namespace WebCore { |
59 | 52 |
60 namespace InspectorAgentState { | 53 namespace InspectorAgentState { |
61 static const char inspectorAgentEnabled[] = "inspectorAgentEnabled"; | 54 static const char inspectorAgentEnabled[] = "inspectorAgentEnabled"; |
62 } | 55 } |
63 | 56 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 168 |
176 KURL InspectorAgent::inspectedURLWithoutFragment() const | 169 KURL InspectorAgent::inspectedURLWithoutFragment() const |
177 { | 170 { |
178 KURL url = inspectedURL(); | 171 KURL url = inspectedURL(); |
179 url.removeFragmentIdentifier(); | 172 url.removeFragmentIdentifier(); |
180 return url; | 173 return url; |
181 } | 174 } |
182 | 175 |
183 } // namespace WebCore | 176 } // namespace WebCore |
184 | 177 |
OLD | NEW |