Chromium Code Reviews| Index: Source/core/dom/IntersectionObserver.idl |
| diff --git a/Source/core/dom/IntersectionObserver.idl b/Source/core/dom/IntersectionObserver.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c2e2ce86defc4586320eabc8dc3cfeab2fb7a2cc |
| --- /dev/null |
| +++ b/Source/core/dom/IntersectionObserver.idl |
| @@ -0,0 +1,17 @@ |
| +// 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. |
| + |
| +// http://w3c.github.io/performance-timeline/#idl-def-PerformanceObserverCallback |
| +callback IntersectionObserverCallback = void (sequence <IntersectionObserverEntry> entries, IntersectionObserver observer); |
| + |
| +// https:// |
|
ojan
2015/09/21 03:49:09
?
MikeB
2015/09/24 19:04:04
Done.
|
| +[ |
| + CustomConstructor(IntersectionObserverCallback callback), |
| + RuntimeEnabled=IntersectionObserver, |
| + WillBeGarbageCollected, |
| +] interface IntersectionObserver { |
| + [RaisesException] void observe(Element target, IntersectionObserverInit options); |
| + void disconnect(); |
| + sequence <IntersectionObserverEntry> takeRecords(); |
|
ojan
2015/09/21 03:49:09
Nit: no space after "sequence".
MikeB
2015/09/24 19:04:03
Done.
|
| +}; |