Rename AppView to SkyBinding.

Move app/view.dart to rendering/sky_binding.dart since it's part of the RenderObject API, really (it knows about RenderView intimately).
The tests pass. I didn't check every last example.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1183913006.
This commit is contained in:
Hixie
2015-06-17 17:07:31 -07:00
parent 8e5245c9a1
commit 5136d5209b
14 changed files with 50 additions and 57 deletions

View File

@@ -3,14 +3,13 @@
// found in the LICENSE file.
import 'dart:sky';
import 'package:sky/app/view.dart';
import 'package:sky/rendering/box.dart';
import 'package:sky/rendering/flex.dart';
import 'package:sky/rendering/sky_binding.dart';
import 'package:sky/theme2/colors.dart';
import 'package:sky/theme2/shadows.dart';
AppView app;
void main() {
var coloredBox = new RenderDecoratedBox(
decoration: new BoxDecoration(
@@ -22,7 +21,7 @@ void main() {
var paddedBox = new RenderPadding(
padding: const EdgeDims.all(50.0),
child: coloredBox);
app = new AppView(root: new RenderDecoratedBox(
new SkyBinding(root: new RenderDecoratedBox(
decoration: const BoxDecoration(
backgroundColor: const Color(0xFFFFFFFF)
),