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

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

Issue 1738613002: Rename enums/functions that collide in chromium style in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-3
Patch Set: get-names-4: Created 4 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 * 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // the destructor. 111 // the destructor.
112 virtual AbstractAudioContext* context() const; 112 virtual AbstractAudioContext* context() const;
113 void clearContext() { m_context = nullptr; } 113 void clearContext() { m_context = nullptr; }
114 114
115 enum ChannelCountMode { 115 enum ChannelCountMode {
116 Max, 116 Max,
117 ClampedMax, 117 ClampedMax,
118 Explicit 118 Explicit
119 }; 119 };
120 120
121 NodeType nodeType() const { return m_nodeType; } 121 NodeType getNodeType() const { return m_nodeType; }
122 String nodeTypeName() const; 122 String nodeTypeName() const;
123 123
124 // This object has been connected to another object. This might have 124 // This object has been connected to another object. This might have
125 // existing connections from others. 125 // existing connections from others.
126 // This function must be called after acquiring a connection reference. 126 // This function must be called after acquiring a connection reference.
127 void makeConnection(); 127 void makeConnection();
128 // This object will be disconnected from another object. This might have 128 // This object will be disconnected from another object. This might have
129 // remaining connections from others. 129 // remaining connections from others.
130 // This function must be called before releasing a connection reference. 130 // This function must be called before releasing a connection reference.
131 void breakConnection(); 131 void breakConnection();
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; 332 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes;
333 // Represents audio node graph with Oilpan references. N-th HeapHashSet 333 // Represents audio node graph with Oilpan references. N-th HeapHashSet
334 // represents a set of AudioParam objects connected to this AudioNode's N-th 334 // represents a set of AudioParam objects connected to this AudioNode's N-th
335 // output. 335 // output.
336 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; 336 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams;
337 }; 337 };
338 338
339 } // namespace blink 339 } // namespace blink
340 340
341 #endif // AudioNode_h 341 #endif // AudioNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698