Lines Matching refs:Frame
149 WebFrame* kit(Frame* frame)
151 if (!frame)
154 FrameLoaderClient* frameLoaderClient = frame->loader()->client();
160 Frame* core(WebFrame* webFrame)
167 // This function is not in WebFrame.h because we don't want to advertise the ability to get a non-const Frame from a const WebFrame
168 Frame* core(const WebFrame* webFrame)
232 : frame(0)
239 FrameView* frameView() { return frame ? frame->view() : 0; }
241 Frame* frame;
280 if (Frame* frame = core(this))
281 if (FrameView* view = frame->view())
291 if (Frame* frame = core(this))
292 if (FrameView* view = frame->view())
301 if (Frame* frame = core(this)) {
302 frame->setIsDisconnected(flag);
312 if (Frame* frame = core(this)) {
313 frame->setExcludeFromTextSearch(flag);
322 Frame* coreFrame = core(this);
334 Frame* coreFrame = core(this);
367 Frame* coreFrame = core(this);
438 Frame* coreFrame = core(this);
474 if (Frame* coreFrame = core(this))
488 Frame* coreFrame = core(this);
509 if (Frame* coreFrame = core(this)) {
519 Frame* coreFrame = core(this);
528 Frame* coreFrame = core(this);
548 Frame* coreFrame = core(this);
574 // This method is only called from IWebFrame methods, so don't ASSERT that the Frame pointer isn't null.
575 if (Frame* coreFrame = core(this))
661 Frame* coreFrame = core(this);
685 Frame* coreFrame = core(this);
701 Frame* coreFrame = core(this);
710 if (Frame* coreFrame = core(this))
717 Frame* coreFrame = core(this);
727 /* [retval][out] */ IWebFrame** frame)
729 if (!frame) {
734 *frame = 0;
736 Frame* coreFrame = core(this);
740 Frame* foundFrame = coreFrame->tree()->find(AtomicString(name, SysStringLen(name)));
748 return foundWebFrame->QueryInterface(IID_IWebFrame, (void**)frame);
752 /* [retval][out] */ IWebFrame** frame)
755 *frame = 0;
756 if (Frame* coreFrame = core(this))
758 hr = webFrame->QueryInterface(IID_IWebFrame, (void**) frame);
766 EnumChildFrames(Frame* f) : m_refCount(1), m_frame(f), m_curChild(f ? f->tree()->firstChild() : 0) { }
844 Frame* m_frame;
845 Frame* m_curChild;
865 Frame* coreFrame = core(this);
879 Frame* coreFrame = core(this);
901 Frame* coreFrame = core(this);
922 Frame* coreFrame = core(this);
938 Frame* coreFrame = core(this);
952 Frame* coreFrame = core(this);
974 Frame* coreFrame = core(this);
992 Frame* coreFrame = core(this);
1010 Frame* coreFrame = core(this);
1028 Frame* coreFrame = core(this);
1038 if (Frame* coreFrame = core(this))
1058 Frame* coreFrame = core(this);
1070 Frame* coreFrame = core(this);
1087 PassRefPtr<Frame> WebFrame::init(IWebView* webView, Page* page, HTMLFrameOwnerElement* ownerElement)
1096 RefPtr<Frame> frame = Frame::create(page, ownerElement, this);
1097 d->frame = frame.get();
1098 return frame.release();
1101 Frame* WebFrame::impl()
1103 return d->frame;
1108 Frame* coreFrame = core(this);
1124 Frame* coreFrame = core(this);
1134 Frame* coreFrame = core(this);
1204 Frame* frame = core(this);
1205 if (!frame)
1208 AnimationController* controller = frame->animation();
1227 Frame* frame
1228 if (!frame)
1231 AnimationController* controller = frame->animation();
1250 Frame* frame = core(this);
1251 if (!frame)
1254 Document* document = frame->document();
1277 Frame* frame = core(this);
1278 if (!frame)
1281 FrameView* view = frame->view();
1296 Frame* frame = core(this);
1297 if (!frame)
1300 AnimationController* controller = frame->animation();
1310 Frame* frame = core(this);
1311 if (!frame)
1314 frame->animation()->suspendAnimations();
1320 Frame* frame = core(this);
1321 if (!frame)
1324 frame->animation()->resumeAnimations();
1335 Frame* frame = core(this);
1336 if (!frame)
1339 Document* document = frame->document();
1351 Frame* frame = core(this);
1352 if (!frame)
1355 *result = frame->document()->securityOrigin()->canDisplay(MarshallingHelpers::BSTRToKURL(url));
1412 Frame* coreFrame = core(this);
1452 Frame* coreFrame = core(this);
1500 Frame* frame = core(this);
1501 if (!frame)
1504 String text = frame->layerTreeAsText();
1511 // The FrameLoader going away is equivalent to the Frame going away,
1512 // so we now need to clear our frame pointer.
1513 d->frame = 0;
1555 Frame* coreFrame = core(this);
1741 Frame* coreFrame = core(this);
1760 Frame* coreFrame = core(this);
1768 Frame* coreFrame = core(this);
1785 Frame* coreFrame = core(this);
1803 Frame* coreFrame = core(this);
1896 resourceLoadDelegate->plugInFailedWithError(d->webView, error.get(), getWebDataSource(d->frame->loader()->documentLoader()));
1914 Frame* coreFrame = core(this);
1979 Frame* coreFrame = core(this);
1981 coreFrame->setPrinting(printing, FloatSize(minPageWidth, minPageHeight), maxPageWidth / minPageWidth, adjustViewSize ? Frame::AdjustViewSize : Frame::DoNotAdjustViewSize);
1991 Frame* coreFrame = core(this);
2067 Frame* coreFrame = core(this);
2106 Frame* coreFrame = core(this);
2135 Frame* coreFrame = core(this);
2232 Frame* coreFrame = core(this);
2367 Frame* coreFrame = core(this);
2413 Frame* coreFrame = core(this);
2426 Frame* coreFrame = core(this);
2443 Frame* coreFrame = core(this);
2461 Frame* coreFrame = core(this);
2482 Frame* coreFrame = core(this);
2502 Frame* coreFrame = core(this);
2524 Frame* coreFrame = core(this);
2546 Frame* coreFrame = core(this);
2549 // Start off with some guess at a frame and a global object, we'll try to do better...!
2557 // Get the frame frome the global object we've settled on.
2558 Frame* frame = anyWorldGlobalObject->impl()->frame();
2559 ASSERT(frame->document());
2560 JSValue result = frame->script()->executeScriptInWorld(world->world(), string, true).jsValue();
2562 if (!frame) // In case the script removed our frame from the page.
2580 Frame* coreFrame = core(this);
2581 for (Frame* frame = coreFrame; frame; frame = frame->tree()->traverseNext(coreFrame)) {
2582 Document *doc = frame->document();
2592 Frame* coreFrame = core(this);
2593 for (Frame* frame = coreFrame; frame; frame = frame->tree()->traverseNext(coreFrame)) {
2594 Document *doc = frame->document();
2614 Frame* coreFrame = core(this);
2621 // Either we've never had a wrapper for this frame's top-level Document,
2633 Frame* coreFrame = core(this);