| 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 18 matching lines...) Expand all Loading... |
| 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/DOMWrapperWorld.h" | 37 #include "bindings/v8/DOMWrapperWorld.h" |
| 38 #include "bindings/v8/ScriptController.h" | 38 #include "bindings/v8/ScriptController.h" |
| 39 #include "bindings/v8/ScriptFunctionCall.h" | |
| 40 #include "bindings/v8/ScriptObject.h" | |
| 41 #include "core/dom/Document.h" | 39 #include "core/dom/Document.h" |
| 42 #include "core/inspector/InjectedScriptHost.h" | 40 #include "core/inspector/InjectedScriptHost.h" |
| 43 #include "core/inspector/InjectedScriptManager.h" | 41 #include "core/inspector/InjectedScriptManager.h" |
| 44 #include "core/inspector/InspectorController.h" | |
| 45 #include "core/inspector/InspectorInstrumentation.h" | |
| 46 #include "core/inspector/InspectorState.h" | 42 #include "core/inspector/InspectorState.h" |
| 47 #include "core/inspector/InspectorValues.h" | 43 #include "core/inspector/InspectorValues.h" |
| 48 #include "core/inspector/InstrumentingAgents.h" | 44 #include "core/inspector/InstrumentingAgents.h" |
| 49 #include "core/loader/DocumentLoader.h" | 45 #include "core/loader/DocumentLoader.h" |
| 50 #include "core/page/Frame.h" | 46 #include "core/page/Frame.h" |
| 51 #include "core/page/Page.h" | 47 #include "core/page/Page.h" |
| 52 #include "core/page/Settings.h" | |
| 53 #include "core/platform/graphics/GraphicsContext.h" | |
| 54 #include "core/platform/network/ResourceRequest.h" | |
| 55 #include "weborigin/SecurityOrigin.h" | 48 #include "weborigin/SecurityOrigin.h" |
| 56 | 49 |
| 57 using namespace std; | 50 using namespace std; |
| 58 | 51 |
| 59 namespace WebCore { | 52 namespace WebCore { |
| 60 | 53 |
| 61 namespace InspectorAgentState { | 54 namespace InspectorAgentState { |
| 62 static const char inspectorAgentEnabled[] = "inspectorAgentEnabled"; | 55 static const char inspectorAgentEnabled[] = "inspectorAgentEnabled"; |
| 63 } | 56 } |
| 64 | 57 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 | 175 |
| 183 KURL InspectorAgent::inspectedURLWithoutFragment() const | 176 KURL InspectorAgent::inspectedURLWithoutFragment() const |
| 184 { | 177 { |
| 185 KURL url = inspectedURL(); | 178 KURL url = inspectedURL(); |
| 186 url.removeFragmentIdentifier(); | 179 url.removeFragmentIdentifier(); |
| 187 return url; | 180 return url; |
| 188 } | 181 } |
| 189 | 182 |
| 190 } // namespace WebCore | 183 } // namespace WebCore |
| 191 | 184 |
| OLD | NEW |