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:
@@ -4,9 +4,10 @@
|
||||
|
||||
import 'dart:math' as math;
|
||||
import 'dart:sky' as sky;
|
||||
import 'package:sky/app/view.dart';
|
||||
|
||||
import 'package:sky/rendering/box.dart';
|
||||
import 'package:sky/rendering/object.dart';
|
||||
import 'package:sky/rendering/sky_binding.dart';
|
||||
|
||||
const double kTwoPi = 2 * math.PI;
|
||||
|
||||
@@ -522,5 +523,5 @@ RenderBox buildSectorExample() {
|
||||
}
|
||||
|
||||
void main() {
|
||||
new AppView(root: buildSectorExample());
|
||||
new SkyBinding(root: buildSectorExample());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user