Home | History | Annotate | Download | only in inspector

Lines Matching refs:Frame

35 #include "Frame.h"
73 static void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*);
92 static InspectorInstrumentationCookie willCallFunction(Frame*, const String& scriptName, int scriptLine);
98 static InspectorInstrumentationCookie willDispatchEventOnWindow(Frame*, const Event& event, DOMWindow* window);
100 static InspectorInstrumentationCookie willEvaluateScript(Frame*, const String& url, int lineNumber);
104 static InspectorInstrumentationCookie willLayout(Frame*);
108 static InspectorInstrumentationCookie willPaint(Frame*, const IntRect& rect);
113 static void applyUserAgentOverride(Frame*, String*);
114 static void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse);
117 static InspectorInstrumentationCookie willReceiveResourceData(Frame*, unsigned long identifier);
119 static InspectorInstrumentationCookie willReceiveResourceResponse(Frame*, unsigned long identifier, const ResourceResponse&);
121 static void continueAfterXFrameOptionsDenied(Frame*, DocumentLoader*, unsigned long identifier, const ResourceResponse&);
122 static void continueWithPolicyDownload(Frame*, DocumentLoader*, unsigned long identifier, const ResourceResponse&);
123 static void continueWithPolicyIgnore(Frame*, DocumentLoader*, unsigned long identifier, const ResourceResponse&);
124 static void didReceiveContentLength(Frame*, unsigned long identifier, int dataLength, int encodedDataLength);
125 static void didFinishLoading(Frame*, unsigned long identifier, double finishTime);
126 static void didFailLoading(Frame*, unsigned long identifier, const ResourceError&);
129 static void domContentLoadedEventFired(Frame*, const KURL&);
130 static void loadEventFired(Frame*, const KURL&);
131 static void frameDetachedFromParent(Frame*);
132 static void didCommitLoad(Frame*, DocumentLoader*);
156 static void didUseDOMStorage(Page*, StorageArea*, bool isLocalStorage, Frame*);
174 static void updateApplicationCacheStatus(Frame*);
191 static void didClearWindowObjectInWorldImpl(InspectorAgent*, Frame*, DOMWrapperWorld*);
240 static void didReceiveResourceResponseButCanceledImpl(Frame*, DocumentLoader*, unsigned long identifier, const ResourceResponse&);
241 static void continueAfterXFrameOptionsDeniedImpl(Frame*, DocumentLoader*, unsigned long identifier, const ResourceResponse&);
242 static void continueWithPolicyDownloadImpl(Frame*, DocumentLoader*, unsigned long identifier, const ResourceResponse&);
243 static void continueWithPolicyIgnoreImpl(Frame*, DocumentLoader*, unsigned long identifier, const ResourceResponse&);
249 static void domContentLoadedEventFiredImpl(InspectorAgent*, Frame*, const KURL&);
250 static void loadEventFiredImpl(InspectorAgent*, Frame*, const KURL&);
251 static void frameDetachedFromParentImpl(InspectorAgent*, Frame*);
276 static void didUseDOMStorageImpl(InspectorAgent*, StorageArea*, bool isLocalStorage, Frame*);
293 static void updateApplicationCacheStatusImpl(InspectorAgent*, Frame*);
296 static InspectorAgent* inspectorAgentForFrame(Frame*);
301 static InspectorAgent* inspectorAgentWithFrontendForFrame(Frame*);
317 inline void InspectorInstrumentation::didClearWindowObjectInWorld(Frame* frame, DOMWrapperWorld* world)
320 if (InspectorAgent* inspectorAgent = inspectorAgentForFrame(frame))
321 didClearWindowObjectInWorldImpl(inspectorAgent, frame, world);
441 inline InspectorInstrumentationCookie InspectorInstrumentation::willCallFunction(Frame* frame, const String& scriptName, int scriptLine)
444 if (InspectorAgent* inspectorAgent = inspectorAgentWithFrontendForFrame(frame))
492 inline InspectorInstrumentationCookie InspectorInstrumentation::willDispatchEventOnWindow(Frame* frame, const Event& event, DOMWindow* window)
495 if (InspectorAgent* inspectorAgent = inspectorAgentWithFrontendForFrame(frame))
509 inline InspectorInstrumentationCookie InspectorInstrumentation::willEvaluateScript(Frame* frame, const String& url, int lineNumber)
512 if (InspectorAgent* inspectorAgent = inspectorAgentWithFrontendForFrame(frame))
543 inline InspectorInstrumentationCookie InspectorInstrumentation::willLayout(Frame* frame)
546 if (InspectorAgent* inspectorAgent = inspectorAgentWithFrontendForFrame(frame))
577 inline InspectorInstrumentationCookie InspectorInstrumentation::willPaint(Frame* frame, const IntRect& rect)
580 if (InspectorAgent* inspectorAgent = inspectorAgentWithFrontendForFrame(frame))
611 inline void InspectorInstrumentation::applyUserAgentOverride(Frame* frame, String* userAgent)
614 if (InspectorAgent* inspectorAgent = inspectorAgentWithFrontendForFrame(frame))
619 inline void InspectorInstrumentation::willSendRequest(Frame* frame, unsigned long identifier, DocumentLoader* loader, ResourceRequest& request, const ResourceResponse& redirectResponse)
622 if (InspectorAgent* ic = inspectorAgentForFrame(frame))
641 inline InspectorInstrumentationCookie InspectorInstrumentation::willReceiveResourceData(Frame* frame, unsigned long identifier)
644 if (InspectorAgent* inspectorAgent = inspectorAgentWithFrontendForFrame(frame))
658 inline InspectorInstrumentationCookie InspectorInstrumentation::willReceiveResourceResponse(Frame* frame, unsigned long identifier, const ResourceResponse& response)
661 if (InspectorAgent* inspectorAgent = inspectorAgentForFrame(frame))
675 inline void InspectorInstrumentation::continueAfterXFrameOptionsDenied(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r)
678 if (inspectorAgentWithFrontendForFrame(frame))
679 InspectorInstrumentation::continueAfterXFrameOptionsDeniedImpl(frame, loader, identifier, r);
683 inline void InspectorInstrumentation::continueWithPolicyDownload(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r)
686 if (inspectorAgentWithFrontendForFrame(frame))
687 InspectorInstrumentation::continueWithPolicyDownloadImpl(frame, loader, identifier, r);
691 inline void InspectorInstrumentation::continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r)
694 if (inspectorAgentWithFrontendForFrame(frame))
695 frame, loader, identifier, r);
699 inline void InspectorInstrumentation::didReceiveContentLength(Frame* frame, unsigned long identifier, int dataLength, int encodedDataLength)
702 if (InspectorAgent* inspectorAgent = inspectorAgentForFrame(frame))
707 inline void InspectorInstrumentation::didFinishLoading(Frame* frame, unsigned long identifier, double finishTime)
710 if (InspectorAgent* inspectorAgent = inspectorAgentForFrame(frame))
715 inline void InspectorInstrumentation::didFailLoading(Frame* frame, unsigned long identifier, const ResourceError& error)
718 if (InspectorAgent* inspectorAgent = inspectorAgentForFrame(frame))
739 inline void InspectorInstrumentation::domContentLoadedEventFired(Frame* frame, const KURL& url)
742 if (InspectorAgent* inspectorAgent = inspectorAgentForFrame(frame))
743 domContentLoadedEventFiredImpl(inspectorAgent, frame, url);
747 inline void InspectorInstrumentation::loadEventFired(Frame* frame, const KURL& url)
750 if (InspectorAgent* inspectorAgent = inspectorAgentForFrame(frame))
751 loadEventFiredImpl(inspectorAgent, frame, url);
755 inline void InspectorInstrumentation::frameDetachedFromParent(Frame* frame)
758 if (InspectorAgent* inspectorAgent = inspectorAgentForFrame(frame))
759 frameDetachedFromParentImpl(inspectorAgent, frame);
763 inline void InspectorInstrumentation::didCommitLoad(Frame* frame, DocumentLoader* loader)
766 if (!frame)
768 Page* page = frame->page();
794 inline void InspectorInstrumentation::didUseDOMStorage(Page* page, StorageArea* storageArea, bool isLocalStorage, Frame* frame)
798 didUseDOMStorageImpl(inspectorAgent, storageArea, isLocalStorage, frame);
865 inline void InspectorInstrumentation::updateApplicationCacheStatus(Frame* frame)
868 if (InspectorAgent* inspectorAgent = inspectorAgentWithFrontendForFrame(frame))
869 updateApplicationCacheStatusImpl(inspectorAgent, frame);
890 inline InspectorAgent* InspectorInstrumentation::inspectorAgentForFrame(Frame* frame)
892 if (frame)
893 return inspectorAgentForPage(frame->page());
918 inline InspectorAgent* InspectorInstrumentation::inspectorAgentWithFrontendForFrame(Frame* frame)
920 if (hasFrontends() && frame)
921 return inspectorAgentWithFrontendForPage(frame->page());