- 28 May, 2015 2 commits
-
-
Hixie authored
This dramatically simplifies the layout model. I haven't gone through and simplified the existing functions, we should probably go through and figure out if they can be cleaned up a bit. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1161983004
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1143153011
-
- 27 May, 2015 9 commits
-
-
Hixie authored
This gets things off the ground barely enough to show some pixels. These are not pixels that are actually part of the stock app, but it's a start. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1157033006
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1144193006
-
Hixie authored
TBR=abarth Review URL: https://codereview.chromium.org/1153273002
-
Matt Perry authored
Also, fix the style in Rect.cpp/.h. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1158843002
-
Eric Seidel authored
I had to add back document.createText() since new Text() does not work in the new world yet. LayoutRoot is a new Dart-exposed class which holds the Frame and all associated machinery, sufficient to trigger a restyle and layout of the subtree. This is all kinda hacky and I'm sure likely to cause many crashes if folks call random methods on these disconnected trees. But this makes it at least possible to paint text for now and we can improve this in the coming days. This really should have Adam's review. It's hugely hacky but I'd like to negotiate out with him the timeline on which we should fix some of these hacks. R=ianh@google.com TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/1148253003
-
Hixie authored
This was supposed to be in https://codereview.chromium.org/1153223003 TBR=abarth Review URL: https://codereview.chromium.org/1160763003
-
Hixie authored
This was supposed to be in https://codereview.chromium.org/1153893006/ TBR=abarth Review URL: https://codereview.chromium.org/1151383003
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1153893006
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1153223003
-
- 26 May, 2015 5 commits
-
-
Hixie authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1156543004
-
Hixie authored
- makes the event logic not involve a boolean return value (since we ignored it anyway) - splits the event handling logic into two steps, hit testing and event dispatch - introduces an App class on the Dart side to factor out the interaction with the C++ side - ports sector-layout and simple_render_tree to the new App infrastructure - port simple_render_tree to the new event handling logic - implement hit testing for the sector-layout demo R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1143343004
-
Collin Jackson authored
R=sethladd@google.com, sethladd Review URL: https://codereview.chromium.org/1159763003
-
Hixie authored
- the circle now fills the screen - you can set dimensions on the solid color node - debugging printfs and rects are gone - the protocol is changed so that for sectors, you position before you size (since your size and your childrens' positions all depend on your own position) TBR=abarth Review URL: https://codereview.chromium.org/1154213003
-
Hixie authored
Could be useful for watch faces. :-) Includes some minor fixes to layout2.dart. Includes adding a very basic path API. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1152383002
-
- 23 May, 2015 1 commit
-
-
Collin Jackson authored
This only handles really basic cases and doesn't understand justification, wrapping, and so on. Submitting for code review so I can get some early feedback before I invest more time into making it correct. R=ianh@google.com, abarth Review URL: https://codereview.chromium.org/1151293002
-
- 21 May, 2015 5 commits
-
-
Adam Barth authored
R=ianh@google.com Review URL: https://codereview.chromium.org/1152603002
-
Adam Barth authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1151613005
-
Adam Barth authored
This demo shows how to create a spinning square using the lowest-level APIs. We should probably create more spinning square demos at the other layers of the system. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1147393002
-
Adam Barth authored
This CL makes simple_render_tree.dart interactive by making the hit testing system work. I've also added a mechanism for requesting an animation frame. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1153543002
-
Adam Barth authored
This CL teaches simple_render_tree how to do a block layout using layout2.dart. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1144423002
-
- 20 May, 2015 1 commit
-
-
Adam Barth authored
This example shows how to draw a circle using subclasses of RenderNode. R=ianh@google.com Review URL: https://codereview.chromium.org/1144193004
-
- 19 May, 2015 9 commits
-
-
Adam Barth authored
Clients can now register a callback that gets called whenever we have an event for the view. We'll need to update the Event class at some point, but this is a start. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1129333005
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1133353008
-
Adam Barth authored
This CL teaches SkyView the width, height, and device pixel ratio of the display. In the future, we'll want some sort of notification system for when these values change. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1139823010
-
Adam Barth authored
This CL adds a global view object that can receive a Picture and be signaled to draw. When using SkyView, this Picture shows up on screen. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1134913003
-
John McCutchan authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1145843002
-
Adam Barth authored
This CL makes the SkyView codepath smart enough to print "hello, world" to the console. The code path is off by default but can be enabled by changing one line of code. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1131673011
-
Matt Perry authored
to provide a better Dart API. When the attribute is present on an IDL interface, the generate Dart code will be a private interface that can extended by custom dart code. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1135283005
-
John McCutchan authored
Revert "Add library names to many sky libraries" This reverts commit 1337e0a803a54ee92d6dce7f8c4a6335f7cbb9fa. BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/1142893007
-
John McCutchan authored
- Analyzer complains about libraries not having names. This adds names to many libraries. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1150433002
-
- 18 May, 2015 3 commits
-
-
Eric Seidel authored
I wrote another copy of paint_element_into_displaylist using this new technology. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1129353010
-
Eric Seidel authored
Currently said elements need to be in the DOM and have already been laid out for this to work, but follow-up patches will remove these restrictions. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1144673002
-
John McCutchan authored
NOTE: This CL appears far larger than it actually is for two reasons: 1) Many files were moved around to use the Dart package directory structure. 2) Many .dart files had to have import paths updated. - Organize mojo/public/dart so that it uses standard Dart package layout - Organize mojo/dart/apptest so that it uses a standard Dart package layout - Organize sky/sdk so that it uses a standard Dart package layout - Create a mojo/testing package (used by unittests) - Introduce the 'dart_pkg' gn rule which populates gen/Config/dart-pkg - All internally vended Dart packages must have a corresponding dart_pkg rule - It is now possible to use dependency_overrides: in pubspec.yaml to mix internal and external package dependencies (enables analyzer, editor, webstorm usage for internal developers). - Package root for dart content handler ends with "packages/" - Imports of mojo package uris no longer need the "public/dart" - mojo/public/tools/dart_package.py is a clone of mojo/public/tools/gn/zip.py - Sky tests no longer run 'deploy_sdk' script. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1132063007
-
- 15 May, 2015 1 commit
-
-
Hixie authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1132983007
-
- 14 May, 2015 4 commits
-
-
Hixie authored
TBR=eseidel Review URL: https://codereview.chromium.org/1141013003
-
Hixie authored
Also includes a link to all the know bugs that affect the stock app. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1145523003
-
Hixie authored
Changes: - adds a couple of radio buttons to the drawer menu list. - makes menu items support being tapped and reporting the tap. - hooks up the checkbox to actually support being checked. - changes the drawer menu items to make more sense in a stock app. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1137373004
-
Hixie authored
This is a prerequisite to dropping 'display:none'. Included in this CL is making AnimatedValue able to animate more than one field. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1126333006
-