How do I get the full size of a web-page?

Answer:

To retrieve the full size of a web-page (ie, the smallest dimensions to resize the page so that it doesn't have scroll bars), you could use one of two methods:

Javascript:

Here's an example using Javascript execution:

int width = webView->executeJavascriptWithResult("document.body.scrollWidth").get().toInteger();
int height = webView->executeJavascriptWithResult("document.body.scrollHeight").get().toInteger();

WebView::requestScrollData

As of Awesomium v1.6, can now get the full size of a web-page using native methods.

Please see WebView::requestScrollData and WebViewListener::onGetScrollData for more information.