dom/webidl/WebComponents.webidl
author Andrew McCreight <continuation@gmail.com>
Thu, 13 Sep 2018 19:30:51 +0000
changeset 436266 b417c2d937e8b0a4987e61b1d47efae4435a3fde
parent 427271 68da215bdf87b5486a4f8c0a600ef77112f21ac4
child 436270 86dc76e74294e7c25a2d582d144b8da5f986af20
permissions -rw-r--r--
Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot This patch was generated by my modeline.py script. MozReview-Commit-ID: EbVjPLwiUAT Depends on D4159 Differential Revision: https://phabricator.services.mozilla.com/D4161

/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * The origin of this IDL file is
 * http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html
 *
 * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
 * liability, trademark and document use rules apply.
 */

interface IID;

callback LifecycleConnectedCallback = void();
callback LifecycleDisconnectedCallback = void();
callback LifecycleAdoptedCallback = void(Document? oldDocument,
                                         Document? newDocment);
callback LifecycleAttributeChangedCallback = void(DOMString attrName,
                                                  DOMString? oldValue,
                                                  DOMString? newValue,
                                                  DOMString? namespaceURI);
callback LifecycleGetCustomInterfaceCallback = object?(IID iid);

dictionary LifecycleCallbacks {
  LifecycleConnectedCallback connectedCallback;
  LifecycleDisconnectedCallback disconnectedCallback;
  LifecycleAdoptedCallback adoptedCallback;
  LifecycleAttributeChangedCallback attributeChangedCallback;
  [ChromeOnly] LifecycleGetCustomInterfaceCallback getCustomInterfaceCallback;
};