Design XHContentView api