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

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

Issue 2060833002: Implementation of 'AudioContext.getOutputTimestamp' method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 3 years, 12 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 18 matching lines...) Expand all
29 ActiveScriptWrappable, 29 ActiveScriptWrappable,
30 Constructor, 30 Constructor,
31 ConstructorCallWith=Document, 31 ConstructorCallWith=Document,
32 DependentLifetime, 32 DependentLifetime,
33 RaisesException=Constructor, 33 RaisesException=Constructor,
34 Measure 34 Measure
35 ] interface AudioContext : BaseAudioContext { 35 ] interface AudioContext : BaseAudioContext {
36 [MeasureAs=AudioContextSuspend, CallWith=ScriptState, ImplementedAs=suspendC ontext] Promise<void> suspend(); 36 [MeasureAs=AudioContextSuspend, CallWith=ScriptState, ImplementedAs=suspendC ontext] Promise<void> suspend();
37 [MeasureAs=AudioContextClose, CallWith=ScriptState, ImplementedAs=closeConte xt] Promise<void> close(); 37 [MeasureAs=AudioContextClose, CallWith=ScriptState, ImplementedAs=closeConte xt] Promise<void> close();
38 38
39 // Output timestamp
40 [CallWith=ScriptState] AudioTimestamp getOutputTimestamp();
41
39 // Sources 42 // Sources
40 // TODO(rtoy): The following methods should be here instead of in BaseAudioC ontext: 43 // TODO(rtoy): The following methods should be here instead of in BaseAudioC ontext:
41 // 44 //
42 // createMediaElementSource(HTMLMediaElement mediaElement) 45 // createMediaElementSource(HTMLMediaElement mediaElement)
43 // createMediaStreamSource(MediaStream mediaStream) 46 // createMediaStreamSource(MediaStream mediaStream)
44 // createMediaStreamDestination() 47 // createMediaStreamDestination()
45 }; 48 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698