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/core/v8/ConditionalFeatures.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ConditionalFeatures_h 5 #ifndef ConditionalFeatures_h
6 #define ConditionalFeatures_h 6 #define ConditionalFeatures_h
7 7
8 #include <v8.h>
9 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "v8/include/v8.h"
10 #include "wtf/text/WTFString.h" 10 #include "wtf/text/WTFString.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ScriptState; 14 class ScriptState;
15 struct WrapperTypeInfo; 15 struct WrapperTypeInfo;
16 16
17 using InstallConditionalFeaturesFunction = void (*)(const WrapperTypeInfo*, 17 using InstallConditionalFeaturesFunction = void (*)(const WrapperTypeInfo*,
18 const ScriptState*, 18 const ScriptState*,
19 v8::Local<v8::Object>, 19 v8::Local<v8::Object>,
(...skipping 30 matching lines...) Expand all
50 // needed. This is called to install a newly-enabled feature on any existing 50 // needed. This is called to install a newly-enabled feature on any existing
51 // objects. If the target object hasn't been created, nothing is installed. The 51 // objects. If the target object hasn't been created, nothing is installed. The
52 // enabled feature will be instead be installed when the object is created 52 // enabled feature will be instead be installed when the object is created
53 // (avoids forcing the creation of objects prematurely). 53 // (avoids forcing the creation of objects prematurely).
54 CORE_EXPORT void installPendingConditionalFeature(const String&, 54 CORE_EXPORT void installPendingConditionalFeature(const String&,
55 const ScriptState*); 55 const ScriptState*);
56 56
57 } // namespace blink 57 } // namespace blink
58 58
59 #endif // ConditionalFeatures_h 59 #endif // ConditionalFeatures_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698