OLD | NEW |
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 "core/events/EventUtil.h" | 5 #include "core/events/EventUtil.h" |
6 | 6 |
7 #include "core/EventTypeNames.h" | 7 #include "core/EventTypeNames.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 bool IsDOMMutationEventType(const AtomicString& event_type) { | 26 bool IsDOMMutationEventType(const AtomicString& event_type) { |
27 return event_type == EventTypeNames::DOMCharacterDataModified || | 27 return event_type == EventTypeNames::DOMCharacterDataModified || |
28 event_type == EventTypeNames::DOMNodeInserted || | 28 event_type == EventTypeNames::DOMNodeInserted || |
29 event_type == EventTypeNames::DOMNodeInsertedIntoDocument || | 29 event_type == EventTypeNames::DOMNodeInsertedIntoDocument || |
30 event_type == EventTypeNames::DOMNodeRemoved || | 30 event_type == EventTypeNames::DOMNodeRemoved || |
31 event_type == EventTypeNames::DOMNodeRemovedFromDocument || | 31 event_type == EventTypeNames::DOMNodeRemovedFromDocument || |
32 event_type == EventTypeNames::DOMSubtreeModified; | 32 event_type == EventTypeNames::DOMSubtreeModified; |
33 } | 33 } |
34 | 34 |
35 } // namespace eventUtil | 35 } // namespace EventUtil |
36 | 36 |
37 } // namespace blink | 37 } // namespace blink |
OLD | NEW |