| Index: core/html/HTMLSlotElement.idl
|
| diff --git a/modules/filesystem/FileCallback.idl b/core/html/HTMLSlotElement.idl
|
| similarity index 78%
|
| rename from modules/filesystem/FileCallback.idl
|
| rename to core/html/HTMLSlotElement.idl
|
| index 2a692ba166d82a4ce38c60ca81452a65e61ee5d8..3dc032a15a7c6e14e2218a5e5553559911c4c328 100644
|
| --- a/modules/filesystem/FileCallback.idl
|
| +++ b/core/html/HTMLSlotElement.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2010 Google Inc. All rights reserved.
|
| + * Copyright (C) 2015 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -7,10 +7,6 @@
|
| *
|
| * * Redistributions of source code must retain the above copyright
|
| * notice, this list of conditions and the following disclaimer.
|
| - * * Redistributions in binary form must reproduce the above
|
| - * copyright notice, this list of conditions and the following disclaimer
|
| - * in the documentation and/or other materials provided with the
|
| - * distribution.
|
| * * Neither the name of Google Inc. nor the names of its
|
| * contributors may be used to endorse or promote products derived from
|
| * this software without specific prior written permission.
|
| @@ -28,6 +24,11 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -callback interface FileCallback {
|
| - void handleEvent(File file);
|
| +// http://w3c.github.io/webcomponents/spec/shadow/#the-slot-element
|
| +
|
| +[
|
| + RuntimeEnabled=ShadowDOMV1,
|
| +] interface HTMLSlotElement : HTMLElement {
|
| + [Reflect] attribute DOMString name;
|
| + [ImplementedAs=getAssignedNodesForBinding] sequence<Node> getAssignedNodes(optional AssignedNodesOptions options);
|
| };
|
|
|