| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/testing/DictionaryTest.h" | 5 #include "core/testing/DictionaryTest.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptState.h" | |
| 8 #include "bindings/core/v8/V8ObjectBuilder.h" | 7 #include "bindings/core/v8/V8ObjectBuilder.h" |
| 9 #include "core/dom/ExecutionContext.h" | 8 #include "core/dom/ExecutionContext.h" |
| 10 #include "core/testing/InternalDictionary.h" | 9 #include "core/testing/InternalDictionary.h" |
| 11 #include "core/testing/InternalDictionaryDerived.h" | 10 #include "core/testing/InternalDictionaryDerived.h" |
| 12 #include "core/testing/InternalDictionaryDerivedDerived.h" | 11 #include "core/testing/InternalDictionaryDerivedDerived.h" |
| 12 #include "platform/bindings/ScriptState.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 DictionaryTest::DictionaryTest() : required_boolean_member_(false) {} | 16 DictionaryTest::DictionaryTest() : required_boolean_member_(false) {} |
| 17 | 17 |
| 18 DictionaryTest::~DictionaryTest() {} | 18 DictionaryTest::~DictionaryTest() {} |
| 19 | 19 |
| 20 void DictionaryTest::set(const InternalDictionary& testing_dictionary) { | 20 void DictionaryTest::set(const InternalDictionary& testing_dictionary) { |
| 21 Reset(); | 21 Reset(); |
| 22 if (testing_dictionary.hasLongMember()) | 22 if (testing_dictionary.hasLongMember()) |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 } | 230 } |
| 231 | 231 |
| 232 DEFINE_TRACE(DictionaryTest) { | 232 DEFINE_TRACE(DictionaryTest) { |
| 233 visitor->Trace(element_member_); | 233 visitor->Trace(element_member_); |
| 234 visitor->Trace(element_or_null_member_); | 234 visitor->Trace(element_or_null_member_); |
| 235 visitor->Trace(double_or_string_sequence_member_); | 235 visitor->Trace(double_or_string_sequence_member_); |
| 236 visitor->Trace(event_target_or_null_member_); | 236 visitor->Trace(event_target_or_null_member_); |
| 237 } | 237 } |
| 238 | 238 |
| 239 } // namespace blink | 239 } // namespace blink |
| OLD | NEW |