- 20 5月, 2015 14 次提交
-
-
由 Adam Barth 提交于
TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1138443005
-
由 John McCutchan 提交于
BUG= R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1131373005
-
由 Adam Barth 提交于
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
-
由 Hixie 提交于
R=abarth@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/1149533002
-
由 Hixie 提交于
Per discussion about https://codereview.chromium.org/1093633002 it appears that we don't have a way around having a parent pointer after all, so this exposes it. It also renames setAsChild() to adoptChild() for better readability. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1134593007
-
由 John McCutchan 提交于
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1145843002
-
由 Adam Barth 提交于
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 提交于
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
-
由 Adam Barth 提交于
This CL implements SkyView::Load to start executing Sky content directly from Dart's main(). This code isn't currently wired up to anything, so it's not yet tested. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1130353009
-
由 John McCutchan 提交于
BUG= R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1132723010
-
由 John McCutchan 提交于
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 提交于
- Analyzer complains about libraries not having names. This adds names to many libraries. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1150433002
-
由 John McCutchan 提交于
- Add a real internals.dart entry point. - Don't run deploy_sdk from shelldb. - Suppress native functions error from analyzer output. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1145823002
-
由 Adam Barth 提交于
This CL prepares us to create an iOS version of SkyShell by moving the Android-specific bits into an android directory. R=chinmaygarde@google.com Review URL: https://codereview.chromium.org/1139873004
-
- 19 5月, 2015 7 次提交
-
-
由 Eric Seidel 提交于
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 提交于
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
-
由 Adam Barth 提交于
The SkyView interface will replace WebView as the interface to the SkyEngine. The SkyView interface won't have a root level Document or Frame object but instead will implement the base layers of the framework. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1135013006
-
由 John McCutchan 提交于
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
-
由 Hixie 提交于
The style syncing logic that was in OneChildListRenderNodeWrapper is now in RenderNodeWrapper. TextFragment and Image now just inherit directly from RenderNodeWrapper. OneChildListRenderNodeWrapper now only deals with syncing children. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1142123004
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1128803007
-
由 Hixie 提交于
[Effen] Rename SkyNodeWrapper and SkyElementWrapper to match their current actual roles, RenderNodeWrapper and OneChildListRenderNodeWrapper. This lays the groundwork for supporting RenderNode classes that have more complicated child setups. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1134303006
-
- 17 5月, 2015 1 次提交
-
-
由 Adam Barth 提交于
It's useful to be able to call org.domokit.sky.shell.SkyMain.ensureInitialized() when implementing custom Android Activities. This commit makes ensureInitialized() public for this purpose. Unrelated changes: Added curly braces to pass PRESUBMIT check. Add Lex Berezhny <lex@damoti.com> to AUTHORS file in order to be able to commit fixes (and pass PRESUBMIT check). Patch by Lex Berezhny <lex@damoti.com>. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1135953004
-
- 16 5月, 2015 2 次提交
-
-
由 Hixie 提交于
This creates a new RenderNode class that does positioning. It then creates an fn Container class that uses it just to position things at 0,0 at the full extent of the container. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1128103009
-
由 Hixie 提交于
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1132983007
-
- 15 5月, 2015 8 次提交
-
-
由 Hixie 提交于
Previously, the fn "Text" class rendered as a single block of text. Now, there's a "Paragraph" class that contains "TextFragment"s, and "Text" is just a component that places a single TextFragment into a single Paragraph. This allows other components, notably the Input component, to build more complicated paragraphs of styled text, without using 'display'. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1139123007
-
由 Hixie 提交于
TBR=eseidel Review URL: https://codereview.chromium.org/1141013003
-
由 Hixie 提交于
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 提交于
This moves DrawerHeader to using FlexContainer instead of Container and 'display', in the continuing quest to remove our dependency on CSS. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1139123005
-
由 Hixie 提交于
This continues my attempt to remove our dependency on CSS. It adds support for column-based flex to FlexContainer. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1132113007
-
由 Hixie 提交于
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 提交于
Some of the styles we have aren't really needed, so remove them to make it clearer what we weed to actually support to keep the stocks app running. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1128173007
-
由 Hixie 提交于
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
-
- 14 5月, 2015 3 次提交
-
-
由 Eric Seidel 提交于
Also teach both skydb and shelldb to ignore version downgrades I did not change sky_tool since maybe the warning makes sense there? R=abarth@chromium.org, chinmaygarde@google.com Review URL: https://codereview.chromium.org/1138343002
-
由 Matt Perry 提交于
This exposes most methods from Skia's C canvas API to Dart. For now, SkRect and SkMatrix are represented simply as an array of floats, which requires a conversion at the bindings layer. More complex types like SkPath are still TODO. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1144483002
-
由 Eric Seidel 提交于
This adds a new abstract 'Canvas' which is similar to SkCanvas. PaintContext implements Canvas while still having its own commit() method to cause the paint actions to apply to the Element for the next frame. This adds a new PictureRecorder which also implements Canvas and has an endRecording() method which returns a Picture (another new interface) which can be held from Dart. There is also now a rootPicture setter on Document which takes a Picture and will then make the Document draw that Picture until changed. This piggybacks on the existing custom painting system which adds the painting at background-and-borders paint time so technically if you both set rootPicture as well as construct a DOM you will draw the DOM on top of your picture. :) R=mpcomplete@chromium.org Review URL: https://codereview.chromium.org/1122423009
-
- 13 5月, 2015 3 次提交
-
-
由 Colin Blundell 提交于
This CL does the following: - Moves mojom's generate.dart from bin/ to lib/ to make it available for use by a wrapper scripts in the Sky package, thus avoiding all consumers of Sky needing to directly depend on mojom to be able to call "pub run mojom:generate". - Adds a sky->mojom pub dependency and creates a wrapper script around mojom's generate.dart in the Sky package. - Augments the Sky README to explain the usage of this script. R=eseidel@chromium.org, sethladd@google.com Review URL: https://codereview.chromium.org/1136503002
-
由 Hixie 提交于
- add a checkbox to the stock app, so that we're testing the checkbox widget (it's not currently wired up to anything, that can come later) - make InkSplash use FlexContainer so that we can use flex in the popup menu items - make effen's Text be more similar to Image and Container, so that it can be styled - make layout.dart's RenderCSSText correctly support being styled - also fixes a bug with the stock list where we were rendering one too few a row when scrolling - check in the code to dump the DOM so I don't have to keep remembering how to do this R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1134163003
-
由 Hixie 提交于
This introduces a new kind of ContentNode similar to Style but which instead of changing the styles that apply to the node, provides new settings to apply to the "parentData" structure. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1122413006
-
- 12 5月, 2015 2 次提交
-
-
由 Benjamin Lerman 提交于
This reverts commit 1a4db2e964de8a2eba7c76c0904027150cc0c387. This broke the bots. TBR=github.com@spam.hixie.ch Review URL: https://codereview.chromium.org/1137153002
-
由 Hixie 提交于
This introduces a new kind of ContentNode similar to Style but which instead of changing the styles that apply to the node, provides new settings to apply to the "parentData" structure. If you have better ideas for the class names here let me know. Note that the layout.dart backend of this is hacky (more so than before, even); once we have something other than the DOM and CSS to back it, it'll get rewritten. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1129893006
-