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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioContext.idl

Issue 2345693002: Move close() from BaseAudioContext to AudioContext (Closed)
Patch Set: Update expected results Created 4 years, 3 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) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 [ 26 [
27 ActiveScriptWrappable, 27 ActiveScriptWrappable,
28 Constructor, 28 Constructor,
29 ConstructorCallWith=Document, 29 ConstructorCallWith=Document,
30 DependentLifetime, 30 DependentLifetime,
31 NoInterfaceObject, 31 NoInterfaceObject,
32 RaisesException=Constructor, 32 RaisesException=Constructor,
33 ] interface AudioContext : BaseAudioContext { 33 ] interface AudioContext : BaseAudioContext {
34 // Close
35 [MeasureAs=AudioContextClose, CallWith=ScriptState, ImplementedAs=closeConte xt] Promise<void> close();
36
34 // Sources 37 // Sources
35 // TODO(rtoy): The following methods should be here instead of in BaseAudioC ontext: 38 // TODO(rtoy): The following methods should be here instead of in BaseAudioC ontext:
36 // 39 //
37 // createMediaElementSource(HTMLMediaElement mediaElement) 40 // createMediaElementSource(HTMLMediaElement mediaElement)
38 // createMediaStreamSource(MediaStream mediaStream) 41 // createMediaStreamSource(MediaStream mediaStream)
39 // createMediaStreamDestination() 42 // createMediaStreamDestination()
40 }; 43 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698