Agentry will call this method if getAutosizeBehavior() is overridden to return AutosizeBehavior.Autosize_WrapContent.
Agentry passes in the extension view's width in pixels. The extension then needs measure the height needed for the content in pixels and return it.