Provide ways to control window content's size

This PR adds some APIs to give users ability to create window by setting the web page's size (or client size), so users can show the web page with exact same sizes on all platforms.