Settings menu item in stock2 doesn't work

The underlying problem is that we lacked a RenderObjectWrapper for the
RenderView, which meant we couldn't handle changing the RenderObject that was
the root of the RenderView. This CL introduces a RenderViewWrapper and uses it
in a new AppContainer widget root. This change allows us to make App a
non-magical Component that is inserted into the AppContainer in the newly
introduced runApp function.

R=ianh@google.com

Review URL: https://codereview.chromium.org/1184823006.
This commit is contained in:
Adam Barth
2015-06-17 12:36:56 -07:00
parent 2460ce37b0
commit 99e115d06c
6 changed files with 6 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ void main() {
void allLoaded(ImageMap loader) {
_loader = loader;
new GameDemoApp();
runApp(new GameDemoApp());
}
class GameDemoApp extends App {