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

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

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit 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) 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 14 matching lines...) Expand all
25 25
26 #include "modules/webaudio/AudioParam.h" 26 #include "modules/webaudio/AudioParam.h"
27 27
28 #include "core/dom/ExceptionCode.h" 28 #include "core/dom/ExceptionCode.h"
29 #include "core/inspector/ConsoleMessage.h" 29 #include "core/inspector/ConsoleMessage.h"
30 #include "modules/webaudio/AudioNode.h" 30 #include "modules/webaudio/AudioNode.h"
31 #include "modules/webaudio/AudioNodeOutput.h" 31 #include "modules/webaudio/AudioNodeOutput.h"
32 #include "platform/FloatConversion.h" 32 #include "platform/FloatConversion.h"
33 #include "platform/Histogram.h" 33 #include "platform/Histogram.h"
34 #include "platform/audio/AudioUtilities.h" 34 #include "platform/audio/AudioUtilities.h"
35 #include "platform/v8_inspector/public/ConsoleTypes.h"
36 #include "wtf/MathExtras.h" 35 #include "wtf/MathExtras.h"
37 36
38 namespace blink { 37 namespace blink {
39 38
40 const double AudioParamHandler::DefaultSmoothingConstant = 0.05; 39 const double AudioParamHandler::DefaultSmoothingConstant = 0.05;
41 const double AudioParamHandler::SnapThreshold = 0.001; 40 const double AudioParamHandler::SnapThreshold = 0.001;
42 41
43 AudioParamHandler::AudioParamHandler(AbstractAudioContext& context, AudioParamTy pe paramType, double defaultValue, float minValue, float maxValue) 42 AudioParamHandler::AudioParamHandler(AbstractAudioContext& context, AudioParamTy pe paramType, double defaultValue, float minValue, float maxValue)
44 : AudioSummingJunction(context.deferredTaskHandler()) 43 : AudioSummingJunction(context.deferredTaskHandler())
45 , m_paramType(paramType) 44 , m_paramType(paramType)
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 } 498 }
500 499
501 AudioParam* AudioParam::cancelScheduledValues(double startTime, ExceptionState& exceptionState) 500 AudioParam* AudioParam::cancelScheduledValues(double startTime, ExceptionState& exceptionState)
502 { 501 {
503 handler().timeline().cancelScheduledValues(startTime, exceptionState); 502 handler().timeline().cancelScheduledValues(startTime, exceptionState);
504 return this; 503 return this;
505 } 504 }
506 505
507 } // namespace blink 506 } // namespace blink
508 507
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698