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

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

Issue 2058823002: Implement callback reactions for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stack-ce
Patch Set: dominicc review Created 4 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CustomElementAttributeChangedCallbackReaction_h
6 #define CustomElementAttributeChangedCallbackReaction_h
7
8 #include "core/CoreExport.h"
9 #include "core/dom/QualifiedName.h"
10 #include "core/dom/custom/CustomElementReaction.h"
11 #include "platform/heap/Handle.h"
12 #include "wtf/Noncopyable.h"
13
14 namespace blink {
15
16 class CORE_EXPORT CustomElementAttributeChangedCallbackReaction final
17 : public CustomElementReaction {
18 WTF_MAKE_NONCOPYABLE(CustomElementAttributeChangedCallbackReaction);
19 public:
20 CustomElementAttributeChangedCallbackReaction(CustomElementDefinition*,
21 const QualifiedName&,
22 const AtomicString& oldValue, const AtomicString& newValue);
23
24 private:
25 void invoke(Element*) override;
26
27 QualifiedName m_name;
28 AtomicString m_oldValue;
29 AtomicString m_newValue;
30 };
31
32 } // namespace blink
33
34 #endif // CustomElementAttributeChangedCallbackReaction_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698