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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioParam.h

Issue 2655073009: Rename cancelValuesAndHoldAtTime to cancelAndHoldAtTime. (Closed)
Patch Set: Rebase expected results Created 3 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 * 7 *
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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 ExceptionState&); 244 ExceptionState&);
245 AudioParam* setTargetAtTime(float target, 245 AudioParam* setTargetAtTime(float target,
246 double time, 246 double time,
247 double timeConstant, 247 double timeConstant,
248 ExceptionState&); 248 ExceptionState&);
249 AudioParam* setValueCurveAtTime(DOMFloat32Array* curve, 249 AudioParam* setValueCurveAtTime(DOMFloat32Array* curve,
250 double time, 250 double time,
251 double duration, 251 double duration,
252 ExceptionState&); 252 ExceptionState&);
253 AudioParam* cancelScheduledValues(double startTime, ExceptionState&); 253 AudioParam* cancelScheduledValues(double startTime, ExceptionState&);
254 AudioParam* cancelValuesAndHoldAtTime(double startTime, ExceptionState&); 254 AudioParam* cancelAndHoldAtTime(double startTime, ExceptionState&);
255 255
256 private: 256 private:
257 AudioParam(BaseAudioContext&, 257 AudioParam(BaseAudioContext&,
258 AudioParamType, 258 AudioParamType,
259 double defaultValue, 259 double defaultValue,
260 float min, 260 float min,
261 float max); 261 float max);
262 262
263 void warnIfOutsideRange(const String& paramMethd, float value); 263 void warnIfOutsideRange(const String& paramMethd, float value);
264 264
265 RefPtr<AudioParamHandler> m_handler; 265 RefPtr<AudioParamHandler> m_handler;
266 Member<BaseAudioContext> m_context; 266 Member<BaseAudioContext> m_context;
267 }; 267 };
268 268
269 } // namespace blink 269 } // namespace blink
270 270
271 #endif // AudioParam_h 271 #endif // AudioParam_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698