Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 | 52 |
| 53 /** @type {number} */ | 53 /** @type {number} */ |
| 54 MouseEvent.prototype.movementY; | 54 MouseEvent.prototype.movementY; |
| 55 | 55 |
| 56 /** | 56 /** |
| 57 * @type {number} | 57 * @type {number} |
| 58 */ | 58 */ |
| 59 KeyboardEvent.DOM_KEY_LOCATION_NUMPAD; | 59 KeyboardEvent.DOM_KEY_LOCATION_NUMPAD; |
| 60 | 60 |
| 61 /** | 61 /** |
| 62 * @constructor | |
| 63 */ | |
| 64 function IntersectionObserverEntry() { | |
| 65 } | |
| 66 | |
| 67 /** @type {number} */ | |
| 68 IntersectionObserverEntry.prototype.time; | |
| 69 | |
| 70 /** @type {{top: number, right: number, bottom: number, left: number, | |
| 71 height: number, width: number}} */ | |
| 72 IntersectionObserverEntry.prototype.rootBounds; | |
| 73 | |
| 74 /** @type {!{top: number, right: number, bottom: number, left: number, | |
| 75 * height: number, width: number}} */ | |
| 76 IntersectionObserverEntry.prototype.boundingClientRect; | |
| 77 | |
| 78 /** @type {!{top: number, right: number, bottom: number, left: number, | |
| 79 * height: number, width: number}} */ | |
| 80 IntersectionObserverEntry.prototype.intersectionRect; | |
| 81 | |
| 82 /** @type {number} */ | |
| 83 IntersectionObserverEntry.prototype.intersectionRatio; | |
| 84 | |
| 85 /** @type {!Element} */ | |
| 86 IntersectionObserverEntry.prototype.target; | |
| 87 | |
| 88 /** | |
| 89 * @typedef {{threshold: (!Array<number>|number|undefined), root: (!Element|unde fined), rootMargin: (string|undefined)}} | |
| 90 */ | |
| 91 var IntersectionObserverInit; | |
| 92 | |
| 93 /** | |
| 94 * @param {function(!Array<!IntersectionObserverEntry>)} handler | |
| 95 * @param {!IntersectionObserverInit=} options | |
| 96 * @constructor | |
| 97 */ | |
| 98 function IntersectionObserver(handler, options) { | |
| 99 } | |
| 100 | |
| 101 /** @type {?Element} */ | |
| 102 IntersectionObserver.prototype.root; | |
| 103 | |
| 104 /** @type {!string} */ | |
| 105 IntersectionObserver.prototype.rootMargin; | |
| 106 | |
| 107 /** @type {!Array<!number>} */ | |
| 108 IntersectionObserver.prototype.thresholds; | |
| 109 | |
| 110 /** | |
| 111 * @param {!Element} element | |
| 112 */ | |
| 113 IntersectionObserver.prototype.observe = function(element) {}; | |
| 114 | |
| 115 /** | |
| 116 * @param {!Element} element | |
| 117 */ | |
| 118 IntersectionObserver.prototype.unobserve = function(element) {}; | |
| 119 | |
| 120 IntersectionObserver.prototype.disconnect = function() {}; | |
| 121 | |
| 122 /** | |
| 123 * @return {!Array.<!IntersectionObserverEntry>} | |
|
luoe
2017/02/11 00:30:54
nit: remove dot
| |
| 124 */ | |
| 125 IntersectionObserver.prototype.takeRecords = function() {}; | |
| 126 | |
| 127 /** | |
| 62 * @param {!T} value | 128 * @param {!T} value |
| 63 * @param {boolean=} onlyFirst | 129 * @param {boolean=} onlyFirst |
| 64 * @this {Array.<T>} | 130 * @this {Array.<T>} |
| 65 * @template T | 131 * @template T |
| 66 */ | 132 */ |
| 67 Array.prototype.remove = function(value, onlyFirst) {}; | 133 Array.prototype.remove = function(value, onlyFirst) {}; |
| 68 /** | 134 /** |
| 69 * @param {!Array.<!T>} array | 135 * @param {!Array.<!T>} array |
| 70 * @this {Array.<!T>} | 136 * @this {Array.<!T>} |
| 71 * @template T | 137 * @template T |
| (...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 854 var Extensions = {}; | 920 var Extensions = {}; |
| 855 /** @type {!Object} */ | 921 /** @type {!Object} */ |
| 856 var EventListeners = {}; | 922 var EventListeners = {}; |
| 857 /** @type {!Object} */ | 923 /** @type {!Object} */ |
| 858 var FormatterWorker = {}; | 924 var FormatterWorker = {}; |
| 859 /** @type {!Object} */ | 925 /** @type {!Object} */ |
| 860 var HeapSnapshotModel = {}; | 926 var HeapSnapshotModel = {}; |
| 861 /** @type {!Object} */ | 927 /** @type {!Object} */ |
| 862 var HeapSnapshotWorker = {}; | 928 var HeapSnapshotWorker = {}; |
| 863 /** @type {!Object} */ | 929 /** @type {!Object} */ |
| 930 var Help = {}; | |
| 931 /** @type {!Object} */ | |
| 864 var Host = {}; | 932 var Host = {}; |
| 865 /** @type {!Object} */ | 933 /** @type {!Object} */ |
| 866 var InlineEditor = {}; | 934 var InlineEditor = {}; |
| 867 /** @type {!Object} */ | 935 /** @type {!Object} */ |
| 868 var LayerViewer = {}; | 936 var LayerViewer = {}; |
| 869 /** @type {!Object} */ | 937 /** @type {!Object} */ |
| 870 var Layers = {}; | 938 var Layers = {}; |
| 871 /** @type {!Object} */ | 939 /** @type {!Object} */ |
| 872 var Main = {}; | 940 var Main = {}; |
| 873 /** @type {!Object} */ | 941 /** @type {!Object} */ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 919 /** @type {!Object} */ | 987 /** @type {!Object} */ |
| 920 var ToolboxBootstrap = {}; | 988 var ToolboxBootstrap = {}; |
| 921 /** @type {!Object} */ | 989 /** @type {!Object} */ |
| 922 var UI = {}; | 990 var UI = {}; |
| 923 /** @type {!Object} */ | 991 /** @type {!Object} */ |
| 924 var UtilitySharedWorker = {}; | 992 var UtilitySharedWorker = {}; |
| 925 /** @type {!Object} */ | 993 /** @type {!Object} */ |
| 926 var WorkerService = {}; | 994 var WorkerService = {}; |
| 927 /** @type {!Object} */ | 995 /** @type {!Object} */ |
| 928 var Workspace = {}; | 996 var Workspace = {}; |
| OLD | NEW |