Changed theme_views_view() to use the root and child provided by the result and send the result.view json object to the row_callback and empty_callback. Changed the row_callback to receive the view object and the row object. Changed theme_pager(), theme_pager_next() and theme_pager_previous() to use the new views json result.view object.