1. 21 3月, 2015 12 次提交
  2. 17 3月, 2015 1 次提交
    • R
      [Effen] add StyleNode · 082ca7c2
      Rafael Weinstein 提交于
      This patch adds a new (non-Render) StyleNode which takes two arguments: A (content) node, which it wraps and a Style object.
      
      This allows for styles to be applied to Nodes which are constructed elsewhere (e.g. passed in as arguments).
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/1027653002
      082ca7c2
  3. 20 3月, 2015 1 次提交
  4. 16 3月, 2015 1 次提交
    • R
      [Effen] Add AnimatedComponent base class · 86dc24f9
      Rafael Weinstein 提交于
      This patch adds a base AnimatedComponent from which most components that animated should derive. It takes care of listening & unlistening from the animations during did(Un)mount as well as binding the animated value to a private field and scheduling the component for build.
      
      Note that this patch removes the did(Un)mount overridable methods from Component and replaces them with a callback mechanism which is less brittle.
      
      BUG=
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/1027633003
      86dc24f9
  5. 20 3月, 2015 1 次提交
    • A
      Integrate custom paint with the DocumentLifecycle · 510cddef
      Adam Barth 提交于
      Instead of running paint requests during microtasks, we run them after updating
      layout for the current frame. After draining all the paint requests, we then
      drain whatever commits are available.
      
      It's still possible that requestPaint callbacks can dirty style and layout
      information, so we need to clean that information after servicing the requests.
      Ideally we'd block these callbacks from dirtying style or layout information.
      
      R=ojan@chromium.org
      
      Review URL: https://codereview.chromium.org/1027563002
      510cddef
  6. 16 3月, 2015 2 次提交
  7. 20 3月, 2015 1 次提交
  8. 16 3月, 2015 1 次提交
  9. 20 3月, 2015 6 次提交
  10. 16 3月, 2015 1 次提交
  11. 19 3月, 2015 1 次提交
  12. 16 3月, 2015 1 次提交
    • R
      Change how events are handled in Effen · e8318f65
      Rafael Weinstein 提交于
      This patch removes the mutable API to event handling (Nodes no longer have a events object with which to add listeners).
      
      Instead, a new (non-Render) Node is introduced: EventTarget. This node represents a location in the Effen tree which can handle events as they bubble.
      
      Note that this also changes the implementation to use event delegation (one set of listeners at the sky.document level) rather than direct listeners on leaf nodes.
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/1019633004
      e8318f65
  13. 19 3月, 2015 6 次提交
  14. 15 3月, 2015 1 次提交
  15. 19 3月, 2015 1 次提交
    • A
      Begin work on the PopupMenu entrance animation · 10d63a07
      Adam Barth 提交于
      This CL also refactors how animations work, particularly for the Drawer. I've
      renamed DrawerAnimation to DrawerController and switched it from being an
      Animation to having an Animation. I've also renamed Animation to AnimatedValue
      to capture the idea that the class actually presents the value being animated.
      Finally, I've factored AnimatedValueListener out of Drawer so that it can be
      used by PopupMenuItem as well.
      
      Finally, I've added a scheduleBuild convienence function to Component instead
      of having to call setState(() {}), which has come up a couple times.
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1016093002
      10d63a07
  16. 18 3月, 2015 3 次提交