- 21 5月, 2015 8 次提交
-
-
由 Hixie 提交于
Before, OneChildListRenderNodeWrappers were responsible for removing the child nodes' RenderCSS nodes from their containers, and for moving those around when nodes were reordered. Now, they're also responsible for adding them. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1145953003
-
由 Matt Perry 提交于
Rect is now a dart-only type, defined in its own .dart file. I use DartConverter when passing a Rect into C++. I also special-cased Rect in the IDL compiler so that it's passed by value, instead of allocating a new Rect object on the heap. This also adds a mechanism to add custom .dart files to dart_sky.dart - used by Rect.dart. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1151673002
-
由 Adam Barth 提交于
As recommend by Ian. R=ianh@google.com Review URL: https://codereview.chromium.org/1149843003
-
由 Adam Barth 提交于
This example shows how to draw a circle using subclasses of RenderNode. R=ianh@google.com Review URL: https://codereview.chromium.org/1144193004
-
由 Hixie 提交于
[Effen] Try to catch more misuse of fn by asserting that UINode nodes are only built when we're updatin the tree. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1148253002
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1093633002
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1145623003
-
由 Hixie 提交于
TBR=abarth Review URL: https://codereview.chromium.org/1148123002
-
- 20 5月, 2015 20 次提交
-
-
由 Adam Barth 提交于
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 提交于
TBR=abarth Review URL: https://codereview.chromium.org/1142853006
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1133353008
-
由 Adam Barth 提交于
Several people have run into trouble building Sky because of a missing dependency in the build. From inspection, it looks like this might fix the issue, but it's hard to be sure without being able to reproduce the issue locally. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1130353013
-
由 Hixie 提交于
Review URL: https://codereview.chromium.org/1139573005
-
由 Adam Barth 提交于
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 提交于
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 2 次提交
-
-
由 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
-