Home | History | Annotate | Download | only in dom

Lines Matching full:frame

59 #include "Frame.h"
320 Frame* frame = node->document()->frame();
321 if (!frame || !root)
324 return frame->editor()->shouldBeginEditing(rangeOfContents(root).get());
369 Document::Document(Frame* frame, bool isXHTML, bool isHTML)
425 m_frame = frame;
608 if (Frame *f = frame())
943 if (Frame* f = frame()) {
1014 Frame* frame = this->frame();
1015 if (!frame)
1017 FrameView* frameView = frame->view();
1021 float zoomFactor = frame->pageZoomFactor();
1044 Frame* frame = this->frame();
1045 if (!frame)
1047 FrameView* frameView = frame->view();
1051 float zoomFactor = frame->pageZoomFactor();
1198 if (Frame* f = frame())
1577 // This is required, as our Frame might delete itself as soon as it detaches
1580 // or this setting of the frame to 0 could be made explicit in each of the
1679 // FIXME: this should probably pass the frame instead
1787 Frame* frame = this->frame();
1788 if (frame) {
1790 FrameLoader* frameLoader = frame->loader();
1794 // Because we have no frame, we don't know if all loading has completed,
1809 bool wasLocationChangePending = frame() && frame()->redirectScheduler()->locationChangePending();
1847 Frame* f = frame();
1871 // An event handler may have removed the frame
1872 if (!frame())
1879 if (frame()->redirectScheduler()->locationChangePending() && elapsedTime() < cLayoutScheduleThreshold) {
1886 frame()->loader()->checkCallImplicitClose();
2057 return frame() ? frame()->loader()->userAgent(url) : String();
2327 if (frame())
2328 frame()->settings()->setMetadataSettings(key, value);
2337 Frame* frame = this->frame();
2352 if (frame && parseHTTPRefresh(content, true, delay, url)) {
2354 url = frame->loader()->url().string();
2357 frame->redirectScheduler()->scheduleRedirect(delay, url);
2369 else if (equalIgnoringCase(equiv, "x-frame-options")) {
2370 FrameLoader* frameLoader = frame->loader();
2373 frame->redirectScheduler()->scheduleLocationChange(blankURL(), String());
2790 if (frame())
2791 frame()->eventHandler()->scheduleHoverStateUpdate();
2867 frame()->editor()->didEndEditing();
2896 frame()->editor()->didBeginEditing();
2988 if (Frame* frame = this->frame()) {
2989 frame->selection()->nodeWillBeRemoved(n);
2990 frame->dragCaretController()->nodeWillBeRemoved(n);
3045 if (!frame())
3048 // The m_frame pointer is not (not always?) zeroed out when the document is put into b/f cache, so the frame can hold an unrelated document/window pair.
3049 // FIXME: We should always zero out the frame pointer on navigation to avoid accidentally accessing the new frame content.
3053 return frame()->domWindow();
3207 if (!frame())
3209 return frame()->ownerElement();
3256 if (frame())
3257 return frame()->loader()->referrer();
3321 Frame* f = frame();
3576 Frame* frame = document->frame();
3577 if (!frame || frame->document() != document)
3579 return frame->editor()->command(commandName,
4108 processor->createDocumentFromSource(newSource, resultEncoding, resultMIMEType, this, frame());
4141 Frame *childPart = frame();
4144 Frame *parent = childPart->tree()->parent();
4281 if (Frame* f = frame()) {
4532 // find one via the frame hierarchy.
4534 Frame* ownerFrame = m_frame->tree()->parent();
4567 currentPage->chrome()->client()->exceededDatabaseQuota(document()->frame(), name);
4579 Frame* f = frame();
4589 Frame* f = frame();
4657 return frame() ? frame()->domWindow()->getSelection() : 0;
4713 // Inherit DNS prefetch opt-out from parent frame
4760 Frame* frame = this->frame();
4761 if (frame) {
4762 FrameLoader* frameLoader = frame->loader();
4877 if (!frame() || !frame()->loader())
4882 return frame()->loader()->responseMIMEType() == "application/vnd.wap.xhtml+xml" || frame()->loader()->responseMIMEType() == "application/xhtml+xml";