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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "InspectorState.h" | 43 #include "InspectorState.h" |
44 #include "InspectorValues.h" | 44 #include "InspectorValues.h" |
45 #include "InstrumentingAgents.h" | 45 #include "InstrumentingAgents.h" |
46 #include "Page.h" | 46 #include "Page.h" |
47 #include "ResourceRequest.h" | 47 #include "ResourceRequest.h" |
48 #include "ScriptController.h" | 48 #include "ScriptController.h" |
49 #include "ScriptFunctionCall.h" | 49 #include "ScriptFunctionCall.h" |
50 #include "ScriptObject.h" | 50 #include "ScriptObject.h" |
51 #include "SecurityOrigin.h" | 51 #include "SecurityOrigin.h" |
52 #include "Settings.h" | 52 #include "Settings.h" |
| 53 #include <wtf/text/StringBuilder.h> |
53 #include <wtf/PassRefPtr.h> | 54 #include <wtf/PassRefPtr.h> |
54 #include <wtf/RefPtr.h> | 55 #include <wtf/RefPtr.h> |
55 | 56 |
56 using namespace std; | 57 using namespace std; |
57 | 58 |
58 namespace WebCore { | 59 namespace WebCore { |
59 | 60 |
60 namespace InspectorAgentState { | 61 namespace InspectorAgentState { |
61 static const char inspectorAgentEnabled[] = "inspectorAgentEnabled"; | 62 static const char inspectorAgentEnabled[] = "inspectorAgentEnabled"; |
62 } | 63 } |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 176 |
176 KURL InspectorAgent::inspectedURLWithoutFragment() const | 177 KURL InspectorAgent::inspectedURLWithoutFragment() const |
177 { | 178 { |
178 KURL url = inspectedURL(); | 179 KURL url = inspectedURL(); |
179 url.removeFragmentIdentifier(); | 180 url.removeFragmentIdentifier(); |
180 return url; | 181 return url; |
181 } | 182 } |
182 | 183 |
183 } // namespace WebCore | 184 } // namespace WebCore |
184 | 185 |
OLD | NEW |