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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 #ifndef V8HiddenValue_h 5 #ifndef V8HiddenValue_h
6 #define V8HiddenValue_h 6 #define V8HiddenValue_h
7 7
8 #include <v8.h>
9 #include <memory>
8 #include "bindings/core/v8/ScopedPersistent.h" 10 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/ScriptPromiseProperties.h" 11 #include "bindings/core/v8/ScriptPromiseProperties.h"
10 #include "core/CoreExport.h" 12 #include "core/CoreExport.h"
11 #include "wtf/Allocator.h" 13 #include "wtf/Allocator.h"
12 #include "wtf/PtrUtil.h" 14 #include "wtf/PtrUtil.h"
13 #include <memory>
14 #include <v8.h>
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class ScriptState; 18 class ScriptState;
19 class ScriptWrappable; 19 class ScriptWrappable;
20 20
21 #define V8_HIDDEN_VALUES(V) \ 21 #define V8_HIDDEN_VALUES(V) \
22 V(customElementAttachedCallback) \ 22 V(customElementAttachedCallback) \
23 V(customElementAttributeChangedCallback) \ 23 V(customElementAttributeChangedCallback) \
24 V(customElementCreatedCallback) \ 24 V(customElementCreatedCallback) \
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 V8HiddenValue() {} 77 V8HiddenValue() {}
78 78
79 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; 79 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name;
80 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); 80 V8_HIDDEN_VALUES(V8_DECLARE_FIELD);
81 #undef V8_DECLARE_FIELD 81 #undef V8_DECLARE_FIELD
82 }; 82 };
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif // V8HiddenValue_h 86 #endif // V8HiddenValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698