Delay updating the UI until a Screen instance is fully rendered
By switching all of our Screen uses to be gwtexpui's new View class
we are able to take advantage of ViewSite's off screen updating. In
a nutshell the next Screen is added to the DOM inside of an invisible
div, and then made visible only once all required RPCs have finished
and the browser has finished updating the DOM nodes within the new
Screen object.
Since screens are rendered off screen before presentation, we no
longer recycle screen instances. This may slightly reduce how
fast we can render individual screen transitions, but it has a
shorter code path and uses less DOM memory in the browser, so we
may have a relative wash in terms of render performance.
Bug: GERRIT-91
Signed-off-by: Shawn O. Pearce <sop@google.com>
27 files changed