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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/BooleanOrString.h

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Rebase Created 3 years, 8 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 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. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/union_container.h.tmpl 9 // third_party/WebKit/Source/bindings/templates/union_container.h.tmpl
10 10
11 // clang-format off 11 // clang-format off
12 #ifndef BooleanOrString_h 12 #ifndef BooleanOrString_h
13 #define BooleanOrString_h 13 #define BooleanOrString_h
14 14
15 #include "bindings/core/v8/Dictionary.h" 15 #include "bindings/core/v8/Dictionary.h"
16 #include "bindings/core/v8/ExceptionState.h" 16 #include "bindings/core/v8/ExceptionState.h"
17 #include "bindings/core/v8/NativeValueTraits.h" 17 #include "bindings/core/v8/NativeValueTraits.h"
18 #include "bindings/core/v8/V8Binding.h" 18 #include "bindings/core/v8/V8BindingForCore.h"
19 #include "modules/ModulesExport.h" 19 #include "modules/ModulesExport.h"
20 #include "platform/heap/Handle.h" 20 #include "platform/heap/Handle.h"
21 21
22 namespace blink { 22 namespace blink {
23 23
24 class MODULES_EXPORT BooleanOrString final { 24 class MODULES_EXPORT BooleanOrString final {
25 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 25 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
26 public: 26 public:
27 BooleanOrString(); 27 BooleanOrString();
28 bool isNull() const { return m_type == SpecificTypeNone; } 28 bool isNull() const { return m_type == SpecificTypeNone; }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 } // namespace blink 86 } // namespace blink
87 87
88 // We need to set canInitializeWithMemset=true because HeapVector supports 88 // We need to set canInitializeWithMemset=true because HeapVector supports
89 // items that can initialize with memset or have a vtable. It is safe to 89 // items that can initialize with memset or have a vtable. It is safe to
90 // set canInitializeWithMemset=true for a union type object in practice. 90 // set canInitializeWithMemset=true for a union type object in practice.
91 // See https://codereview.chromium.org/1118993002/#msg5 for more details. 91 // See https://codereview.chromium.org/1118993002/#msg5 for more details.
92 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::BooleanOrString); 92 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::BooleanOrString);
93 93
94 #endif // BooleanOrString_h 94 #endif // BooleanOrString_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698