OLD | NEW |
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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 bool V0CustomElementRegistrationContext::nameIsDefined( | 170 bool V0CustomElementRegistrationContext::nameIsDefined( |
171 const AtomicString& name) const { | 171 const AtomicString& name) const { |
172 return m_registry.nameIsDefined(name); | 172 return m_registry.nameIsDefined(name); |
173 } | 173 } |
174 | 174 |
175 void V0CustomElementRegistrationContext::setV1( | 175 void V0CustomElementRegistrationContext::setV1( |
176 const CustomElementRegistry* v1) { | 176 const CustomElementRegistry* v1) { |
177 m_registry.setV1(v1); | 177 m_registry.setV1(v1); |
178 } | 178 } |
179 | 179 |
| 180 bool V0CustomElementRegistrationContext::v1NameIsDefined( |
| 181 const AtomicString& name) const { |
| 182 return m_registry.v1NameIsDefined(name); |
| 183 } |
| 184 |
180 DEFINE_TRACE(V0CustomElementRegistrationContext) { | 185 DEFINE_TRACE(V0CustomElementRegistrationContext) { |
181 visitor->trace(m_candidates); | 186 visitor->trace(m_candidates); |
182 visitor->trace(m_registry); | 187 visitor->trace(m_registry); |
183 } | 188 } |
184 | 189 |
185 } // namespace blink | 190 } // namespace blink |
OLD | NEW |