Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/views/bubble/
Dborder_contents.cc51 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 …]
Dborder_contents.h60 const gfx::Rect& monitor_bounds,
69 static bool ComputeOffScreenInsets(const gfx::Rect& monitor_bounds,
/external/chromium/chrome/browser/ui/
Dwindow_sizer_linux.cc112 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/
Ddock_info.h138 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
Ddock_info_win.cc253 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/
Dwm_overview_controller.h86 const gfx::Rect& monitor_bounds() const { return monitor_bounds_; } in monitor_bounds() function
/external/chromium/chrome/browser/ui/views/tabs/
Dtab_strip.cc758 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()