desiredCanvasSizeFor = curInspector => {
    return {
        w: Math.max(canvasDiv.clientWidth, curInspector.desiredWidth()),
        h: curInspector.desiredHeight()
    };
}
@param {!DisplayedInspector} curInspector
@returns {{w: number, h: !number}}