flutter_flutter/engine/core/dom/ParentNode.idl
Eric Seidel a3eeb2263c Fix multi-touch to work in SkyShell.
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
2015-02-26 12:23:18 -08:00

29 lines
1.2 KiB
Plaintext

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
ImplementedAs=ContainerNode,
] interface ParentNode : Node {
readonly attribute Node firstChild;
readonly attribute Node lastChild;
readonly attribute Element firstElementChild;
readonly attribute Element lastElementChild;
sequence<Node> getChildNodes();
sequence<Element> getChildElements();
[CustomElementCallbacks, RaisesException] void append(sequence<Node> nodes);
[CustomElementCallbacks, RaisesException] Node appendChild(Node node);
[CustomElementCallbacks, RaisesException] void prepend(sequence<Node> nodes);
[CustomElementCallbacks, RaisesException] Node prependChild(Node node);
[CustomElementCallbacks] void removeChildren();
[CustomElementCallbacks, RaisesException] Node setChild(Node node);
[CustomElementCallbacks, RaisesException] void setChildren(sequence<Node> nodes);
// TODO(abarth): Remove when we have the selector object.
[RaisesException] Element querySelector(DOMString selectors);
[RaisesException] sequence<Element> querySelectorAll(DOMString selectors);
};