OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Google Inc. All rights reserved. | 2 * Copyright (C) 2007 Google Inc. All rights reserved. |
3 * Authors: Collin Jackson, Adam Barth | 3 * Authors: Collin Jackson, Adam Barth |
4 * | 4 * |
5 * This is the V8 version of the KJS InspectorController, which is located in | 5 * This is the V8 version of the KJS InspectorController, which is located in |
6 * webkit/pending. | 6 * webkit/pending. |
7 * Copyright (C) 2007 Apple Inc. All rights reserved. | 7 * Copyright (C) 2007 Apple Inc. All rights reserved. |
8 * | 8 * |
9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
10 * modification, are permitted provided that the following conditions | 10 * modification, are permitted provided that the following conditions |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 sourceString = str; | 172 sourceString = str; |
173 } | 173 } |
174 | 174 |
175 ~XMLHttpRequestResource() { } | 175 ~XMLHttpRequestResource() { } |
176 | 176 |
177 String sourceString; | 177 String sourceString; |
178 }; | 178 }; |
179 | 179 |
180 // InspectorResource Struct | 180 // InspectorResource Struct |
181 | 181 |
182 struct InspectorResource : public RefCounted<InspectorResource> { | 182 class InspectorResource : public RefCounted<InspectorResource> { |
| 183 public: |
183 // Keep these in sync with WebInspector.Resource.Type | 184 // Keep these in sync with WebInspector.Resource.Type |
184 enum Type { | 185 enum Type { |
185 Doc, | 186 Doc, |
186 Stylesheet, | 187 Stylesheet, |
187 Image, | 188 Image, |
188 Font, | 189 Font, |
189 Script, | 190 Script, |
190 XHR, | 191 XHR, |
191 Media, | 192 Media, |
192 Other | 193 Other |
(...skipping 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2062 } | 2063 } |
2063 | 2064 |
2064 bool InspectorController::stopTiming(const String& title, double& elapsed) | 2065 bool InspectorController::stopTiming(const String& title, double& elapsed) |
2065 { | 2066 { |
2066 elapsed = 0; | 2067 elapsed = 0; |
2067 notImplemented(); | 2068 notImplemented(); |
2068 return false; | 2069 return false; |
2069 } | 2070 } |
2070 | 2071 |
2071 } // namespace WebCore | 2072 } // namespace WebCore |
OLD | NEW |