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

Side by Side Diff: Source/bindings/core/v8/CustomElementConstructorBuilder.h

Issue 626693003: Clean up forward declarations and include files in Source/bindings (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
« no previous file with comments | « Source/bindings/core/v8/BindingSecurity.h ('k') | Source/bindings/core/v8/DOMWrapperWorld.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef CustomElementConstructorBuilder_h 31 #ifndef CustomElementConstructorBuilder_h
32 #define CustomElementConstructorBuilder_h 32 #define CustomElementConstructorBuilder_h
33 33
34 #include "bindings/core/v8/ScriptValue.h" 34 #include "bindings/core/v8/ScriptValue.h"
35 #include "bindings/core/v8/V8CustomElementLifecycleCallbacks.h" 35 #include "bindings/core/v8/V8CustomElementLifecycleCallbacks.h"
36 #include "core/dom/QualifiedName.h" 36 #include "core/dom/QualifiedName.h"
37 #include "core/dom/custom/CustomElementLifecycleCallbacks.h" 37 #include "core/dom/custom/CustomElementLifecycleCallbacks.h"
38 #include "wtf/Noncopyable.h"
39 #include "wtf/PassRefPtr.h" 38 #include "wtf/PassRefPtr.h"
40 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
41 #include "wtf/text/AtomicString.h" 40 #include "wtf/text/AtomicString.h"
42 #include <v8.h> 41 #include <v8.h>
43 42
44 namespace blink { 43 namespace blink {
45 44
46 class CustomElementDefinition; 45 class CustomElementDefinition;
47 class Document; 46 class Document;
48 class Element;
49 class ElementRegistrationOptions; 47 class ElementRegistrationOptions;
50 class ExceptionState; 48 class ExceptionState;
51 class QualifiedName; 49 class QualifiedName;
52 class V8PerContextData;
53 struct WrapperTypeInfo; 50 struct WrapperTypeInfo;
54 51
55 // Handles the scripting-specific parts of the Custom Elements element 52 // Handles the scripting-specific parts of the Custom Elements element
56 // registration algorithm and constructor generation algorithm. It is 53 // registration algorithm and constructor generation algorithm. It is
57 // used in the implementation of those algorithms in 54 // used in the implementation of those algorithms in
58 // Document::registerElement. 55 // Document::registerElement.
59 class CustomElementConstructorBuilder { 56 class CustomElementConstructorBuilder {
60 WTF_MAKE_NONCOPYABLE(CustomElementConstructorBuilder); 57 WTF_MAKE_NONCOPYABLE(CustomElementConstructorBuilder);
61 public: 58 public:
62 CustomElementConstructorBuilder(ScriptState*, const ElementRegistrationOptio ns&); 59 CustomElementConstructorBuilder(ScriptState*, const ElementRegistrationOptio ns&);
(...skipping 21 matching lines...) Expand all
84 RefPtr<ScriptState> m_scriptState; 81 RefPtr<ScriptState> m_scriptState;
85 const ElementRegistrationOptions& m_options; 82 const ElementRegistrationOptions& m_options;
86 v8::Handle<v8::Object> m_prototype; 83 v8::Handle<v8::Object> m_prototype;
87 v8::Handle<v8::Function> m_constructor; 84 v8::Handle<v8::Function> m_constructor;
88 RefPtr<V8CustomElementLifecycleCallbacks> m_callbacks; 85 RefPtr<V8CustomElementLifecycleCallbacks> m_callbacks;
89 }; 86 };
90 87
91 } // namespace blink 88 } // namespace blink
92 89
93 #endif // CustomElementConstructorBuilder_h 90 #endif // CustomElementConstructorBuilder_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/BindingSecurity.h ('k') | Source/bindings/core/v8/DOMWrapperWorld.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698