OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 void didFailLoading(unsigned long identifier, DocumentLoader*, const Resourc
eError&); | 97 void didFailLoading(unsigned long identifier, DocumentLoader*, const Resourc
eError&); |
98 void didCommitLoad(Frame*, DocumentLoader*); | 98 void didCommitLoad(Frame*, DocumentLoader*); |
99 void scriptImported(unsigned long identifier, const String& sourceString); | 99 void scriptImported(unsigned long identifier, const String& sourceString); |
100 void didReceiveScriptResponse(unsigned long identifier); | 100 void didReceiveScriptResponse(unsigned long identifier); |
101 | 101 |
102 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie
r, ThreadableLoaderClient*); | 102 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie
r, ThreadableLoaderClient*); |
103 void willLoadXHR(ThreadableLoaderClient*, const String& method, const KURL&,
bool async, PassRefPtr<FormData> body, const HTTPHeaderMap& headers, bool inclu
deCrendentials); | 103 void willLoadXHR(ThreadableLoaderClient*, const String& method, const KURL&,
bool async, PassRefPtr<FormData> body, const HTTPHeaderMap& headers, bool inclu
deCrendentials); |
104 void didFailXHRLoading(ThreadableLoaderClient*); | 104 void didFailXHRLoading(ThreadableLoaderClient*); |
105 void didFinishXHRLoading(ThreadableLoaderClient*, unsigned long identifier,
ScriptString sourceString, const String&, const String&, unsigned); | 105 void didFinishXHRLoading(ThreadableLoaderClient*, unsigned long identifier,
ScriptString sourceString, const String&, const String&, unsigned); |
106 void didReceiveXHRResponse(unsigned long identifier); | 106 void didReceiveXHRResponse(unsigned long identifier); |
107 void willLoadXHRSynchronously(); | |
108 void didLoadXHRSynchronously(); | |
109 | 107 |
110 void willDestroyResource(Resource*); | 108 void willDestroyResource(Resource*); |
111 | 109 |
112 void applyUserAgentOverride(String* userAgent); | 110 void applyUserAgentOverride(String* userAgent); |
113 | 111 |
114 // FIXME: InspectorResourceAgent should now be aware of style recalculation. | 112 // FIXME: InspectorResourceAgent should now be aware of style recalculation. |
115 void willRecalculateStyle(Document*); | 113 void willRecalculateStyle(Document*); |
116 void didRecalculateStyle(); | 114 void didRecalculateStyle(); |
117 void didScheduleStyleRecalculation(Document*); | 115 void didScheduleStyleRecalculation(Document*); |
118 | 116 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 InspectorResourceAgent(InstrumentingAgents*, InspectorPageAgent*, InspectorC
lient*, InspectorCompositeState*, InspectorOverlay*); | 151 InspectorResourceAgent(InstrumentingAgents*, InspectorPageAgent*, InspectorC
lient*, InspectorCompositeState*, InspectorOverlay*); |
154 | 152 |
155 void enable(); | 153 void enable(); |
156 | 154 |
157 InspectorPageAgent* m_pageAgent; | 155 InspectorPageAgent* m_pageAgent; |
158 InspectorClient* m_client; | 156 InspectorClient* m_client; |
159 InspectorOverlay* m_overlay; | 157 InspectorOverlay* m_overlay; |
160 InspectorFrontend::Network* m_frontend; | 158 InspectorFrontend::Network* m_frontend; |
161 String m_userAgentOverride; | 159 String m_userAgentOverride; |
162 OwnPtr<NetworkResourcesData> m_resourcesData; | 160 OwnPtr<NetworkResourcesData> m_resourcesData; |
163 bool m_loadingXHRSynchronously; | |
164 | 161 |
165 typedef HashMap<ThreadableLoaderClient*, RefPtr<XHRReplayData> > PendingXHRR
eplayDataMap; | 162 typedef HashMap<ThreadableLoaderClient*, RefPtr<XHRReplayData> > PendingXHRR
eplayDataMap; |
166 PendingXHRReplayDataMap m_pendingXHRReplayData; | 163 PendingXHRReplayDataMap m_pendingXHRReplayData; |
167 | 164 |
168 typedef HashMap<String, RefPtr<TypeBuilder::Network::Initiator> > FrameNavig
ationInitiatorMap; | 165 typedef HashMap<String, RefPtr<TypeBuilder::Network::Initiator> > FrameNavig
ationInitiatorMap; |
169 FrameNavigationInitiatorMap m_frameNavigationInitiatorMap; | 166 FrameNavigationInitiatorMap m_frameNavigationInitiatorMap; |
170 | 167 |
171 // FIXME: InspectorResourceAgent should now be aware of style recalculation. | 168 // FIXME: InspectorResourceAgent should now be aware of style recalculation. |
172 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; | 169 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; |
173 bool m_isRecalculatingStyle; | 170 bool m_isRecalculatingStyle; |
174 }; | 171 }; |
175 | 172 |
176 } // namespace WebCore | 173 } // namespace WebCore |
177 | 174 |
178 | 175 |
179 #endif // !defined(InspectorResourceAgent_h) | 176 #endif // !defined(InspectorResourceAgent_h) |
OLD | NEW |