| 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 TestInterfaceEventInit_h | 7 #ifndef TestInterfaceEventInit_h |
| 8 #define TestInterfaceEventInit_h | 8 #define TestInterfaceEventInit_h |
| 9 | 9 |
| 10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
| 11 #include "core/events/EventInitDictionary.h" | 11 #include "core/events/EventInit.h" |
| 12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
| 13 #include "wtf/text/WTFString.h" | 13 #include "wtf/text/WTFString.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class CORE_EXPORT TestInterfaceEventInit : public EventInitDictionary { | 17 class CORE_EXPORT TestInterfaceEventInit : public EventInit { |
| 18 ALLOW_ONLY_INLINE_ALLOCATION(); | 18 ALLOW_ONLY_INLINE_ALLOCATION(); |
| 19 public: | 19 public: |
| 20 TestInterfaceEventInit(); | 20 TestInterfaceEventInit(); |
| 21 | 21 |
| 22 bool hasStringMember() const { return !m_stringMember.isNull(); } | 22 bool hasStringMember() const { return !m_stringMember.isNull(); } |
| 23 String stringMember() const { return m_stringMember; } | 23 String stringMember() const { return m_stringMember; } |
| 24 void setStringMember(String value) { m_stringMember = value; } | 24 void setStringMember(String value) { m_stringMember = value; } |
| 25 | 25 |
| 26 DECLARE_VIRTUAL_TRACE(); | 26 DECLARE_VIRTUAL_TRACE(); |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 String m_stringMember; | 29 String m_stringMember; |
| 30 | 30 |
| 31 friend class V8TestInterfaceEventInit; | 31 friend class V8TestInterfaceEventInit; |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 } // namespace blink | 34 } // namespace blink |
| 35 | 35 |
| 36 #endif // TestInterfaceEventInit_h | 36 #endif // TestInterfaceEventInit_h |
| OLD | NEW |