Searched refs:container_rect (Results 1 – 5 of 5) sorted by relevance
181 gfx::Rect container_rect; in Show() local182 GetWebContents()->GetView()->GetContainerBounds(&container_rect); in Show()187 target_rect.x() > container_rect.width() || in Show()188 target_rect.y() > container_rect.height()) { in Show()
306 gfx::Rect container_rect; in GetInfoBubbleTarget() local307 tab_contents()->GetContainerBounds(&container_rect); in GetInfoBubbleTarget()309 container_rect.x() + element_rect.x() + element_rect.width() - in GetInfoBubbleTarget()311 container_rect.y() + element_rect.y() + element_rect.height(), 1, 1); in GetInfoBubbleTarget()
124 gfx::Rect container_rect; in GetAnchorRect() local125 web_contents_->GetView()->GetContainerBounds(&container_rect); in GetAnchorRect()127 anchor.Offset(container_rect.OffsetFromOrigin()); in GetAnchorRect()128 if (!container_rect.Intersects(anchor)) in GetAnchorRect()
464 gfx::Rect container_rect(contents->view()->GetContainerSize());468 container_rect.width() - view_rect.width() - kRightEdgeOffset);483 // Adjust |view_rect| to avoid the |selection_rect| within |container_rect|.485 view_rect, container_rect, selection_rect);
563 // Adjust |view_rect| to avoid the |selection_rect| within |container_rect|.