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

Unified Diff: third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl

Issue 1330633003: Intersection Observer first draft Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Lost newline in merge Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
diff --git a/chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
similarity index 56%
copy from chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js
copy to third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
index be9ae08c6fd493a13f15b480a483529f122d1872..392bedd04d7643bfd343c41324eb0b183b87e49d 100644
--- a/chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-'use strict';
+// Spec: http://dom.spec.whatwg.org/#idl-def-IntersectionObserverInit
-self.onmessage = function(e) {
- e.data.port.postMessage(e.data.message);
+dictionary IntersectionObserverInit {
+ Element? viewport;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserverEntry.idl ('k') | third_party/WebKit/Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698