Home
last modified time | relevance | path

Searched refs:container_rect (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/ui/gtk/
Dspeech_recognition_bubble_gtk.cc181 gfx::Rect container_rect; in Show() local
182 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()
/external/chromium/chrome/browser/speech/
Dspeech_input_bubble_views.cc306 gfx::Rect container_rect; in GetInfoBubbleTarget() local
307 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()
/external/chromium_org/chrome/browser/ui/views/
Dspeech_recognition_bubble_views.cc124 gfx::Rect container_rect; in GetAnchorRect() local
125 web_contents_->GetView()->GetContainerBounds(&container_rect); in GetAnchorRect()
127 anchor.Offset(container_rect.OffsetFromOrigin()); in GetAnchorRect()
128 if (!container_rect.Intersects(anchor)) in GetAnchorRect()
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_cocoa_controller.mm464 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);
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_cocoa_controller.mm563 // Adjust |view_rect| to avoid the |selection_rect| within |container_rect|.