Searched refs:widget_bounds (Results 1 – 8 of 8) sorted by relevance
265 gfx::Rect widget_bounds; local266 GetWidgetBounds(&widget_bounds);267 if (widget_bounds.IsEmpty())274 if (widget_bounds.width() < prefsize.width())275 prefsize.set_width(widget_bounds.width());278 if (widget_bounds.height() < prefsize.height())284 int x = widget_bounds.x();286 x += widget_bounds.width() - prefsize.width();287 int y = widget_bounds.y();301 view_location, widget_bounds, avoid_overlapping_rect);
307 gfx::Rect widget_bounds; in UpdateWindowEdges() local308 GetWidgetBounds(&widget_bounds); in UpdateWindowEdges()317 int difference = new_pos.right() - kAddedWidth - widget_bounds.right() - in UpdateWindowEdges()
234 gfx::Rect widget_bounds; local235 GetWidgetBounds(&widget_bounds);236 if (widget_bounds.IsEmpty())245 int x = widget_bounds.x();247 x += widget_bounds.width() - prefsize.width();248 int y = widget_bounds.y();262 view_location, widget_bounds, avoid_overlapping_rect);
273 gfx::Rect widget_bounds; in UpdateWindowEdges() local274 GetWidgetBounds(&widget_bounds); in UpdateWindowEdges()283 int difference = new_pos.right() - kAddedWidth - widget_bounds.right() - in UpdateWindowEdges()
173 gfx::Rect widget_bounds; in GetBoundsForTooltip() local178 widget_bounds = tooltip_window_->GetDispatcher()->host()->GetBounds(); in GetBoundsForTooltip()182 if (!widget_bounds.IsEmpty()) in GetBoundsForTooltip()183 bounds.Intersect(widget_bounds); in GetBoundsForTooltip()
74 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in TEST_F() local75 widget_bounds.set_origin(cursor); in TEST_F()76 widget->SetBounds(widget_bounds); in TEST_F()
280 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in ShowContextMenuForView() local281 gfx::Point temp_pt(p.x() - widget_bounds.x(), p.y() - widget_bounds.y()); in ShowContextMenuForView()
219 gfx::Rect widget_bounds( in SetSelectionRectInScreen() local224 widget_->SetBounds(widget_bounds); in SetSelectionRectInScreen()