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

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

Issue 1718503002: Add use-counter to MediaStream onended event handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add UseCounter and histogram entry Created 4 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 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 [RaisesException] void addTrack(MediaStreamTrack track); 42 [RaisesException] void addTrack(MediaStreamTrack track);
43 [RaisesException] void removeTrack(MediaStreamTrack track); 43 [RaisesException] void removeTrack(MediaStreamTrack track);
44 MediaStreamTrack getTrackById(DOMString trackId); 44 MediaStreamTrack getTrackById(DOMString trackId);
45 [CallWith=ExecutionContext] MediaStream clone(); 45 [CallWith=ExecutionContext] MediaStream clone();
46 46
47 readonly attribute boolean active; 47 readonly attribute boolean active;
48 48
49 attribute EventHandler onactive; 49 attribute EventHandler onactive;
50 attribute EventHandler oninactive; 50 attribute EventHandler oninactive;
51 // DEPRECATED 51 // DEPRECATED
52 attribute EventHandler onended; 52 [MeasureAs=MediaStreamOnEnded] attribute EventHandler onended;
53 53
54 attribute EventHandler onaddtrack; 54 attribute EventHandler onaddtrack;
55 attribute EventHandler onremovetrack; 55 attribute EventHandler onremovetrack;
56 }; 56 };
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