Example #1
0
 static PassRefPtrWillBeRawPtr<SinkDocumentParser> create(SinkDocument* document)
 {
     return adoptRefWillBeNoop(new SinkDocumentParser(document));
 }
Example #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));
}
Example #5
0
PassRefPtrWillBeRawPtr<IDBDatabaseCallbacks> IDBDatabaseCallbacks::create()
{
    return adoptRefWillBeNoop(new IDBDatabaseCallbacks());
}
Example #6
0
 static PassRefPtrWillBeRawPtr<CSSCalcPrimitiveValue> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> value, bool isInteger)
 {
     return adoptRefWillBeNoop(new CSSCalcPrimitiveValue(value, isInteger));
 }
Example #7
0
PassRefPtrWillBeRawPtr<CSSCalcValue> CSSCalcValue::create(PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> expression, ValueRange range)
{
    return adoptRefWillBeNoop(new CSSCalcValue(expression, range));
}
Example #8
0
 static PassRefPtrWillBeRawPtr<LoadFontPromiseResolver> create(FontFaceArray faces, ScriptState* scriptState)
 {
     return adoptRefWillBeNoop(new LoadFontPromiseResolver(faces, scriptState));
 }
Example #9
0
PassRefPtrWillBeRawPtr<Text> Text::createEditingText(Document& document, const String& data)
{
    return adoptRefWillBeNoop(new Text(document, data, CreateEditingText));
}
Example #10
0
 static PassRefPtrWillBeRawPtr<PopupMenuCSSFontSelector> create(Document* document, CSSFontSelector* ownerFontSelector)
 {
     return adoptRefWillBeNoop(new PopupMenuCSSFontSelector(document, ownerFontSelector));
 }
Example #11
0
PassRefPtrWillBeRawPtr<PopupMenuImpl> PopupMenuImpl::create(ChromeClientImpl* chromeClient, PopupMenuClient* client)
{
    return adoptRefWillBeNoop(new PopupMenuImpl(chromeClient, client));
}
Example #12
0
PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer)
{
    return adoptRefWillBeNoop(new InstallEvent(type, initializer, observer));
}
Example #13
0
PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create()
{
    return adoptRefWillBeNoop(new InstallEvent());
}
PassRefPtrWillBeRawPtr<Keyframe> StringKeyframe::clone() const
{
    return adoptRefWillBeNoop(new StringKeyframe(*this));
}
PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime)
{
    return adoptRefWillBeNoop(new AudioProcessingEvent(inputBuffer, outputBuffer, playbackTime));
}
Example #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));
}
Example #17
0
PassRefPtrWillBeRawPtr<Scrollbar> Scrollbar::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size)
{
    return adoptRefWillBeNoop(new Scrollbar(scrollableArea, orientation, size));
}
PassRefPtrWillBeRawPtr<DragEventDispatchMediator> DragEventDispatchMediator::create(PassRefPtrWillBeRawPtr<DragEvent> dragEvent)
{
    return adoptRefWillBeNoop(new DragEventDispatchMediator(dragEvent));
}
Example #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));
 }
PassRefPtrWillBeRawPtr<CSSImageSetValue> CSSImageSetValue::cloneForCSSOM() const
{
    return adoptRefWillBeNoop(new CSSImageSetValue(*this));
}
Example #21
0
 static PassRefPtrWillBeRawPtr<SVGCurrentTranslateTearOff> create(SVGSVGElement* contextElement)
 {
     return adoptRefWillBeNoop(new SVGCurrentTranslateTearOff(contextElement));
 }
PassRefPtrWillBeRawPtr<InputType> NumberInputType::create(HTMLInputElement& element)
{
    return adoptRefWillBeNoop(new NumberInputType(element));
}
Example #23
0
PassRefPtrWillBeRawPtr<OESElementIndexUint> OESElementIndexUint::create(WebGLRenderingContextBase* context)
{
    return adoptRefWillBeNoop(new OESElementIndexUint(context));
}
Example #24
0
PassRefPtrWillBeRawPtr<FEImage> FEImage::createWithImage(Filter* filter, PassRefPtr<Image> image, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> preserveAspectRatio)
{
    return adoptRefWillBeNoop(new FEImage(filter, image, preserveAspectRatio));
}
Example #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();
}
Example #26
0
PassRefPtrWillBeRawPtr<FEImage> FEImage::createWithIRIReference(Filter* filter, TreeScope& treeScope, const String& href, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> preserveAspectRatio)
{
    return adoptRefWillBeNoop(new FEImage(filter, treeScope, href, preserveAspectRatio));
}
PassRefPtrWillBeRawPtr<FetchRequestData> FetchRequestData::create()
{
    return adoptRefWillBeNoop(new FetchRequestData());
}
PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create()
{
    return adoptRefWillBeNoop(new AudioProcessingEvent);
}
Example #29
0
PassRefPtrWillBeRawPtr<DOMWindowCSS> DOMWindowCSS::create()
{
    return adoptRefWillBeNoop(new DOMWindowCSS());
}
PassRefPtrWillBeRawPtr<HTMLOptionsCollection> HTMLOptionsCollection::create(ContainerNode& select, CollectionType)
{
    return adoptRefWillBeNoop(new HTMLOptionsCollection(select));
}