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

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

Issue 1635593004: Rename Experimental Framework classes and concepts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 // 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 #include "V8TestInterfacePartial.h" 7 #include "V8TestInterfacePartial.h"
8 8
9 #include "bindings/core/v8/ExceptionState.h" 9 #include "bindings/core/v8/ExceptionState.h"
10 #include "bindings/core/v8/PrivateScriptRunner.h" 10 #include "bindings/core/v8/PrivateScriptRunner.h"
11 #include "bindings/core/v8/ScriptPromise.h" 11 #include "bindings/core/v8/ScriptPromise.h"
12 #include "bindings/core/v8/V8DOMConfiguration.h" 12 #include "bindings/core/v8/V8DOMConfiguration.h"
13 #include "bindings/core/v8/V8Document.h" 13 #include "bindings/core/v8/V8Document.h"
14 #include "bindings/core/v8/V8Node.h" 14 #include "bindings/core/v8/V8Node.h"
15 #include "bindings/core/v8/V8ObjectConstructor.h" 15 #include "bindings/core/v8/V8ObjectConstructor.h"
16 #include "bindings/core/v8/V8TestInterface.h" 16 #include "bindings/core/v8/V8TestInterface.h"
17 #include "bindings/tests/idls/modules/TestPartialInterfaceImplementation3.h" 17 #include "bindings/tests/idls/modules/TestPartialInterfaceImplementation3.h"
18 #include "core/dom/ContextFeatures.h" 18 #include "core/dom/ContextFeatures.h"
19 #include "core/dom/Document.h" 19 #include "core/dom/Document.h"
20 #include "core/experiments/ExperimentalFeatures.h"
21 #include "core/frame/LocalFrame.h" 20 #include "core/frame/LocalFrame.h"
22 #include "core/inspector/ConsoleMessage.h" 21 #include "core/inspector/ConsoleMessage.h"
22 #include "core/origin_trials/OriginTrials.h"
23 #include "platform/RuntimeEnabledFeatures.h" 23 #include "platform/RuntimeEnabledFeatures.h"
24 #include "platform/ScriptForbiddenScope.h" 24 #include "platform/ScriptForbiddenScope.h"
25 #include "platform/TraceEvent.h" 25 #include "platform/TraceEvent.h"
26 #include "wtf/GetPtr.h" 26 #include "wtf/GetPtr.h"
27 #include "wtf/RefPtr.h" 27 #include "wtf/RefPtr.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 namespace TestInterfaceImplementationPartialV8Internal { 31 namespace TestInterfaceImplementationPartialV8Internal {
32 32
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 } 240 }
241 } 241 }
242 TestPartialInterfaceImplementation3::partialVoidTestEnumModulesArgMethod(*im pl, arg); 242 TestPartialInterfaceImplementation3::partialVoidTestEnumModulesArgMethod(*im pl, arg);
243 } 243 }
244 244
245 static void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::Function CallbackInfo<v8::Value>& info) 245 static void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::Function CallbackInfo<v8::Value>& info)
246 { 246 {
247 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 247 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
248 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ()); 248 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
249 String errorMessage; 249 String errorMessage;
250 if (!ExperimentalFeatures::featureNameEnabled(executionContext, errorMessage )) { 250 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
251 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); 251 v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
252 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create( JSMessageSource, ErrorMessageLevel, errorMessage)); 252 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create( JSMessageSource, ErrorMessageLevel, errorMessage));
253 return; 253 return;
254 } 254 }
255 TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgM ethodMethod(info); 255 TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgM ethodMethod(info);
256 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 256 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
257 } 257 }
258 258
259 static void partial2StaticVoidMethod2Method(const v8::FunctionCallbackInfo<v8::V alue>& info) 259 static void partial2StaticVoidMethod2Method(const v8::FunctionCallbackInfo<v8::V alue>& info)
260 { 260 {
(...skipping 30 matching lines...) Expand all
291 { 291 {
292 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 292 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
293 TestPartialInterfaceImplementation3::unscopeableVoidMethod(*impl); 293 TestPartialInterfaceImplementation3::unscopeableVoidMethod(*impl);
294 } 294 }
295 295
296 static void unscopeableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& info) 296 static void unscopeableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& info)
297 { 297 {
298 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 298 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
299 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ()); 299 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
300 String errorMessage; 300 String errorMessage;
301 if (!ExperimentalFeatures::featureNameEnabled(executionContext, errorMessage )) { 301 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
302 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); 302 v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
303 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create( JSMessageSource, ErrorMessageLevel, errorMessage)); 303 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create( JSMessageSource, ErrorMessageLevel, errorMessage));
304 return; 304 return;
305 } 305 }
306 TestInterfaceImplementationPartialV8Internal::unscopeableVoidMethodMethod(in fo); 306 TestInterfaceImplementationPartialV8Internal::unscopeableVoidMethodMethod(in fo);
307 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 307 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
308 } 308 }
309 309
310 } // namespace TestInterfaceImplementationPartialV8Internal 310 } // namespace TestInterfaceImplementationPartialV8Internal
311 311
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 &V8TestInterfacePartial::preparePrototypeAndInterfaceObject); 356 &V8TestInterfacePartial::preparePrototypeAndInterfaceObject);
357 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface( &TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); 357 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface( &TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod);
358 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver loadMethod); 358 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver loadMethod);
359 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe thod); 359 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe thod);
360 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti alOverloadMethod); 360 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti alOverloadMethod);
361 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); 361 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn terfaceImplementationPartialV8Internal::partial2VoidMethodMethod);
362 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(& TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); 362 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(& TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod);
363 } 363 }
364 364
365 } // namespace blink 365 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698