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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/MediaStream.idl

Issue 2128593003: Measure usage of MediaStream.prototype.active (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 /* 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 25 matching lines...) Expand all
36 36
37 sequence<MediaStreamTrack> getAudioTracks(); 37 sequence<MediaStreamTrack> getAudioTracks();
38 sequence<MediaStreamTrack> getVideoTracks(); 38 sequence<MediaStreamTrack> getVideoTracks();
39 sequence<MediaStreamTrack> getTracks(); 39 sequence<MediaStreamTrack> getTracks();
40 40
41 [RaisesException] void addTrack(MediaStreamTrack track); 41 [RaisesException] void addTrack(MediaStreamTrack track);
42 [RaisesException] void removeTrack(MediaStreamTrack track); 42 [RaisesException] void removeTrack(MediaStreamTrack track);
43 MediaStreamTrack getTrackById(DOMString trackId); 43 MediaStreamTrack getTrackById(DOMString trackId);
44 [CallWith=ExecutionContext] MediaStream clone(); 44 [CallWith=ExecutionContext] MediaStream clone();
45 45
46 readonly attribute boolean active; 46 [Measure] readonly attribute boolean active;
47 47
48 attribute EventHandler onactive; 48 attribute EventHandler onactive;
49 attribute EventHandler oninactive; 49 attribute EventHandler oninactive;
50 // DEPRECATED 50 // DEPRECATED
51 attribute EventHandler onended; 51 attribute EventHandler onended;
52 52
53 attribute EventHandler onaddtrack; 53 attribute EventHandler onaddtrack;
54 attribute EventHandler onremovetrack; 54 attribute EventHandler onremovetrack;
55 }; 55 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698