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

Unified Diff: third_party/WebKit/Source/devtools/front_end/externs.js

Issue 2649023007: DevTools: implement release note behind an experiment (Closed)
Patch Set: fixup Created 3 years, 10 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/devtools/front_end/externs.js
diff --git a/third_party/WebKit/Source/devtools/front_end/externs.js b/third_party/WebKit/Source/devtools/front_end/externs.js
index 8fc5443e514888dc08ccb5241bdc09c3f7cc0876..1881b715d7576fa5b64e68bc7d63c446fb19b947 100644
--- a/third_party/WebKit/Source/devtools/front_end/externs.js
+++ b/third_party/WebKit/Source/devtools/front_end/externs.js
@@ -59,6 +59,72 @@ MouseEvent.prototype.movementY;
KeyboardEvent.DOM_KEY_LOCATION_NUMPAD;
/**
+ * @constructor
+ */
+function IntersectionObserverEntry() {
+}
+
+/** @type {number} */
+IntersectionObserverEntry.prototype.time;
+
+/** @type {{top: number, right: number, bottom: number, left: number,
+ height: number, width: number}} */
+IntersectionObserverEntry.prototype.rootBounds;
+
+/** @type {!{top: number, right: number, bottom: number, left: number,
+ * height: number, width: number}} */
+IntersectionObserverEntry.prototype.boundingClientRect;
+
+/** @type {!{top: number, right: number, bottom: number, left: number,
+ * height: number, width: number}} */
+IntersectionObserverEntry.prototype.intersectionRect;
+
+/** @type {number} */
+IntersectionObserverEntry.prototype.intersectionRatio;
+
+/** @type {!Element} */
+IntersectionObserverEntry.prototype.target;
+
+/**
+ * @typedef {{threshold: (!Array<number>|number|undefined), root: (!Element|undefined), rootMargin: (string|undefined)}}
+ */
+var IntersectionObserverInit;
+
+/**
+ * @param {function(!Array<!IntersectionObserverEntry>)} handler
+ * @param {!IntersectionObserverInit=} options
+ * @constructor
+ */
+function IntersectionObserver(handler, options) {
+}
+
+/** @type {?Element} */
+IntersectionObserver.prototype.root;
+
+/** @type {!string} */
+IntersectionObserver.prototype.rootMargin;
+
+/** @type {!Array<!number>} */
+IntersectionObserver.prototype.thresholds;
+
+/**
+ * @param {!Element} element
+ */
+IntersectionObserver.prototype.observe = function(element) {};
+
+/**
+ * @param {!Element} element
+ */
+IntersectionObserver.prototype.unobserve = function(element) {};
+
+IntersectionObserver.prototype.disconnect = function() {};
+
+/**
+ * @return {!Array.<!IntersectionObserverEntry>}
luoe 2017/02/11 00:30:54 nit: remove dot
+ */
+IntersectionObserver.prototype.takeRecords = function() {};
+
+/**
* @param {!T} value
* @param {boolean=} onlyFirst
* @this {Array.<T>}
@@ -861,6 +927,8 @@ var HeapSnapshotModel = {};
/** @type {!Object} */
var HeapSnapshotWorker = {};
/** @type {!Object} */
+var Help = {};
+/** @type {!Object} */
var Host = {};
/** @type {!Object} */
var InlineEditor = {};

Powered by Google App Engine
This is Rietveld 408576698