Home | History | Annotate | Download | only in bubble

Lines Matching refs:monitor_bounds

51     gfx::Rect monitor_bounds = GetMonitorBounds(position_relative_to);
52 if (!monitor_bounds.IsEmpty()) {
55 position_relative_to, monitor_bounds,
60 position_relative_to, monitor_bounds,
84 const gfx::Rect& monitor_bounds,
91 if (ComputeOffScreenInsets(monitor_bounds, *window_bounds,
105 if (ComputeOffScreenInsets(monitor_bounds, *window_bounds,
118 bool BorderContents::ComputeOffScreenInsets(const gfx::Rect& monitor_bounds,
121 if (monitor_bounds.Contains(window_bounds))
131 // | left | monitor_bounds | right |
135 int top = std::max(0, monitor_bounds.y() - window_bounds.y());
136 int left = std::max(0, monitor_bounds.x() - window_bounds.x());
137 int bottom = std::max(0, window_bounds.bottom() - monitor_bounds.bottom());
138 int right = std::max(0, window_bounds.right() - monitor_bounds.right());