Searched refs:monitor_bounds (Results 1 – 7 of 7) sorted by relevance
/external/chromium/chrome/browser/ui/views/bubble/ |
D | border_contents.cc | 51 gfx::Rect monitor_bounds = GetMonitorBounds(position_relative_to); in SizeAndGetBounds() local 52 if (!monitor_bounds.IsEmpty()) { in SizeAndGetBounds() 55 position_relative_to, monitor_bounds, in SizeAndGetBounds() 60 position_relative_to, monitor_bounds, in SizeAndGetBounds() 84 const gfx::Rect& monitor_bounds, in MirrorArrowIfOffScreen() argument 91 if (ComputeOffScreenInsets(monitor_bounds, *window_bounds, in MirrorArrowIfOffScreen() 105 if (ComputeOffScreenInsets(monitor_bounds, *window_bounds, in MirrorArrowIfOffScreen() 118 bool BorderContents::ComputeOffScreenInsets(const gfx::Rect& monitor_bounds, in ComputeOffScreenInsets() argument 121 if (monitor_bounds.Contains(window_bounds)) in ComputeOffScreenInsets() 135 int top = std::max(0, monitor_bounds.y() - window_bounds.y()); in ComputeOffScreenInsets() [all …]
|
D | border_contents.h | 60 const gfx::Rect& monitor_bounds, 69 static bool ComputeOffScreenInsets(const gfx::Rect& monitor_bounds,
|
/external/chromium/chrome/browser/ui/ |
D | window_sizer_linux.cc | 112 gfx::Rect monitor_bounds = provider->GetPrimaryMonitorWorkArea(); in GetDefaultPopupOrigin() local 113 gfx::Point corner(monitor_bounds.x(), monitor_bounds.y()); in GetDefaultPopupOrigin() 121 std::min(x + kWindowTilePixels, monitor_bounds.right() - size.width()), in GetDefaultPopupOrigin() 123 monitor_bounds.bottom() - size.height())); in GetDefaultPopupOrigin()
|
/external/chromium/chrome/browser/ui/tabs/ |
D | dock_info.h | 138 void set_monitor_bounds(const gfx::Rect& monitor_bounds) { in set_monitor_bounds() argument 139 monitor_bounds_ = monitor_bounds; in set_monitor_bounds() 141 const gfx::Rect& monitor_bounds() const { return monitor_bounds_; } in monitor_bounds() function
|
D | dock_info_win.cc | 253 return result_.monitor_bounds().Contains(result_.GetPopupRect()); in CheckPoint() 283 const gfx::Rect& m_bounds = info.monitor_bounds(); in GetDockInfoAtPoint()
|
/external/chromium/chrome/browser/chromeos/ |
D | wm_overview_controller.h | 86 const gfx::Rect& monitor_bounds() const { return monitor_bounds_; } in monitor_bounds() function
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | tab_strip.cc | 758 gfx::Rect monitor_bounds = views::GetMonitorBoundsForRect(drop_bounds); in GetDropBounds() local 759 *is_beneath = (monitor_bounds.IsEmpty() || in GetDropBounds() 760 !monitor_bounds.Contains(drop_bounds)); in GetDropBounds()
|