Пример #1
0
 static PassRefPtrWillBeRawPtr<SinkDocumentParser> create(SinkDocument* document)
 {
     return adoptRefWillBeNoop(new SinkDocumentParser(document));
 }
Пример #2
0
 static PassRefPtrWillBeRawPtr<FrontendMenuProvider> create(DevToolsHost* devtoolsHost, ScriptValue devtoolsApiObject, const Vector<ContextMenuItem>& items)
 {
     return adoptRefWillBeNoop(new FrontendMenuProvider(devtoolsHost, devtoolsApiObject, items));
 }
PassRefPtrWillBeRawPtr<WebGLVertexArrayObjectOES> WebGLVertexArrayObjectOES::create(WebGLRenderingContextBase* ctx, VaoType type)
{
    return adoptRefWillBeNoop(new WebGLVertexArrayObjectOES(ctx, type));
}
PassRefPtrWillBeRawPtr<WebGLDrawBuffers> WebGLDrawBuffers::create(WebGLRenderingContextBase* context)
{
    return adoptRefWillBeNoop(new WebGLDrawBuffers(context));
}
Пример #5
0
PassRefPtrWillBeRawPtr<IDBDatabaseCallbacks> IDBDatabaseCallbacks::create()
{
    return adoptRefWillBeNoop(new IDBDatabaseCallbacks());
}
Пример #6
0
 static PassRefPtrWillBeRawPtr<CSSCalcPrimitiveValue> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> value, bool isInteger)
 {
     return adoptRefWillBeNoop(new CSSCalcPrimitiveValue(value, isInteger));
 }
Пример #7
0
PassRefPtrWillBeRawPtr<CSSCalcValue> CSSCalcValue::create(PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> expression, ValueRange range)
{
    return adoptRefWillBeNoop(new CSSCalcValue(expression, range));
}
Пример #8
0
 static PassRefPtrWillBeRawPtr<LoadFontPromiseResolver> create(FontFaceArray faces, ScriptState* scriptState)
 {
     return adoptRefWillBeNoop(new LoadFontPromiseResolver(faces, scriptState));
 }
Пример #9
0
PassRefPtrWillBeRawPtr<Text> Text::createEditingText(Document& document, const String& data)
{
    return adoptRefWillBeNoop(new Text(document, data, CreateEditingText));
}
Пример #10
0
 static PassRefPtrWillBeRawPtr<PopupMenuCSSFontSelector> create(Document* document, CSSFontSelector* ownerFontSelector)
 {
     return adoptRefWillBeNoop(new PopupMenuCSSFontSelector(document, ownerFontSelector));
 }
Пример #11
0
PassRefPtrWillBeRawPtr<PopupMenuImpl> PopupMenuImpl::create(ChromeClientImpl* chromeClient, PopupMenuClient* client)
{
    return adoptRefWillBeNoop(new PopupMenuImpl(chromeClient, client));
}
Пример #12
0
PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer)
{
    return adoptRefWillBeNoop(new InstallEvent(type, initializer, observer));
}
Пример #13
0
PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create()
{
    return adoptRefWillBeNoop(new InstallEvent());
}
PassRefPtrWillBeRawPtr<Keyframe> StringKeyframe::clone() const
{
    return adoptRefWillBeNoop(new StringKeyframe(*this));
}
Пример #15
0
PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime)
{
    return adoptRefWillBeNoop(new AudioProcessingEvent(inputBuffer, outputBuffer, playbackTime));
}
Пример #16
0
PassRefPtrWillBeRawPtr<IDBCursor> IDBCursor::create(PassOwnPtr<blink::WebIDBCursor> backend, WebIDBCursor::Direction direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction)
{
    return adoptRefWillBeNoop(new IDBCursor(backend, direction, request, source, transaction));
}
Пример #17
0
PassRefPtrWillBeRawPtr<Scrollbar> Scrollbar::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size)
{
    return adoptRefWillBeNoop(new Scrollbar(scrollableArea, orientation, size));
}
Пример #18
0
PassRefPtrWillBeRawPtr<DragEventDispatchMediator> DragEventDispatchMediator::create(PassRefPtrWillBeRawPtr<DragEvent> dragEvent)
{
    return adoptRefWillBeNoop(new DragEventDispatchMediator(dragEvent));
}
Пример #19
0
 static PassRefPtrWillBeRawPtr<CSSCalcPrimitiveValue> create(double value, CSSPrimitiveValue::UnitType type, bool isInteger)
 {
     if (std::isnan(value) || std::isinf(value))
         return nullptr;
     return adoptRefWillBeNoop(new CSSCalcPrimitiveValue(CSSPrimitiveValue::create(value, type).get(), isInteger));
 }
Пример #20
0
PassRefPtrWillBeRawPtr<CSSImageSetValue> CSSImageSetValue::cloneForCSSOM() const
{
    return adoptRefWillBeNoop(new CSSImageSetValue(*this));
}
Пример #21
0
 static PassRefPtrWillBeRawPtr<SVGCurrentTranslateTearOff> create(SVGSVGElement* contextElement)
 {
     return adoptRefWillBeNoop(new SVGCurrentTranslateTearOff(contextElement));
 }
Пример #22
0
PassRefPtrWillBeRawPtr<InputType> NumberInputType::create(HTMLInputElement& element)
{
    return adoptRefWillBeNoop(new NumberInputType(element));
}
Пример #23
0
PassRefPtrWillBeRawPtr<OESElementIndexUint> OESElementIndexUint::create(WebGLRenderingContextBase* context)
{
    return adoptRefWillBeNoop(new OESElementIndexUint(context));
}
Пример #24
0
PassRefPtrWillBeRawPtr<FEImage> FEImage::createWithImage(Filter* filter, PassRefPtr<Image> image, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> preserveAspectRatio)
{
    return adoptRefWillBeNoop(new FEImage(filter, image, preserveAspectRatio));
}
Пример #25
0
PassRefPtrWillBeRawPtr<FontFace> FontFace::create(ExecutionContext* context, const AtomicString& family, PassRefPtr<DOMArrayBuffer> source, const FontFaceDescriptors& descriptors)
{
    RefPtrWillBeRawPtr<FontFace> fontFace = adoptRefWillBeNoop(new FontFace(context, family, descriptors));
    fontFace->initCSSFontFace(static_cast<const unsigned char*>(source->data()), source->byteLength());
    return fontFace.release();
}
Пример #26
0
PassRefPtrWillBeRawPtr<FEImage> FEImage::createWithIRIReference(Filter* filter, TreeScope& treeScope, const String& href, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> preserveAspectRatio)
{
    return adoptRefWillBeNoop(new FEImage(filter, treeScope, href, preserveAspectRatio));
}
Пример #27
0
PassRefPtrWillBeRawPtr<FetchRequestData> FetchRequestData::create()
{
    return adoptRefWillBeNoop(new FetchRequestData());
}
Пример #28
0
PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create()
{
    return adoptRefWillBeNoop(new AudioProcessingEvent);
}
Пример #29
0
PassRefPtrWillBeRawPtr<DOMWindowCSS> DOMWindowCSS::create()
{
    return adoptRefWillBeNoop(new DOMWindowCSS());
}
Пример #30
0
PassRefPtrWillBeRawPtr<HTMLOptionsCollection> HTMLOptionsCollection::create(ContainerNode& select, CollectionType)
{
    return adoptRefWillBeNoop(new HTMLOptionsCollection(select));
}