Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1104)

Side by Side Diff: third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl

Issue 1449623002: IntersectionObserver: second cut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: sigbjornf nits Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
haraken 2016/01/02 13:47:41 Update the copyright of newly added files in this
szager1 2016/01/02 19:18:34 Done, here and elsewhere.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 this.onmessage = function(e) { 5 // TODO(szager): link to final spec
6 e.ports[0].postMessage('Pong from version 2'); 6
7 dictionary IntersectionObserverInit {
8 Element? root;
9 DOMString rootMargin;
10 (double or double[]) threshold = 0;
7 }; 11 };
8
9 this.oninstall = function(e) {
10 e.waitUntil(self.skipWaiting());
11 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698