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 TestDictionaryDerivedImplementedAs_h | 7 #ifndef TestDictionaryDerivedImplementedAs_h |
8 #define TestDictionaryDerivedImplementedAs_h | 8 #define TestDictionaryDerivedImplementedAs_h |
9 | 9 |
10 #include "bindings/tests/idls/core/TestDictionary.h" | 10 #include "bindings/tests/idls/core/TestDictionary.h" |
11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
12 #include "wtf/text/WTFString.h" | 12 #include "wtf/text/WTFString.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class TestDictionaryDerivedImplementedAs : public TestDictionary { | 16 class TestDictionaryDerivedImplementedAs : public TestDictionary { |
17 ALLOW_ONLY_INLINE_ALLOCATION(); | 17 ALLOW_ONLY_INLINE_ALLOCATION(); |
18 public: | 18 public: |
19 TestDictionaryDerivedImplementedAs(); | 19 TestDictionaryDerivedImplementedAs(); |
20 | 20 |
21 bool hasDerivedStringMember() const { return !m_derivedStringMember.isNull()
; } | 21 bool hasDerivedStringMember() const { return !m_derivedStringMember.isNull()
; } |
22 String derivedStringMember() const { return m_derivedStringMember; } | 22 String derivedStringMember() const { return m_derivedStringMember; } |
23 void setDerivedStringMember(String value) { m_derivedStringMember = value; } | 23 void setDerivedStringMember(String value) { m_derivedStringMember = value; } |
24 | 24 |
25 bool hasDerivedStringMemberWithDefault() const { return !m_derivedStringMemb
erWithDefault.isNull(); } | 25 bool hasDerivedStringMemberWithDefault() const { return !m_derivedStringMemb
erWithDefault.isNull(); } |
26 String derivedStringMemberWithDefault() const { return m_derivedStringMember
WithDefault; } | 26 String derivedStringMemberWithDefault() const { return m_derivedStringMember
WithDefault; } |
27 void setDerivedStringMemberWithDefault(String value) { m_derivedStringMember
WithDefault = value; } | 27 void setDerivedStringMemberWithDefault(String value) { m_derivedStringMember
WithDefault = value; } |
28 | 28 |
29 virtual void trace(Visitor*); | 29 DECLARE_VIRTUAL_TRACE(); |
30 | 30 |
31 private: | 31 private: |
32 String m_derivedStringMember; | 32 String m_derivedStringMember; |
33 String m_derivedStringMemberWithDefault; | 33 String m_derivedStringMemberWithDefault; |
34 | 34 |
35 friend class V8TestDictionaryDerivedImplementedAs; | 35 friend class V8TestDictionaryDerivedImplementedAs; |
36 }; | 36 }; |
37 | 37 |
38 } // namespace blink | 38 } // namespace blink |
39 | 39 |
40 #endif // TestDictionaryDerivedImplementedAs_h | 40 #endif // TestDictionaryDerivedImplementedAs_h |
OLD | NEW |