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 TestPermissiveDictionary_h |
| 8 #define TestPermissiveDictionary_h |
| 9 |
| 10 #include "bindings/core/v8/Nullable.h" |
| 11 #include "platform/heap/Handle.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class TestPermissiveDictionary { |
| 16 ALLOW_ONLY_INLINE_ALLOCATION(); |
| 17 public: |
| 18 TestPermissiveDictionary(); |
| 19 |
| 20 bool hasBooleanMember() const { return !m_booleanMember.isNull(); } |
| 21 bool booleanMember() const { return m_booleanMember.get(); } |
| 22 void setBooleanMember(bool value) { m_booleanMember = value; } |
| 23 |
| 24 virtual void trace(Visitor*); |
| 25 |
| 26 private: |
| 27 Nullable<bool> m_booleanMember; |
| 28 |
| 29 friend class V8TestPermissiveDictionary; |
| 30 }; |
| 31 |
| 32 } // namespace blink |
| 33 |
| 34 #endif // TestPermissiveDictionary_h |
OLD | NEW |