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