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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.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 // This file is for functions that are used only by generated code. 5 // This file is for functions that are used only by generated code.
6 // CAUTION: 6 // CAUTION:
7 // All functions defined in this file should be used by generated code only. 7 // All functions defined in this file should be used by generated code only.
8 // If you want to use them from hand-written code, please find appropriate 8 // If you want to use them from hand-written code, please find appropriate
9 // location and move them to that location. 9 // location and move them to that location.
10 10
11 #ifndef GeneratedCodeHelper_h 11 #ifndef GeneratedCodeHelper_h
12 #define GeneratedCodeHelper_h 12 #define GeneratedCodeHelper_h
13 13
14 #include "bindings/core/v8/ExceptionState.h" 14 #include "bindings/core/v8/ExceptionState.h"
15 #include "bindings/core/v8/V8Binding.h" 15 #include "bindings/core/v8/V8Binding.h"
16 #include "core/CoreExport.h" 16 #include "core/CoreExport.h"
17 #include "v8/include/v8.h"
17 #include "wtf/PassRefPtr.h" 18 #include "wtf/PassRefPtr.h"
18 #include <v8.h>
19 19
20 namespace blink { 20 namespace blink {
21 21
22 class ScriptState; 22 class ScriptState;
23 class SerializedScriptValue; 23 class SerializedScriptValue;
24 24
25 CORE_EXPORT void v8ConstructorAttributeGetter( 25 CORE_EXPORT void v8ConstructorAttributeGetter(
26 v8::Local<v8::Name> propertyName, 26 v8::Local<v8::Name> propertyName,
27 const v8::PropertyCallbackInfo<v8::Value>&); 27 const v8::PropertyCallbackInfo<v8::Value>&);
28 28
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 using InstallRuntimeEnabledFunction = 68 using InstallRuntimeEnabledFunction =
69 void (*)(v8::Isolate* isolate, 69 void (*)(v8::Isolate* isolate,
70 const DOMWrapperWorld& world, 70 const DOMWrapperWorld& world,
71 v8::Local<v8::Object> instance, 71 v8::Local<v8::Object> instance,
72 v8::Local<v8::Object> prototype, 72 v8::Local<v8::Object> prototype,
73 v8::Local<v8::Function> interface); 73 v8::Local<v8::Function> interface);
74 74
75 } // namespace blink 75 } // namespace blink
76 76
77 #endif // GeneratedCodeHelper_h 77 #endif // GeneratedCodeHelper_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698