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

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h

Issue 2292433002: CL for perf tryjob on linux (Closed)
Patch Set: Created 4 years, 3 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 #ifndef CustomElementDefinition_h 5 #ifndef CustomElementDefinition_h
6 #define CustomElementDefinition_h 6 #define CustomElementDefinition_h
7 7
8 #include "bindings/core/v8/ScriptValue.h" 8 #include "bindings/core/v8/ScriptValue.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/dom/custom/CustomElementDescriptor.h" 10 #include "core/dom/custom/CustomElementDescriptor.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // CustomElementConstructor|. 42 // CustomElementConstructor|.
43 virtual ScriptValue getConstructorForScript() = 0; 43 virtual ScriptValue getConstructorForScript() = 0;
44 44
45 using ConstructionStack = HeapVector<Member<Element>, 1>; 45 using ConstructionStack = HeapVector<Member<Element>, 1>;
46 ConstructionStack& constructionStack() 46 ConstructionStack& constructionStack()
47 { 47 {
48 return m_constructionStack; 48 return m_constructionStack;
49 } 49 }
50 50
51 HTMLElement* createElementForConstructor(Document&); 51 HTMLElement* createElementForConstructor(Document&);
52 virtual HTMLElement* createElementSync(Document&, const QualifiedName&) = 0; 52 virtual HTMLElement* createElementSync(Document&, const QualifiedName&, Exce ptionState*) = 0;
53 virtual HTMLElement* createElementSync(Document&, const QualifiedName&, Exce ptionState&) = 0;
54 HTMLElement* createElementAsync(Document&, const QualifiedName&); 53 HTMLElement* createElementAsync(Document&, const QualifiedName&);
55 54
56 void upgrade(Element*); 55 void upgrade(Element*);
57 56
58 virtual bool hasConnectedCallback() const = 0; 57 virtual bool hasConnectedCallback() const = 0;
59 virtual bool hasDisconnectedCallback() const = 0; 58 virtual bool hasDisconnectedCallback() const = 0;
60 virtual bool hasAdoptedCallback() const = 0; 59 virtual bool hasAdoptedCallback() const = 0;
61 bool hasAttributeChangedCallback(const QualifiedName&) const; 60 bool hasAttributeChangedCallback(const QualifiedName&) const;
62 bool hasStyleAttributeChangedCallback() const; 61 bool hasStyleAttributeChangedCallback() const;
63 62
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 ConstructionStack m_constructionStack; 95 ConstructionStack m_constructionStack;
97 HashSet<AtomicString> m_observedAttributes; 96 HashSet<AtomicString> m_observedAttributes;
98 bool m_hasStyleAttributeChangedCallback; 97 bool m_hasStyleAttributeChangedCallback;
99 98
100 void enqueueAttributeChangedCallbackForAllAttributes(Element*); 99 void enqueueAttributeChangedCallbackForAllAttributes(Element*);
101 }; 100 };
102 101
103 } // namespace blink 102 } // namespace blink
104 103
105 #endif // CustomElementDefinition_h 104 #endif // CustomElementDefinition_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698