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

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

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 String channelCountMode(); 173 String channelCountMode();
174 virtual void setChannelCountMode(const String&, ExceptionState&); 174 virtual void setChannelCountMode(const String&, ExceptionState&);
175 175
176 String channelInterpretation(); 176 String channelInterpretation();
177 void setChannelInterpretation(const String&, ExceptionState&); 177 void setChannelInterpretation(const String&, ExceptionState&);
178 178
179 ChannelCountMode internalChannelCountMode() const { return m_channelCountMod e; } 179 ChannelCountMode internalChannelCountMode() const { return m_channelCountMod e; }
180 AudioBus::ChannelInterpretation internalChannelInterpretation() const { retu rn m_channelInterpretation; } 180 AudioBus::ChannelInterpretation internalChannelInterpretation() const { retu rn m_channelInterpretation; }
181 181
182 // EventTarget 182 // EventTarget
183 virtual const AtomicString& interfaceName() const OVERRIDE FINAL; 183 virtual const AtomicString& interfaceName() const override final;
184 virtual ExecutionContext* executionContext() const OVERRIDE FINAL; 184 virtual ExecutionContext* executionContext() const override final;
185 185
186 void updateChannelCountMode(); 186 void updateChannelCountMode();
187 187
188 virtual void trace(Visitor*) OVERRIDE; 188 virtual void trace(Visitor*) override;
189 189
190 protected: 190 protected:
191 // Inputs and outputs must be created before the AudioNode is initialized. 191 // Inputs and outputs must be created before the AudioNode is initialized.
192 void addInput(); 192 void addInput();
193 void addOutput(AudioNodeOutput*); 193 void addOutput(AudioNodeOutput*);
194 194
195 // Called by processIfNecessary() to cause all parts of the rendering graph connected to us to process. 195 // Called by processIfNecessary() to cause all parts of the rendering graph connected to us to process.
196 // Each rendering quantum, the audio data for each of the AudioNode's inputs will be available after this method is called. 196 // Each rendering quantum, the audio data for each of the AudioNode's inputs will be available after this method is called.
197 // Called from context's audio thread. 197 // Called from context's audio thread.
198 virtual void pullInputs(size_t framesToProcess); 198 virtual void pullInputs(size_t framesToProcess);
(...skipping 27 matching lines...) Expand all
226 ChannelCountMode m_channelCountMode; 226 ChannelCountMode m_channelCountMode;
227 AudioBus::ChannelInterpretation m_channelInterpretation; 227 AudioBus::ChannelInterpretation m_channelInterpretation;
228 // The new channel count mode that will be used to set the actual mode in th e pre or post 228 // The new channel count mode that will be used to set the actual mode in th e pre or post
229 // rendering phase. 229 // rendering phase.
230 ChannelCountMode m_newChannelCountMode; 230 ChannelCountMode m_newChannelCountMode;
231 }; 231 };
232 232
233 } // namespace blink 233 } // namespace blink
234 234
235 #endif // AudioNode_h 235 #endif // AudioNode_h
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioDestinationNode.h ('k') | Source/modules/webaudio/AudioNodeInput.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698