Home
last modified time | relevance | path

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

/external/chromium_org/ui/views/controls/menu/
Dmenu_controller.cc1159 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 …]
Dmenu_controller.h237 gfx::Rect monitor_bounds; member
/external/chromium_org/chrome/browser/ui/tabs/
Ddock_info.h119 void set_monitor_bounds(const gfx::Rect& monitor_bounds) { in set_monitor_bounds() argument
120 monitor_bounds_ = monitor_bounds; in set_monitor_bounds()
122 const gfx::Rect& monitor_bounds() const { return monitor_bounds_; } in monitor_bounds() function
/external/chromium_org/ui/views/corewm/
Dtooltip_win.cc123 const gfx::Rect monitor_bounds = display.bounds(); in SetText() local
124 int max_width = (monitor_bounds.width() + 1) / 2; in SetText()
/external/chromium_org/ui/views/controls/button/
Dmenu_button.cc314 gfx::Rect monitor_bounds = GetWidget()->GetWorkAreaBoundsInScreen(); in GetMaximumScreenXCoordinate() local
315 return monitor_bounds.right() - 1; in GetMaximumScreenXCoordinate()