Lines Matching refs:window
71 this.id = 'media_' + window.__globalCounter++;
171 for (var i = 0; i < window.__mediaMetrics.length; i++) {
172 if (window.__mediaMetrics[i].element == element)
173 return window.__mediaMetrics[i];
183 window.__mediaMetrics.push(new MediaMetric(mediaElements[i]));
187 if (window.performance)
192 performance.webkitNow).call(window.performance);
200 for (var i = 0; i < window.__mediaMetrics.length; i++)
201 metrics.push(window.__mediaMetrics[i].getSummary());
205 window.__globalCounter = 0;
206 window.__mediaMetrics = [];
207 window.__getMediaMetric = getMediaMetric;
208 window.__getAllMetrics = getAllMetrics;
209 window.__createMediaMetricsForDocument = createMediaMetricsForDocument;