OLD | NEW |
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. | 5 // This file has been auto-generated by code_generator_v8.py. |
6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
7 | 7 |
8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
10 | 10 |
(...skipping 7682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7693 if (exceptionState.hadException()) | 7693 if (exceptionState.hadException()) |
7694 return; | 7694 return; |
7695 // Neuter the original image bitmaps on the sender context. | 7695 // Neuter the original image bitmaps on the sender context. |
7696 SerializedScriptValue::transferImageBitmapContents(info.GetIsolate(), transf
erableImageBitmaps, exceptionState); | 7696 SerializedScriptValue::transferImageBitmapContents(info.GetIsolate(), transf
erableImageBitmaps, exceptionState); |
7697 if (exceptionState.hadException()) | 7697 if (exceptionState.hadException()) |
7698 return; | 7698 return; |
7699 } | 7699 } |
7700 | 7700 |
7701 // FIXME: Only pass scriptState/exceptionState if instance really requires it. | 7701 // FIXME: Only pass scriptState/exceptionState if instance really requires it. |
7702 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); | 7702 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); |
| 7703 message->prepareForTransferringContext(); |
7703 instance->postMessage(scriptState, message.get(), transferables.messagePorts,
exceptionState); | 7704 instance->postMessage(scriptState, message.get(), transferables.messagePorts,
exceptionState); |
7704 message->unregisterMemoryAllocatedByCurrentScriptContext(); | 7705 message->finalizeTransferringContext(); |
7705 } | 7706 } |
7706 | 7707 |
7707 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethod(const v8
::FunctionCallbackInfo<v8::Value>& info) { | 7708 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethod(const v8
::FunctionCallbackInfo<v8::Value>& info) { |
7708 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 7709 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
7709 | 7710 |
7710 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); | 7711 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); |
7711 } | 7712 } |
7712 | 7713 |
7713 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWo
rld(const v8::FunctionCallbackInfo<v8::Value>& info) { | 7714 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWo
rld(const v8::FunctionCallbackInfo<v8::Value>& info) { |
7714 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 7715 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
(...skipping 4024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11739 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopable
RuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); | 11740 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopable
RuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); |
11740 } | 11741 } |
11741 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 11742 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
11742 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopable
RuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); | 11743 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopable
RuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); |
11743 } | 11744 } |
11744 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopableVo
idMethod"), v8::True(isolate)).FromJust(); | 11745 unscopables->CreateDataProperty(context, v8AtomicString(isolate, "unscopableVo
idMethod"), v8::True(isolate)).FromJust(); |
11745 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopables).F
romJust(); | 11746 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopables).F
romJust(); |
11746 } | 11747 } |
11747 | 11748 |
11748 } // namespace blink | 11749 } // namespace blink |
OLD | NEW |