- 12 6月, 2015 3 次提交
-
-
由 Hixie 提交于
This moves input.dart to editing2/, since that way we can define the layering as strictly unidirectional. It also reorders a bunch of imports to fit the style guide. I removed the old remnants of the widgets example, and put the fn2 examples into the examples/widgets/ directory, to parallel the framework directory names. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1177243002.
-
由 Adam Barth 提交于
This CL wires up the opacity of the popup menu items and teaches the popup menu how to draw its background at the right size. R=ianh@google.com Review URL: https://codereview.chromium.org/1175353002.
-
由 Adam Barth 提交于
This factoring will more code use BoxPainter in the future (in particular, PopupMenu). R=ianh@google.com Review URL: https://codereview.chromium.org/1180633004.
-
- 11 6月, 2015 10 次提交
-
-
由 Adam Barth 提交于
The final animation is more involved, but this CL starts implementing the menu animation by making it fade in. R=ianh@google.com Review URL: https://codereview.chromium.org/1174253003.
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1178783002.
-
由 Collin Jackson 提交于
R=abarth@chromium.org, abarth, hansmuller Review URL: https://codereview.chromium.org/1181533003
-
由 Collin Jackson 提交于
R=abarth@chromium.org, ianh@google.com, abarth Review URL: https://codereview.chromium.org/1174203002
-
由 Collin Jackson 提交于
R=abarth@chromium.org, hixie Review URL: https://codereview.chromium.org/1181523002
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1181453003
-
由 Adam Barth 提交于
Previously, they always started at the center of the RenderInkWell. Now we remember the local coordinates we computed during the hit test and provide that information when handling the event. R=ianh@google.com Review URL: https://codereview.chromium.org/1180553002.
-
由 Collin Jackson 提交于
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1176053002
-
由 Collin Jackson 提交于
Renders interactive_flex and stocks demos fine. Could use more testing, so I'm going to work on that after I land this. R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1173493003
-
由 Matt Perry 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1175763002.
-
- 10 6月, 2015 10 次提交
-
-
由 Hixie 提交于
- constructors first - have either a blank line at the top and bottom of each class, or no blank line in either place (it's still inconsistent about which we should do) - hide clamp() R=abarth@chromium.org Review URL: https://codereview.chromium.org/1172173002
-
由 Hixie 提交于
TBR=abarth Review URL: https://codereview.chromium.org/1173783002
-
由 Adam Barth 提交于
Instead of triggering layout synchronously during AppView construction, we now schedule the initial layout using a magic bootstrapping function. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1172123003.
-
由 Adam Barth 提交于
This CL implements a basic version of screen rotation where we just relayout at the new size. In the future, we'll want a fancy version where we transition between the two layouts. R=ianh@google.com BUG= Review URL: https://codereview.chromium.org/1177563002.
-
由 Hixie 提交于
Add asserts to prevent people from setting box.parentData.position or box.size except during layout. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1176623002
-
由 Matt Perry 提交于
Also added a helper class to Sky framework for building shadow DrawLoopers. R=abarth@chromium.org, eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1175683002.
-
由 Adam Barth 提交于
This matches the material design spec. R=ianh@google.com, jackson@chromium.org Review URL: https://codereview.chromium.org/1169873003.
-
由 Adam Barth 提交于
TBR=ianh@google.com Review URL: https://codereview.chromium.org/1174623002.
-
由 Adam Barth 提交于
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1172723002.
-
由 Adam Barth 提交于
This CL pulled an implementation of position: absolute in RenderStackContainer. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1166363002.
-
- 09 6月, 2015 7 次提交
-
-
由 Adam Barth 提交于
The popup menu in the stocks app is supposed to size its width to the max intrinsic width of the menu. This CL teaches it how to do that. It's a shame that we need to ceilToDouble the output of RenderParagraph. If we don't do that, we run into floating point layout trouble and the menu triggers a line break. The correct fix is to do layout in fixed point. R=ianh@google.com Review URL: https://codereview.chromium.org/1168113005
-
由 Eric Seidel 提交于
I don't think this is the final API we're going to use. I suspect we'll add a TextStyle struct to hold color and size, etc. which back-ends into CSS like this does today. Currently no one uses this color even though it exists. This is one step towards fixing: https://github.com/domokit/mojo/issues/213 R=ianh@google.com Review URL: https://codereview.chromium.org/1162573007
-
由 Adam Barth 提交于
This CL splits getIntrinsicDimensions into getMinIntrinsicWidth, getMaxIntrinsicWidth, getMinIntrinsicHeight, and getMaxIntrinsicHeight so that we can properly shrink-wrap the stocks app menu. This CL just contains the refactoring. The use in stocks app will come in a later CL. R=ianh@google.com Review URL: https://codereview.chromium.org/1167293003
-
由 Collin Jackson 提交于
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1164363002
-
由 Adam Barth 提交于
R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1166183002
-
由 Adam Barth 提交于
This CL is the first step towards getting PopupMenuItem working in fn2. We introduce the ability to add a minWidth to a Container by creating a RenderConstrainedBox class to apply the new constraints. R=ianh@google.com Review URL: https://codereview.chromium.org/1155683011
-
由 Adam Barth 提交于
And deploy it in a few places. R=ianh@google.com Review URL: https://codereview.chromium.org/1164303002
-
- 06 6月, 2015 5 次提交
-
-
由 Eric Seidel 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1156383006
-
由 Adam Barth 提交于
We were hitting an assert in RenderCustomPaint that the callback wasn't null. R=eseidel@chromium.org, jackson@chromium.org Review URL: https://codereview.chromium.org/1162023010
-
由 Hixie 提交于
Export Point, Size, Rect, Color, Paint, Path, BoxDecoration, Border, BorderSide, EdgeDims, and FlexDirection from fn2.dart That way most of our libraries don't have to use sky.Foo all over the place, and we can reduce the number of imports in most Dart components. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1161323004
-
由 Adam Barth 提交于
The + isn't quite centered properly, but the button is a circle in the right place. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1156383004
-
由 Hixie 提交于
- several places where we use a getter knowing that it will return a subclass of its declared type, even asserting that it does, but where the analyzer is worried that the getter might start returning a new value unexpectedly, solved by having a temporary local variable shadow the getter and asserting that it doesn't change value - many many places where we do this with parentData specifically, solved by type-erasing parentData. - a place where a mixin wants to be subclassing another class, and uses its methods, solved by saying that the mixin is abstract but implements the superclass R=abarth@chromium.org Review URL: https://codereview.chromium.org/1160923008
-
- 05 6月, 2015 5 次提交
-
-
由 Collin Jackson 提交于
R=abarth@chromium.org, eseidel@chromium.org, abarth Review URL: https://codereview.chromium.org/1157573012
-
由 Hixie 提交于
Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and change the sky.Size.infinite() constructor to a constant. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1158263005
-
由 Hixie 提交于
Include DETACHED, NEEDS-LAYOUT, and relayoutSubtreeRoot info in the debug output for the render tree R=chinmaygarde@google.com Review URL: https://codereview.chromium.org/1149083011
-
由 Hixie 提交于
Improve the RenderObject.toString() logic so that there's not blank lines everywhere and to generally be better. Adds sizes, positions, transforms, improves RenderParagraph's output. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1160233004
-
由 Eric Seidel 提交于
The goal of this is to have a Renderer-layer abstraction around the Sky Engine c++ apis for drawing a shadow. R=mpcomplete@chromium.org Review URL: https://codereview.chromium.org/1146893004
-