* bindings/vapi/javascriptcore-4.0.vapi: Add some methods to GlobalContext for accessing JSValues as ints. * src/client/components/client-web-view.vala (ClientWebView): Hook up UserContentManager script messages handler and handler implementation for "preferredHeightChanged", update the new preferred_height prop on the class, and queue a resize. Hook those values up to the GTK allocation machinery. (ClientWebView::get_int_result): Convenience method for getting an int from a JavascriptResult. (ClientWebView::get_preferred_height): Report back values as reported by messages from the script handler. (ClientWebView::register_message_handler): Convenience method for registering script messages handlers. * src/client/conversation-viewer/conversation-web-view.vala (ConversationWebView): Remove now-redundant GTK allocation machinery. * ui/client-web-view.js: Post a message to preferredHeightChanged when the page is sorta-kinda loaded. |
||
|---|---|---|
| .. | ||
| gmime-2.6 | ||
| enchant.vapi | ||
| gmime-2.6.vapi | ||
| javascriptcore-4.0.vapi | ||
| libnotify.vapi | ||
| libsecret-1.vapi | ||
| Makefile | ||