1. 06 3月, 2015 2 次提交
    • A
      Update SDK.md · 383ea842
      Adam Barth 提交于
      383ea842
    • A
      Don't hardcode the list of events types in fn · 075635df
      Adam Barth 提交于
      This CL changes how events work in fn. Previously, event listeners were passed
      in as constructor arguments. Now Nodes hold an |events| object, which contains
      all the event registrations. When a Component renders, all its |events| are
      copied onto the Node it produces. When an Element syncs, it walks its |events|
      and adds them as event listeners on the underlying sky.Element.
      
      The net result of this change is increased flexibility in how events are
      registered. Now components don't need to enumerate all the possible events that
      they support. Instead, the parent component can listen for whatever events it
      likes.
      
      Also, I've cleaned up the association between DrawerAnimation and Drawer. Now
      the constructor for Drawer accepts an |animation| object and wires up its
      internal event handlers itself instead of requiring the constructor to do all
      the wiring.
      
      R=rafaelw@chromium.org
      
      Review URL: https://codereview.chromium.org/975863003
      075635df
  2. 05 3月, 2015 3 次提交
  3. 04 3月, 2015 10 次提交
  4. 03 3月, 2015 11 次提交
  5. 28 2月, 2015 8 次提交
  6. 27 2月, 2015 6 次提交
    • H
      Added ServiceRegistry interface · d679a524
      Hans Muller 提交于
      ServiceRegistry enables a chain of Mojo applications to accumulate
      services without wrapping and forwarding the incoming ServiceProvider
      request.
      
      Sky's DocumentView adds ViewManagerClient to the ServiceRegistry (if any)
      that's provided to it via ConnectToApplication(). Sky applications can add
      additional services with embedder.serviceRegistry.addServices().
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/958673002
      d679a524
    • O
      Simplify RenderLayer's handling of filters. · 4b60c287
      Ojan Vafai 提交于
      -Remove RenderLayerFilterInfo. It was just a static map for
      FilterEffectRenderers. Instead, put the FilterEffectRenderer
      directly on RenderLayer.
      -Make FilterEffectRenderer not be RefCounted. This involved
      deleting a ton of dead code around ReferenceFilters since they
      were the other subclass of Filter. As best I can tell,
      reference filters are already don't parse in Sky, so this should
      just be removing dead code.
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/962543003
      4b60c287
    • Z
      Dart: Removes name conflicts from generated bindings. · 7da01c7c
      Zachary Anderson 提交于
      This change causes the generated abstract class having the same name as the interface to contain only the interface's method declarations. The generated Proxy class then implements the base class. In addition to implementing the interface methods, the generated Proxy class has one private field _proxyImpl, which is a MojoEventStreamListener and manages sending messages and receiving responses. Operations on the ProxyImpl (close, bind, etc.) are exposed through generated utility functions.
      
      The generated Stub is largely as before with the difference that a class providing a service will implement the mojo interface and *have* a Stub rather than be a Stub. Where appropriate, this change also calls listen() immediately where a Stub is constructed.
      
      BUG=
      R=hansmuller@google.com, sky@chromium.org
      
      Review URL: https://codereview.chromium.org/959993002
      7da01c7c
    • E
      Don't crash when we 404. · dc0b57a2
      Eric Seidel 提交于
      This makes debugging that case much easier.
      
      R=abarth@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/958203002
      dc0b57a2
    • O
      Assorted cleanup of RenderLayer. · f36e7b49
      Ojan Vafai 提交于
      -Move perspectiveOrigin to RenderBox. It's only used in
      one place and called on a RenderBox.
      -Inline some methods that were just calling out to the renderer.
      -Inline updateStackingNode() into the constructor and remove
      the branch since requiresStackingNode is always true.
      -Delete a bunch of dead code.
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/961053002
      f36e7b49
    • E
      Fix multi-touch to work in SkyShell. · a3eeb226
      Eric Seidel 提交于
      Before this patch it crashed.
      
      Also updated the touch-demo to support multi-touch.
      
      R=abarth@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/961483004
      a3eeb226