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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp

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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "bindings/core/v8/ScriptCustomElementDefinitionBuilder.h" 5 #include "bindings/core/v8/ScriptCustomElementDefinitionBuilder.h"
6 6
7 #include "bindings/core/v8/DOMWrapperWorld.h"
8 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/IDLTypes.h" 8 #include "bindings/core/v8/IDLTypes.h"
10 #include "bindings/core/v8/NativeValueTraitsImpl.h" 9 #include "bindings/core/v8/NativeValueTraitsImpl.h"
11 #include "bindings/core/v8/ScriptCustomElementDefinition.h" 10 #include "bindings/core/v8/ScriptCustomElementDefinition.h"
12 #include "bindings/core/v8/ScriptState.h" 11 #include "bindings/core/v8/ScriptState.h"
13 #include "bindings/core/v8/ScriptValue.h" 12 #include "bindings/core/v8/ScriptValue.h"
14 #include "bindings/core/v8/V8BindingForCore.h" 13 #include "bindings/core/v8/V8BindingForCore.h"
15 #include "bindings/core/v8/V8BindingMacros.h" 14 #include "bindings/core/v8/V8BindingMacros.h"
16 #include "core/dom/ExceptionCode.h" 15 #include "core/dom/ExceptionCode.h"
16 #include "platform/bindings/DOMWrapperWorld.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 ScriptCustomElementDefinitionBuilder* 20 ScriptCustomElementDefinitionBuilder*
21 ScriptCustomElementDefinitionBuilder::stack_ = nullptr; 21 ScriptCustomElementDefinitionBuilder::stack_ = nullptr;
22 22
23 ScriptCustomElementDefinitionBuilder::ScriptCustomElementDefinitionBuilder( 23 ScriptCustomElementDefinitionBuilder::ScriptCustomElementDefinitionBuilder(
24 ScriptState* script_state, 24 ScriptState* script_state,
25 CustomElementRegistry* registry, 25 CustomElementRegistry* registry,
26 const ScriptValue& constructor, 26 const ScriptValue& constructor,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 CustomElementDefinition* ScriptCustomElementDefinitionBuilder::Build( 157 CustomElementDefinition* ScriptCustomElementDefinitionBuilder::Build(
158 const CustomElementDescriptor& descriptor) { 158 const CustomElementDescriptor& descriptor) {
159 return ScriptCustomElementDefinition::Create( 159 return ScriptCustomElementDefinition::Create(
160 script_state_.Get(), registry_, descriptor, constructor_, 160 script_state_.Get(), registry_, descriptor, constructor_,
161 connected_callback_, disconnected_callback_, adopted_callback_, 161 connected_callback_, disconnected_callback_, adopted_callback_,
162 attribute_changed_callback_, observed_attributes_); 162 attribute_changed_callback_, observed_attributes_);
163 } 163 }
164 164
165 } // namespace blink 165 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698