1. 20 Mar, 2015 2 commits
    • Adam Barth's avatar
      Use StyleNode in StockMenu · ca74c312
      Adam Barth authored
      StockMenu was creating a container for the sole purpose of applying style to
      PopupMenu. Now we just use a StyleNode.
      
      Also, I've reverted the change to make box-sizing default to border-box. It
      turns out that CL wasn't effective because we didn't use the initialBoxSizing
      function to initialize box sizing. I've made us use initialBoxSizing but switch
      the default back to content-box because actually using border-box breaks a
      bunch of stuff.
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1024083003
      ca74c312
    • Adam Barth's avatar
      Introduce Scaffold to Sky framework · f65ff7f4
      Adam Barth authored
      This CL extracts a Scaffold component from StockApp. The Scaffold component
      lets you create an "app-like" layout with an action bar, a drawer, etc.
      
      R=ojan@chromium.org, rafaelw@chromium.org
      
      Review URL: https://codereview.chromium.org/1027813002
      f65ff7f4
  2. 16 Mar, 2015 1 commit
  3. 19 Mar, 2015 3 commits
    • Adam Barth's avatar
      Add a basic custom painting facility to Sky · 11155a2b
      Adam Barth authored
      This CL adds just enough custom painting to Sky to make
      sky/examples/painting/circle.sky draw a circle. Over time, we should be able to
      elaborate this system into something interesting and to make it actually work
      in a reasonable way.
      
      R=ojan@chromium.org
      
      Review URL: https://codereview.chromium.org/1017593005
      11155a2b
    • Adam Barth's avatar
      Improve Material ink effects · 9d9d2d52
      Adam Barth authored
      1) Factors InkWell out of Material so that components can use an ink well
         without needing the shadow/level machinery.
      
      2) Makes the ink effect move at a different velocity once the tap has actually
         occurred, converging with the spec. We don't have the right speeds yet, but
         at least we're approaching the right shape.
      
      3) To support (2), added a primaryPointer attribute to GestureEvents to let
         authors coorelate gesturetapdown events with later gesturetap events.
      
      4) To support (2), modernized SplashAnimation to used AnimatedValue and friends.
      
      5) Added more constants to view-configuration.dart that match Android.
      
      I've also removed the cancelling of the ink effect on scroll. The proper way to
      do that is to notice that someone in the event chain is listening for
      scrollstart and delay the beginning of the ink effect for some period of time.
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1019023003
      9d9d2d52
    • Viet-Trung Luu's avatar
      Make the terminal demo able (to try) to connect to anything. · 818df5f4
      Viet-Trung Luu authored
      (Using the query string from the URL.)
      
      R=erg@chromium.org
      
      Review URL: https://codereview.chromium.org/1019323002
      818df5f4
  4. 15 Mar, 2015 1 commit
    • Rafael Weinstein's avatar
      Change how events are handled in Effen · bd7603bd
      Rafael Weinstein authored
      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
      bd7603bd
  5. 18 Mar, 2015 5 commits
  6. 17 Mar, 2015 6 commits
  7. 16 Mar, 2015 2 commits
  8. 13 Mar, 2015 5 commits
  9. 12 Mar, 2015 3 commits
  10. 11 Mar, 2015 9 commits
  11. 10 Mar, 2015 3 commits