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

Side by Side Diff: third_party/WebKit/Source/modules/srcobject/HTMLMediaElementSrcObject.idl

Issue 2383503002: Measure usage of createObjectURL and srcObject (Closed)
Patch Set: oops Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
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 // https://html.spec.whatwg.org/multipage/embedded-content.html#dom-media-srcobj ect 5 // https://html.spec.whatwg.org/multipage/embedded-content.html#dom-media-srcobj ect
6 6
7 // TODO(guidou): Add support for MediaSource and Blob, as defined in the spec. 7 // TODO(guidou): Add support for MediaSource and Blob, as defined in the spec.
8 typedef MediaStream MediaProvider; 8 typedef MediaStream MediaProvider;
9 9
10 partial interface HTMLMediaElement { 10 partial interface HTMLMediaElement {
11 // TODO(haraken): Per the spec, the srcObject should be defined in 11 // TODO(haraken): Per the spec, the srcObject should be defined in
12 // HTMLMediaElement.idl. However, we cannot define srcObject in 12 // HTMLMediaElement.idl. However, we cannot define srcObject in
13 // HTMLMediaElement.idl because of the dependency restriction from modules/ 13 // HTMLMediaElement.idl because of the dependency restriction from modules/
14 // to core/. For now we avoid the problem by using a partial interface. 14 // to core/. For now we avoid the problem by using a partial interface.
15 attribute MediaProvider? srcObject; 15 [Measure] attribute MediaProvider? srcObject;
16 }; 16 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698