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

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

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef AudioWorkletProcessorDefinition_h 5 #ifndef AudioWorkletProcessorDefinition_h
6 #define AudioWorkletProcessorDefinition_h 6 #define AudioWorkletProcessorDefinition_h
7 7
8 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "modules/ModulesExport.h" 8 #include "modules/ModulesExport.h"
9 #include "platform/bindings/ScopedPersistent.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "platform/wtf/text/WTFString.h" 11 #include "platform/wtf/text/WTFString.h"
12 #include "v8/include/v8.h" 12 #include "v8/include/v8.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 // Represents a JavaScript class definition registered in the 16 // Represents a JavaScript class definition registered in the
17 // AudioWorkletGlobalScope. After the registration, a definition class contains 17 // AudioWorkletGlobalScope. After the registration, a definition class contains
18 // the V8 representation of class components (constructor, process callback, 18 // the V8 representation of class components (constructor, process callback,
19 // prototypes and parameter descriptors). 19 // prototypes and parameter descriptors).
(...skipping 30 matching lines...) Expand all
50 ScopedPersistent<v8::Function> constructor_; 50 ScopedPersistent<v8::Function> constructor_;
51 ScopedPersistent<v8::Function> process_; 51 ScopedPersistent<v8::Function> process_;
52 52
53 // TODO(hongchan): A container for AudioParamDescriptor objects. 53 // TODO(hongchan): A container for AudioParamDescriptor objects.
54 // ScopedPersistent<v8::Array> m_parameterDescriptors; 54 // ScopedPersistent<v8::Array> m_parameterDescriptors;
55 }; 55 };
56 56
57 } // namespace blink 57 } // namespace blink
58 58
59 #endif // AudioWorkletProcessorDefinition_h 59 #endif // AudioWorkletProcessorDefinition_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698