Add RowHeightContext to stuff all parameters for SetOptimalHeights().

To help reduce the number of function arguments.

Change-Id: Ic29fff38f6cd844bdaac8ac4b440dfcaba55df61