| 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 #ifndef CustomElementTestHelpers_h | 5 #ifndef CustomElementTestHelpers_h |
| 6 #define CustomElementTestHelpers_h | 6 #define CustomElementTestHelpers_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "core/dom/Element.h" | 10 #include "core/dom/Element.h" |
| 11 #include "core/dom/ElementDefinitionOptions.h" | 11 #include "core/dom/ElementDefinitionOptions.h" |
| 12 #include "core/dom/QualifiedName.h" | 12 #include "core/dom/QualifiedName.h" |
| 13 #include "core/dom/custom/CEReactionsScope.h" | 13 #include "core/dom/custom/CEReactionsScope.h" |
| 14 #include "core/dom/custom/CustomElementDefinition.h" | 14 #include "core/dom/custom/CustomElementDefinition.h" |
| 15 #include "core/dom/custom/CustomElementDefinitionBuilder.h" | 15 #include "core/dom/custom/CustomElementDefinitionBuilder.h" |
| 16 #include "core/html/HTMLDocument.h" | 16 #include "core/html/HTMLDocument.h" |
| 17 #include "platform/heap/Handle.h" | 17 #include "platform/heap/Handle.h" |
| 18 #include "wtf/text/AtomicString.h" | 18 #include "platform/wtf/text/AtomicString.h" |
| 19 | 19 |
| 20 #include <utility> | 20 #include <utility> |
| 21 #include <vector> | 21 #include <vector> |
| 22 | 22 |
| 23 namespace blink { | 23 namespace blink { |
| 24 | 24 |
| 25 class CustomElementDescriptor; | 25 class CustomElementDescriptor; |
| 26 | 26 |
| 27 class TestCustomElementDefinitionBuilder | 27 class TestCustomElementDefinitionBuilder |
| 28 : public CustomElementDefinitionBuilder { | 28 : public CustomElementDefinitionBuilder { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 private: | 133 private: |
| 134 Member<Document> document_; | 134 Member<Document> document_; |
| 135 AtomicString namespace_uri_; | 135 AtomicString namespace_uri_; |
| 136 AtomicString local_name_; | 136 AtomicString local_name_; |
| 137 std::vector<std::pair<QualifiedName, AtomicString>> attributes_; | 137 std::vector<std::pair<QualifiedName, AtomicString>> attributes_; |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 } // namespace blink | 140 } // namespace blink |
| 141 | 141 |
| 142 #endif // CustomElementTestHelpers_h | 142 #endif // CustomElementTestHelpers_h |
| OLD | NEW |