Home | History | Annotate | Download | only in loader

Lines Matching refs:Frame

41 #include "Frame.h"
70 virtual void fire(Frame*) = 0;
72 virtual bool shouldStartTimer(Frame*) { return true; }
73 virtual void didStartTimer(Frame*, Timer<NavigationScheduler>*) { }
74 virtual void didStopTimer(Frame*, bool /* newLoadInProgress */) { }
106 virtual void fire(Frame* frame)
109 frame->loader()->changeLocation(m_securityOrigin, KURL(ParsedURLString, m_url), m_referrer, lockHistory(), lockBackForwardList(), false);
112 virtual void didStartTimer(Frame* frame, Timer<NavigationScheduler>* timer)
117 frame->loader()->clientRedirected(KURL(ParsedURLString, m_url), delay(), currentTime() + timer->nextFireInterval(), lockBackForwardList());
120 virtual void didStopTimer(Frame* frame, bool newLoadInProgress)
124 frame->loader()->clientRedirectCancelledOrFinished(newLoadInProgress);
146 virtual bool shouldStartTimer(Frame* frame) { return frame->loader()->allAncestorsAreComplete(); }
162 virtual void fire(Frame* frame)
165 frame->loader()->changeLocation(securityOrigin(), KURL(ParsedURLString, url()), referrer(), lockHistory(), lockBackForwardList(), true);
177 virtual void fire(Frame* frame)
182 // Special case for go(0) from a frame -> reload only the frame
183 // To follow Firefox and IE's behavior, history reload can only navigate the self frame.
184 frame->loader()->urlSelected(frame->document()->url(), "_self", 0, lockHistory(), lockBackForwardList(), SendReferrer);
187 // go(i!=0) from a frame navigates into the history of the frame only,
189 frame->page()->backForward()->goBackOrForward(m_historySteps);
206 virtual void fire(Frame* frame)
210 // The submitForm function will find a target frame before using the redirection timer.
214 Frame* requestingFrame = m_submission->state()->sourceFrame();
215 if (!requestingFrame->loader()->shouldAllowNavigation(frame))
219 frame->loader()->loadFrameRequest(frameRequest, lockHistory(), lockBackForwardList(), m_submission->event(), m_submission->state(), SendReferrer);
222 virtual void didStartTimer(Frame* frame, Timer<NavigationScheduler>* timer)
227 frame->loader()->clientRedirected(m_submission->requestURL(), delay(), currentTime() + timer->nextFireInterval(), lockBackForwardList());
230 virtual void didStopTimer(Frame* frame, bool newLoadInProgress)
234 frame->loader()->clientRedirectCancelledOrFinished(newLoadInProgress);
242 NavigationScheduler::NavigationScheduler(Frame* frame)
243 : m_frame(frame)
292 bool NavigationScheduler::mustLockBackForwardList(Frame* targetFrame)
299 // Navigation of a subframe during loading of an ancestor frame does not create a new back/forward item.
302 for (Frame* ancestor = targetFrame->tree()->parent(); ancestor; ancestor = ancestor->tree()->parent()) {
330 // This may happen when a frame changes the location of another frame.
344 // This may happen when a frame changes the location of another frame.
347 // If this is a child frame and the form submission was triggered by a script, lock the back/forward list