Lines Matching refs:primary_bounds
362 const gfx::Rect primary_bounds =
369 std::max(primary_bounds.x(), secondary_bounds.x()));
371 std::min(primary_bounds.right(), secondary_bounds.right()) -
376 primary_bounds.y() - (from_primary ? 0 : kIndicatorThickness) :
377 primary_bounds.bottom() - (from_primary ? kIndicatorThickness : 0));
383 primary_bounds.y() - (from_primary ? kIndicatorThickness : 0) :
384 primary_bounds.bottom() - (from_primary ? 0 : kIndicatorThickness));
401 const gfx::Rect primary_bounds =
407 int upper_shared_y = std::max(primary_bounds.y(), secondary_bounds.y());
408 int lower_shared_y = std::min(primary_bounds.bottom(),
413 primary_bounds.x() - (in_primary ? kIndicatorThickness : 0) :
414 primary_bounds.right() - (in_primary ? 0 : kIndicatorThickness);
422 primary_bounds.x() - (in_primary ? 0 : kIndicatorThickness) :
423 primary_bounds.right() - (in_primary ? kIndicatorThickness : 0));
426 in_primary ? primary_bounds : secondary_bounds;