| 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 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 bool hasInspectorFrontendClient() const { return m_inspectorFrontendClient;
} | 152 bool hasInspectorFrontendClient() const { return m_inspectorFrontendClient;
} |
| 153 | 153 |
| 154 void inspectedWindowScriptObjectCleared(Frame*); | 154 void inspectedWindowScriptObjectCleared(Frame*); |
| 155 | 155 |
| 156 void didCommitLoad(DocumentLoader*); | 156 void didCommitLoad(DocumentLoader*); |
| 157 void frameDetachedFromParent(Frame*); | 157 void frameDetachedFromParent(Frame*); |
| 158 void didLoadResourceFromMemoryCache(DocumentLoader*, const CachedResource*); | 158 void didLoadResourceFromMemoryCache(DocumentLoader*, const CachedResource*); |
| 159 | 159 |
| 160 void identifierForInitialRequest(unsigned long identifier, DocumentLoader*,
const ResourceRequest&); | 160 void identifierForInitialRequest(unsigned long identifier, DocumentLoader*,
const ResourceRequest&); |
| 161 void willSendRequest(unsigned long identifier, ResourceRequest&, const Resou
rceResponse& redirectResponse); | 161 void willSendRequest(unsigned long identifier, ResourceRequest&, const Resou
rceResponse& redirectResponse); |
| 162 void markResourceAsCached(unsigned long identifier); |
| 162 void didReceiveResponse(unsigned long identifier, const ResourceResponse&); | 163 void didReceiveResponse(unsigned long identifier, const ResourceResponse&); |
| 163 void didReceiveContentLength(unsigned long identifier, int lengthReceived); | 164 void didReceiveContentLength(unsigned long identifier, int lengthReceived); |
| 164 void didFinishLoading(unsigned long identifier); | 165 void didFinishLoading(unsigned long identifier); |
| 165 void didFailLoading(unsigned long identifier, const ResourceError&); | 166 void didFailLoading(unsigned long identifier, const ResourceError&); |
| 166 void resourceRetrievedByXMLHttpRequest(unsigned long identifier, const Scrip
tString& sourceString, const String& url, const String& sendURL, unsigned sendLi
neNumber); | 167 void resourceRetrievedByXMLHttpRequest(unsigned long identifier, const Scrip
tString& sourceString, const String& url, const String& sendURL, unsigned sendLi
neNumber); |
| 167 void scriptImported(unsigned long identifier, const String& sourceString); | 168 void scriptImported(unsigned long identifier, const String& sourceString); |
| 168 | 169 |
| 169 void enableResourceTracking(bool always = false, bool reload = true); | 170 void enableResourceTracking(bool always = false, bool reload = true); |
| 170 void disableResourceTracking(bool always = false); | 171 void disableResourceTracking(bool always = false); |
| 171 bool resourceTrackingEnabled() const { return m_resourceTrackingEnabled; } | 172 bool resourceTrackingEnabled() const { return m_resourceTrackingEnabled; } |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 if (inspectorController->hasFrontend()) | 442 if (inspectorController->hasFrontend()) |
| 442 return inspectorController; | 443 return inspectorController; |
| 443 } | 444 } |
| 444 } | 445 } |
| 445 return 0; | 446 return 0; |
| 446 } | 447 } |
| 447 | 448 |
| 448 } // namespace WebCore | 449 } // namespace WebCore |
| 449 | 450 |
| 450 #endif // !defined(InspectorController_h) | 451 #endif // !defined(InspectorController_h) |
| OLD | NEW |