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

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

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 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 | Annotate | Revision Log
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 25 matching lines...) Expand all
36 #include <sys/types.h> 36 #include <sys/types.h>
37 #include "wtf/Float32Array.h" 37 #include "wtf/Float32Array.h"
38 #include "wtf/PassRefPtr.h" 38 #include "wtf/PassRefPtr.h"
39 #include "wtf/RefCounted.h" 39 #include "wtf/RefCounted.h"
40 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 class AudioNodeOutput; 44 class AudioNodeOutput;
45 45
46 class AudioParam : public RefCounted<AudioParam>, public ScriptWrappable, public AudioSummingJunction { 46 class AudioParam FINAL : public RefCounted<AudioParam>, public ScriptWrappable, public AudioSummingJunction {
47 public: 47 public:
48 static const double DefaultSmoothingConstant; 48 static const double DefaultSmoothingConstant;
49 static const double SnapThreshold; 49 static const double SnapThreshold;
50 50
51 static PassRefPtr<AudioParam> create(AudioContext* context, const String& na me, double defaultValue, double minValue, double maxValue, unsigned units = 0) 51 static PassRefPtr<AudioParam> create(AudioContext* context, const String& na me, double defaultValue, double minValue, double maxValue, unsigned units = 0)
52 { 52 {
53 return adoptRef(new AudioParam(context, name, defaultValue, minValue, ma xValue, units)); 53 return adoptRef(new AudioParam(context, name, defaultValue, minValue, ma xValue, units));
54 } 54 }
55 55
56 // AudioSummingJunction 56 // AudioSummingJunction
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Smoothing (de-zippering) 133 // Smoothing (de-zippering)
134 double m_smoothedValue; 134 double m_smoothedValue;
135 double m_smoothingConstant; 135 double m_smoothingConstant;
136 136
137 AudioParamTimeline m_timeline; 137 AudioParamTimeline m_timeline;
138 }; 138 };
139 139
140 } // namespace WebCore 140 } // namespace WebCore
141 141
142 #endif // AudioParam_h 142 #endif // AudioParam_h
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioNodeInput.h ('k') | Source/modules/webaudio/AudioProcessingEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698