Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/NativeValueTraitsImpl.h

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698