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

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

Issue 2458183002: Eagerly install Origin Trial features on window (Closed)
Patch Set: Use correct context and enter it before installing attributes on window Created 4 years, 1 month 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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 // clang-format off 7 // clang-format off
8 #ifndef V8TestInterfacePartial_h 8 #ifndef V8TestInterfacePartial_h
9 #define V8TestInterfacePartial_h 9 #define V8TestInterfacePartial_h
10 10
11 #include "bindings/core/v8/ScriptWrappable.h" 11 #include "bindings/core/v8/ScriptWrappable.h"
12 #include "bindings/core/v8/ToV8.h" 12 #include "bindings/core/v8/ToV8.h"
13 #include "bindings/core/v8/V8Binding.h" 13 #include "bindings/core/v8/V8Binding.h"
14 #include "bindings/core/v8/V8DOMWrapper.h" 14 #include "bindings/core/v8/V8DOMWrapper.h"
15 #include "bindings/core/v8/WrapperTypeInfo.h" 15 #include "bindings/core/v8/WrapperTypeInfo.h"
16 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" 16 #include "bindings/tests/idls/core/TestInterfaceImplementation.h"
17 #include "platform/heap/Handle.h" 17 #include "platform/heap/Handle.h"
18 18
19 namespace blink { 19 namespace blink {
20 20
21 class ScriptState; 21 class ScriptState;
22 22
23 class V8TestInterfacePartial { 23 class V8TestInterfacePartial {
24 STATIC_ONLY(V8TestInterfacePartial); 24 STATIC_ONLY(V8TestInterfacePartial);
25 public: 25 public:
26 static void initialize(); 26 static void initialize();
27 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackI nfo<v8::Value>&); 27 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackI nfo<v8::Value>&);
28 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F unctionTemplate>); 28 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F unctionTemplate>);
29 29
30 static void installOriginTrialPartialFeature(ScriptState*, v8::Local<v8::Objec t> instance); 30 static void installOriginTrialPartialFeature(const ScriptState*, v8::Local<v8: :Object> instance);
31 static void installOriginTrialPartialFeature(v8::Isolate*, const DOMWrapperWor ld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local< v8::Function> interface); 31 static void installOriginTrialPartialFeature(const ScriptState*, v8::Local<v8: :Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> inte rface);
32 static void installOriginTrialPartialFeature(ScriptState*); 32 static void installOriginTrialPartialFeature(const ScriptState*);
33 private: 33 private:
34 static void installV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWorld &, v8::Local<v8::FunctionTemplate> interfaceTemplate); 34 static void installV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWorld &, v8::Local<v8::FunctionTemplate> interfaceTemplate);
35 }; 35 };
36 36
37 } // namespace blink 37 } // namespace blink
38 38
39 #endif // V8TestInterfacePartial_h 39 #endif // V8TestInterfacePartial_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698