Searched refs:monitor_bounds (Results 1 – 5 of 5) sorted by relevance
1159 pending_state_.monitor_bounds = GetScreen()->GetDisplayNearestPoint( in UpdateInitialLocation()1162 if (!pending_state_.monitor_bounds.Contains(bounds)) { in UpdateInitialLocation()1168 pending_state_.monitor_bounds = monitor_area; in UpdateInitialLocation()1608 if (!state_.monitor_bounds.IsEmpty()) in CalculateMenuBounds()1609 pref.set_width(std::min(pref.width(), state_.monitor_bounds.width())); in CalculateMenuBounds()1644 if (!state_.monitor_bounds.IsEmpty() && in CalculateMenuBounds()1645 y + pref.height() > state_.monitor_bounds.bottom()) { in CalculateMenuBounds()1658 state_.monitor_bounds.bottom() - y)); in CalculateMenuBounds()1663 if (state_.monitor_bounds.height() < pref.height()) { in CalculateMenuBounds()1665 pref.set_height(state_.monitor_bounds.height()); in CalculateMenuBounds()[all …]
237 gfx::Rect monitor_bounds; member
119 void set_monitor_bounds(const gfx::Rect& monitor_bounds) { in set_monitor_bounds() argument120 monitor_bounds_ = monitor_bounds; in set_monitor_bounds()122 const gfx::Rect& monitor_bounds() const { return monitor_bounds_; } in monitor_bounds() function
123 const gfx::Rect monitor_bounds = display.bounds(); in SetText() local124 int max_width = (monitor_bounds.width() + 1) / 2; in SetText()
314 gfx::Rect monitor_bounds = GetWidget()->GetWorkAreaBoundsInScreen(); in GetMaximumScreenXCoordinate() local315 return monitor_bounds.right() - 1; in GetMaximumScreenXCoordinate()