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 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #ifndef TestDictionary_h | 7 #ifndef TestDictionary_h |
8 #define TestDictionary_h | 8 #define TestDictionary_h |
9 | 9 |
10 #include "bindings/core/v8/Nullable.h" | 10 #include "bindings/core/v8/Nullable.h" |
11 #include "bindings/core/v8/ScriptValue.h" | 11 #include "bindings/core/v8/ScriptValue.h" |
12 #include "bindings/tests/idls/core/TestInterfaceGarbageCollected.h" | 12 #include "bindings/tests/idls/core/TestInterfaceGarbageCollected.h" |
13 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" | 13 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" |
14 #include "bindings/tests/idls/core/TestInterfaceWillBeGarbageCollected.h" | 14 #include "bindings/tests/idls/core/TestInterfaceWillBeGarbageCollected.h" |
15 #include "core/dom/Element.h" | 15 #include "core/dom/Element.h" |
16 #include "platform/heap/Handle.h" | 16 #include "platform/heap/Handle.h" |
17 #include "wtf/Vector.h" | 17 #include "wtf/Vector.h" |
18 #include "wtf/text/WTFString.h" | 18 #include "wtf/text/WTFString.h" |
19 | 19 |
20 namespace blink { | 20 namespace blink { |
21 | 21 |
22 class TestDictionary FINAL : public GarbageCollectedFinalized<TestDictionary> { | 22 class TestDictionary final : public GarbageCollectedFinalized<TestDictionary> { |
23 public: | 23 public: |
24 static TestDictionary* create() | 24 static TestDictionary* create() |
25 { | 25 { |
26 return new TestDictionary; | 26 return new TestDictionary; |
27 } | 27 } |
28 | 28 |
29 bool hasBooleanMember() const { return !m_booleanMember.isNull(); } | 29 bool hasBooleanMember() const { return !m_booleanMember.isNull(); } |
30 bool booleanMember() const { return m_booleanMember.get(); } | 30 bool booleanMember() const { return m_booleanMember.get(); } |
31 void setBooleanMember(bool value) { m_booleanMember = value; } | 31 void setBooleanMember(bool value) { m_booleanMember = value; } |
32 bool hasLongMember() const { return !m_longMember.isNull(); } | 32 bool hasLongMember() const { return !m_longMember.isNull(); } |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 ScriptValue m_objectMember; | 104 ScriptValue m_objectMember; |
105 ScriptValue m_objectOrNullMember; | 105 ScriptValue m_objectOrNullMember; |
106 Nullable<bool> m_createMember; | 106 Nullable<bool> m_createMember; |
107 | 107 |
108 friend class V8TestDictionary; | 108 friend class V8TestDictionary; |
109 }; | 109 }; |
110 | 110 |
111 } // namespace blink | 111 } // namespace blink |
112 | 112 |
113 #endif // TestDictionary_h | 113 #endif // TestDictionary_h |
OLD | NEW |