MockPagePopupDriver.cpp | 55 RefPtr<HTMLIFrameElement> m_iframe; member in class:WebCore::MockPagePopup 64 m_iframe = HTMLIFrameElement::create(HTMLNames::iframeTag, document); 65 m_iframe->setIdAttribute("mock-page-popup"); 66 m_iframe->setInlineStyleProperty(CSSPropertyBorderWidth, 0.0, CSSPrimitiveValue::CSS_PX); 67 m_iframe->setInlineStyleProperty(CSSPropertyPosition, CSSValueAbsolute); 68 m_iframe->setInlineStyleProperty(CSSPropertyLeft, originBoundsInRootView.x(), CSSPrimitiveValue::CSS_PX, true); 69 m_iframe->setInlineStyleProperty(CSSPropertyTop, originBoundsInRootView.maxY(), CSSPrimitiveValue::CSS_PX, true); 71 document->body()->appendChild(m_iframe.get(), ASSERT_NO_EXCEPTION, AttachLazily); 72 Frame* contentFrame = m_iframe->contentFrame(); 102 if (m_iframe && m_iframe->parentNode() [all...] |