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/V8HiddenValue.h

Issue 2721533003: //third_party/WebKit/Source/bindings: include v8 as a user, not system, header (Closed)
Patch Set: . Created 3 years, 9 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 <memory>
9
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"
13 #include "v8/include/v8.h"
11 #include "wtf/Allocator.h" 14 #include "wtf/Allocator.h"
12 #include "wtf/PtrUtil.h" 15 #include "wtf/PtrUtil.h"
13 #include <memory>
14 #include <v8.h>
15 16
16 namespace blink { 17 namespace blink {
17 18
18 class ScriptState; 19 class ScriptState;
19 class ScriptWrappable; 20 class ScriptWrappable;
20 21
21 #define V8_HIDDEN_VALUES(V) \ 22 #define V8_HIDDEN_VALUES(V) \
22 V(customElementAttachedCallback) \ 23 V(customElementAttachedCallback) \
23 V(customElementAttributeChangedCallback) \ 24 V(customElementAttributeChangedCallback) \
24 V(customElementCreatedCallback) \ 25 V(customElementCreatedCallback) \
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 V8HiddenValue() {} 78 V8HiddenValue() {}
78 79
79 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; 80 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name;
80 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); 81 V8_HIDDEN_VALUES(V8_DECLARE_FIELD);
81 #undef V8_DECLARE_FIELD 82 #undef V8_DECLARE_FIELD
82 }; 83 };
83 84
84 } // namespace blink 85 } // namespace blink
85 86
86 #endif // V8HiddenValue_h 87 #endif // V8HiddenValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698