Home
last modified time | relevance | path

Searched refs:contentFrame (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/chrome/browser/ui/cocoa/
Dvalidation_message_bubble_cocoa.mm50 NSRect contentFrame = [contentView frame];
52 windowFrame.size.width = NSWidth(contentFrame) + kWindowPadding * 2;
53 windowFrame.size.height = NSHeight(contentFrame) + kWindowPadding * 2
64 NSRect contentFrame = NSMakeRect(kWindowPadding, kWindowPadding, 0, 0);
65 FlippedView* contentView = [[FlippedView alloc] initWithFrame:contentFrame];
74 contentFrame.size.height = image.size.height;
77 NSRect textFrame = NSMakeRect(textX, 0, NSWidth(contentFrame) - textX, 0);
99 contentFrame.size.width = NSMaxX(textFrame);
100 contentFrame.size.height =
101 std::max(NSHeight(contentFrame), NSHeight(textFrame));
[all …]
Dwebsite_settings_bubble_controller.mm318 NSRect contentFrame = NSMakeRect(0, 0, [self defaultWindowWidth], 300);
320 [[FlippedView alloc] initWithFrame:contentFrame]);
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFrameElementBase.cpp95 if (!contentFrame() || scriptURL.isEmpty()) in openURL()
97 contentFrame()->script().executeScriptIfJavaScriptURL(scriptURL); in openURL()
167 if (Frame* frame = contentFrame()) in attach()
197 page->focusController().setFocusedFrame(contentFrame()); in setFocus()
198 …else if (page->focusController().focusedFrame() == contentFrame()) // Focus may have already been … in setFocus()
DHTMLFrameOwnerElement.cpp83 if (Frame* frame = contentFrame()) { in disconnectContentFrame()
127 if (contentFrame()) { in loadOrRedirectSubframe()
128contentFrame()->navigationScheduler().scheduleLocationChange(&document(), url.string(), document()… in loadOrRedirectSubframe()
DHTMLFrameOwnerElement.h39 Frame* contentFrame() const { return m_contentFrame; } in contentFrame() function
DHTMLPlugInElement.cpp389 if (contentFrame() && protocolIsJavaScript(completeURL) in allowedToLoadFrameURL()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DMockPagePopupDriver.cpp72 Frame* contentFrame = m_iframe->contentFrame(); in MockPagePopup() local
73 …DocumentWriter* writer = contentFrame->loader().activeDocumentLoader()->beginWriting("text/html", … in MockPagePopup()
77 contentFrame->loader().activeDocumentLoader()->endWriting(writer); in MockPagePopup()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_window_controller.mm56 NSRect contentFrame = [contentView frame];
60 NSHeight(contentFrame));
69 NSRect contentFrame = [tabContentArea_ frame];
71 NSMakeRect(0, NSMaxY(contentFrame),
72 NSWidth(contentFrame),
83 NSRect contentFrame = [[[self window] contentView] frame];
84 contentAreaHeightDelta_ = NSHeight(contentFrame) - NSHeight(tabFrame);
89 tabFrame.size.height = contentFrame.size.height;
97 tabFrame.size.height = contentFrame.size.height;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderPart.cpp89 if (element->contentFrame() && element->contentFrame()->remotePlatformLayer()) in requiresAcceleratedCompositing()
DRenderLayerCompositor.cpp1793 …OwnerElement(frameRenderer->node())->contentFrame() && toHTMLFrameOwnerElement(frameRenderer->node… in requiresCompositingForFrame()
DCompositedLayerMapping.cpp517 …erer->node()->isFrameOwnerElement() && toHTMLFrameOwnerElement(renderer->node())->contentFrame()) { in updateGraphicsLayerConfiguration()
518 …blink::WebLayer* layer = toHTMLFrameOwnerElement(renderer->node())->contentFrame()->remotePlatform… in updateGraphicsLayerConfiguration()
/external/chromium_org/third_party/WebKit/Source/core/page/
DFocusController.cpp118 ASSERT(frame && frame->contentFrame()); in ownedByIFrame()
119 return FocusNavigationScope(frame->contentFrame()->document()); in ownedByIFrame()
289 if (!owner->contentFrame()) in findFocusableNodeDecendingDownIntoFrameDocument()
380 if (!owner->contentFrame()) in advanceFocusInDocumentOrder()
384 setFocusedFrame(owner->contentFrame()); in advanceFocusInDocumentOrder()
727 …if (frameOwnerElement(candidate) && (!frameOwnerElement(candidate)->contentFrame() || candidate.re… in updateFocusCandidateIfNeeded()
823 ASSERT(frameElement->contentFrame()); in advanceFocusDirectionallyInContainer()
834 frameElement->contentFrame()->document()->updateLayoutIgnorePendingStylesheets(); in advanceFocusDirectionallyInContainer()
835 …if (!advanceFocusDirectionallyInContainer(frameElement->contentFrame()->document(), rect, directio… in advanceFocusDirectionallyInContainer()
DPageSerializer.cpp156 Frame* frame = frameOwner->contentFrame(); in appendCustomAttributes()
DEventHandler.cpp1767 frame = toHTMLFrameElementBase(target)->contentFrame(); in targetIsFrame()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8HTMLFrameElementCustom.cpp51 …(locationValue)) && !BindingSecurity::shouldAllowAccessToFrame(frame->contentFrame(), exceptionSta… in locationAttributeSetterCustom()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DContainerNodeAlgorithms.cpp133 if (node.isFrameOwnerElement() && toHTMLFrameOwnerElement(node).contentFrame()) in assertConnectedSubrameCountIsConsistent()
DDocument.cpp933 if (frame() && frame()->tree().isDescendantOf(frameOwnerElement->contentFrame())) { in adoptNode()
/external/chromium_org/ui/message_center/cocoa/
Dnotification_controller.mm719 NSRect iconFrame, contentFrame;
720 NSDivideRect([[self view] bounds], &iconFrame, &contentFrame,
723 contentFrame.size.width -= NSWidth([closeButton_ frame]);
724 return contentFrame;
/external/chromium_org/third_party/WebKit/Source/web/
DWebPageSerializer.cpp116 if (Frame* frame = toHTMLFrameOwnerElement(element)->contentFrame()) { in retrieveResourcesForElement()
DWebFrameImpl.cpp726 return fromFrame(toHTMLFrameOwnerElement(node)->contentFrame()); in findChildByExpression()
2268 return fromFrame(toHTMLFrameOwnerElement(element)->contentFrame()); in fromFrameOwnerElement()
/external/chromium/chrome/browser/ui/cocoa/
Dpage_info_bubble_controller.mm273 NSRect contentFrame = NSMakeRect(0, 0, kWindowWidth, offset);
275 [[PageInfoContentView alloc] initWithFrame:contentFrame]);
/external/chromium_org/chrome/browser/ui/cocoa/panels/
Dpanel_window_controller_cocoa.mm231 NSRect contentFrame = [self contentRectForFrameRect:[[self window] frame]];
232 contentFrame.origin = NSZeroPoint;
235 if (!NSEqualRects([contentView frame], contentFrame))
236 [contentView setFrame:contentFrame];
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8WindowShell.cpp440 … if (node->hasTagName(HTMLNames::iframeTag) && (frame = toHTMLIFrameElement(node)->contentFrame())) in getNamedProperty()
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_section_container.mm239 NSRect contentFrame = NSInsetRect(viewFrame,
245 NSDivideRect(contentFrame, &labelFrame, &controlFrame,
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDOMAgent.cpp1489 if (Frame* frame = frameOwner->contentFrame()) in buildObjectForNode()