| OLD | NEW |
| 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2017 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 #ifndef NativeValueTraitsImpl_h | 5 #ifndef NativeValueTraitsImpl_h |
| 6 #define NativeValueTraitsImpl_h | 6 #define NativeValueTraitsImpl_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/IDLTypes.h" | 8 #include "bindings/core/v8/IDLTypes.h" |
| 9 #include "bindings/core/v8/NativeValueTraits.h" | 9 #include "bindings/core/v8/NativeValueTraits.h" |
| 10 #include "bindings/core/v8/V8Binding.h" | 10 #include "bindings/core/v8/V8BindingForCore.h" |
| 11 #include "core/CoreExport.h" | 11 #include "core/CoreExport.h" |
| 12 #include "platform/wtf/text/WTFString.h" | 12 #include "platform/wtf/text/WTFString.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 // Boolean | 16 // Boolean |
| 17 template <> | 17 template <> |
| 18 struct CORE_EXPORT NativeValueTraits<IDLBoolean> | 18 struct CORE_EXPORT NativeValueTraits<IDLBoolean> |
| 19 : public NativeValueTraitsBase<IDLBoolean> { | 19 : public NativeValueTraitsBase<IDLBoolean> { |
| 20 static bool NativeValue(v8::Isolate* isolate, | 20 static bool NativeValue(v8::Isolate* isolate, |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 } | 524 } |
| 525 } | 525 } |
| 526 // "5. Return result." | 526 // "5. Return result." |
| 527 return result; | 527 return result; |
| 528 } | 528 } |
| 529 }; | 529 }; |
| 530 | 530 |
| 531 } // namespace blink | 531 } // namespace blink |
| 532 | 532 |
| 533 #endif // NativeValueTraitsImpl_h | 533 #endif // NativeValueTraitsImpl_h |
| OLD | NEW |