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 26 matching lines...) Expand all Loading... |
37 #include "core/dom/Document.h" | 37 #include "core/dom/Document.h" |
38 #include "core/inspector/InjectedScriptHost.h" | 38 #include "core/inspector/InjectedScriptHost.h" |
39 #include "core/inspector/InjectedScriptManager.h" | 39 #include "core/inspector/InjectedScriptManager.h" |
40 #include "core/inspector/InspectorController.h" | 40 #include "core/inspector/InspectorController.h" |
41 #include "core/inspector/InspectorState.h" | 41 #include "core/inspector/InspectorState.h" |
42 #include "core/inspector/InstrumentingAgents.h" | 42 #include "core/inspector/InstrumentingAgents.h" |
43 #include "core/loader/DocumentLoader.h" | 43 #include "core/loader/DocumentLoader.h" |
44 #include "core/frame/Frame.h" | 44 #include "core/frame/Frame.h" |
45 #include "core/page/Page.h" | 45 #include "core/page/Page.h" |
46 #include "platform/JSONValues.h" | 46 #include "platform/JSONValues.h" |
47 #include "weborigin/SecurityOrigin.h" | 47 #include "platform/weborigin/SecurityOrigin.h" |
48 #include "wtf/text/StringBuilder.h" | 48 #include "wtf/text/StringBuilder.h" |
49 | 49 |
50 namespace WebCore { | 50 namespace WebCore { |
51 | 51 |
52 namespace InspectorAgentState { | 52 namespace InspectorAgentState { |
53 static const char inspectorAgentEnabled[] = "inspectorAgentEnabled"; | 53 static const char inspectorAgentEnabled[] = "inspectorAgentEnabled"; |
54 } | 54 } |
55 | 55 |
56 InspectorAgent::InspectorAgent(Page* page, InjectedScriptManager* injectedScript
Manager, InstrumentingAgents* instrumentingAgents, InspectorCompositeState* stat
e) | 56 InspectorAgent::InspectorAgent(Page* page, InjectedScriptManager* injectedScript
Manager, InstrumentingAgents* instrumentingAgents, InspectorCompositeState* stat
e) |
57 : InspectorBaseAgent<InspectorAgent>("Inspector", instrumentingAgents, state
) | 57 : InspectorBaseAgent<InspectorAgent>("Inspector", instrumentingAgents, state
) |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 KURL InspectorAgent::inspectedURLWithoutFragment() const | 179 KURL InspectorAgent::inspectedURLWithoutFragment() const |
180 { | 180 { |
181 KURL url = inspectedURL(); | 181 KURL url = inspectedURL(); |
182 url.removeFragmentIdentifier(); | 182 url.removeFragmentIdentifier(); |
183 return url; | 183 return url; |
184 } | 184 } |
185 | 185 |
186 } // namespace WebCore | 186 } // namespace WebCore |
187 | 187 |
OLD | NEW |