HTMLCanvasElement 55 Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp HTMLCanvasElement* impl = V8HTMLCanvasElement::toNative(holder); HTMLCanvasElement 136 Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp HTMLCanvasElement* canvas = V8HTMLCanvasElement::toNative(holder); HTMLCanvasElement 49 Source/core/css/CSSCanvasValue.cpp void CSSCanvasValue::canvasChanged(HTMLCanvasElement*, const FloatRect& changedRect) HTMLCanvasElement 57 Source/core/css/CSSCanvasValue.cpp void CSSCanvasValue::canvasResized(HTMLCanvasElement*) HTMLCanvasElement 64 Source/core/css/CSSCanvasValue.cpp void CSSCanvasValue::canvasDestroyed(HTMLCanvasElement* element) HTMLCanvasElement 72 Source/core/css/CSSCanvasValue.cpp if (HTMLCanvasElement* elt = element(&renderer->document())) HTMLCanvasElement 77 Source/core/css/CSSCanvasValue.cpp HTMLCanvasElement* CSSCanvasValue::element(Document* document) HTMLCanvasElement 89 Source/core/css/CSSCanvasValue.cpp HTMLCanvasElement* elt = element(&renderer->document()); HTMLCanvasElement 72 Source/core/css/CSSCanvasValue.h virtual void canvasChanged(HTMLCanvasElement* canvas, const FloatRect& changedRect) OVERRIDE HTMLCanvasElement 76 Source/core/css/CSSCanvasValue.h virtual void canvasResized(HTMLCanvasElement* canvas) OVERRIDE HTMLCanvasElement 80 Source/core/css/CSSCanvasValue.h virtual void canvasDestroyed(HTMLCanvasElement* canvas) OVERRIDE HTMLCanvasElement 88 Source/core/css/CSSCanvasValue.h void canvasChanged(HTMLCanvasElement*, const FloatRect& changedRect); HTMLCanvasElement 89 Source/core/css/CSSCanvasValue.h void canvasResized(HTMLCanvasElement*); HTMLCanvasElement 90 Source/core/css/CSSCanvasValue.h void canvasDestroyed(HTMLCanvasElement*); HTMLCanvasElement 92 Source/core/css/CSSCanvasValue.h HTMLCanvasElement* element(Document*); HTMLCanvasElement 99 Source/core/css/CSSCanvasValue.h HTMLCanvasElement* m_element; HTMLCanvasElement 4757 Source/core/dom/Document.cpp HTMLCanvasElement& element = getCSSCanvasElement(name); HTMLCanvasElement 4772 Source/core/dom/Document.cpp HTMLCanvasElement& Document::getCSSCanvasElement(const String& name) HTMLCanvasElement 4774 Source/core/dom/Document.cpp RefPtr<HTMLCanvasElement>& element = m_cssCanvasElements.add(name, nullptr).storedValue->value; HTMLCanvasElement 4776 Source/core/dom/Document.cpp element = HTMLCanvasElement::create(*this); HTMLCanvasElement 107 Source/core/dom/Document.h class HTMLCanvasElement; HTMLCanvasElement 858 Source/core/dom/Document.h HTMLCanvasElement& getCSSCanvasElement(const String& name); HTMLCanvasElement 1292 Source/core/dom/Document.h HashMap<String, RefPtr<HTMLCanvasElement> > m_cssCanvasElements; HTMLCanvasElement 79 Source/core/frame/ImageBitmap.cpp ImageBitmap::ImageBitmap(HTMLCanvasElement* canvas, const IntRect& cropRect) HTMLCanvasElement 164 Source/core/frame/ImageBitmap.cpp PassRefPtrWillBeRawPtr<ImageBitmap> ImageBitmap::create(HTMLCanvasElement* canvas, const IntRect& cropRect) HTMLCanvasElement 19 Source/core/frame/ImageBitmap.h class HTMLCanvasElement; HTMLCanvasElement 28 Source/core/frame/ImageBitmap.h static PassRefPtrWillBeRawPtr<ImageBitmap> create(HTMLCanvasElement*, const IntRect&); HTMLCanvasElement 55 Source/core/frame/ImageBitmap.h ImageBitmap(HTMLCanvasElement*, const IntRect&); HTMLCanvasElement 210 Source/core/frame/ImageBitmapTest.cpp RefPtr<HTMLCanvasElement> canvasElement = HTMLCanvasElement::create(*Document::create().get()); HTMLCanvasElement 73 Source/core/html/HTMLCanvasElement.cpp HTMLCanvasElement::HTMLCanvasElement(Document& document) HTMLCanvasElement 88 Source/core/html/HTMLCanvasElement.cpp PassRefPtr<HTMLCanvasElement> HTMLCanvasElement::create(Document& document) HTMLCanvasElement 90 Source/core/html/HTMLCanvasElement.cpp return adoptRef(new HTMLCanvasElement(document)); HTMLCanvasElement 93 Source/core/html/HTMLCanvasElement.cpp HTMLCanvasElement::~HTMLCanvasElement() HTMLCanvasElement 103 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::parseAttribute(const QualifiedName& name, const AtomicString& value) HTMLCanvasElement 110 Source/core/html/HTMLCanvasElement.cpp RenderObject* HTMLCanvasElement::createRenderer(RenderStyle* style) HTMLCanvasElement 122 Source/core/html/HTMLCanvasElement.cpp Node::InsertionNotificationRequest HTMLCanvasElement::insertedInto(ContainerNode* node) HTMLCanvasElement 128 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::addObserver(CanvasObserver* observer) HTMLCanvasElement 133 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::removeObserver(CanvasObserver* observer) HTMLCanvasElement 138 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::setHeight(int value) HTMLCanvasElement 143 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::setWidth(int value) HTMLCanvasElement 148 Source/core/html/HTMLCanvasElement.cpp CanvasRenderingContext* HTMLCanvasElement::getContext(const String& type, CanvasContextAttributes* attrs) HTMLCanvasElement 209 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::didDraw(const FloatRect& rect) HTMLCanvasElement 227 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::notifyObserversCanvasChanged(const FloatRect& rect) HTMLCanvasElement 234 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::reset() HTMLCanvasElement 292 Source/core/html/HTMLCanvasElement.cpp bool HTMLCanvasElement::paintsIntoCanvasBuffer() const HTMLCanvasElement 306 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::paint(GraphicsContext* context, const LayoutRect& r) HTMLCanvasElement 335 Source/core/html/HTMLCanvasElement.cpp bool HTMLCanvasElement::is3D() const HTMLCanvasElement 340 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::makePresentationCopy() HTMLCanvasElement 349 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::clearPresentationCopy() HTMLCanvasElement 355 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::setSurfaceSize(const IntSize& size) HTMLCanvasElement 369 Source/core/html/HTMLCanvasElement.cpp String HTMLCanvasElement::toEncodingMimeType(const String& mimeType) HTMLCanvasElement 380 Source/core/html/HTMLCanvasElement.cpp String HTMLCanvasElement::toDataURL(const String& mimeType, const double* quality, ExceptionState& exceptionState) HTMLCanvasElement 404 Source/core/html/HTMLCanvasElement.cpp PassRefPtrWillBeRawPtr<ImageData> HTMLCanvasElement::getImageData() HTMLCanvasElement 411 Source/core/html/HTMLCanvasElement.cpp SecurityOrigin* HTMLCanvasElement::securityOrigin() const HTMLCanvasElement 416 Source/core/html/HTMLCanvasElement.cpp bool HTMLCanvasElement::shouldAccelerate(const IntSize& size) const HTMLCanvasElement 438 Source/core/html/HTMLCanvasElement.cpp PassOwnPtr<ImageBufferSurface> HTMLCanvasElement::createImageBufferSurface(const IntSize& deviceSize, int* msaaSampleCount) HTMLCanvasElement 457 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::createImageBuffer() HTMLCanvasElement 464 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::createImageBufferInternal() HTMLCanvasElement 520 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::notifySurfaceInvalid() HTMLCanvasElement 528 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::updateExternallyAllocatedMemory() const HTMLCanvasElement 552 Source/core/html/HTMLCanvasElement.cpp GraphicsContext* HTMLCanvasElement::drawingContext() const HTMLCanvasElement 557 Source/core/html/HTMLCanvasElement.cpp GraphicsContext* HTMLCanvasElement::existingDrawingContext() const HTMLCanvasElement 567 Source/core/html/HTMLCanvasElement.cpp ImageBuffer* HTMLCanvasElement::buffer() const HTMLCanvasElement 570 Source/core/html/HTMLCanvasElement.cpp const_cast<HTMLCanvasElement*>(this)->createImageBuffer(); HTMLCanvasElement 574 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::ensureUnacceleratedImageBuffer() HTMLCanvasElement 584 Source/core/html/HTMLCanvasElement.cpp Image* HTMLCanvasElement::copiedImage() const HTMLCanvasElement 595 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::clearImageBuffer() HTMLCanvasElement 610 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::discardImageBuffer() HTMLCanvasElement 617 Source/core/html/HTMLCanvasElement.cpp bool HTMLCanvasElement::hasValidImageBuffer() const HTMLCanvasElement 622 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::clearCopiedImage() HTMLCanvasElement 629 Source/core/html/HTMLCanvasElement.cpp AffineTransform HTMLCanvasElement::baseTransform() const HTMLCanvasElement 635 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::didChangeVisibilityState(PageVisibilityState visibility) HTMLCanvasElement 651 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::didMoveToNewDocument(Document& oldDocument) HTMLCanvasElement 657 Source/core/html/HTMLCanvasElement.cpp PassRefPtr<Image> HTMLCanvasElement::getSourceImageForCanvas(SourceImageMode mode, SourceImageStatus* status) const HTMLCanvasElement 683 Source/core/html/HTMLCanvasElement.cpp bool HTMLCanvasElement::wouldTaintOrigin(SecurityOrigin*) const HTMLCanvasElement 688 Source/core/html/HTMLCanvasElement.cpp FloatSize HTMLCanvasElement::sourceSize() const HTMLCanvasElement 50 Source/core/html/HTMLCanvasElement.h class HTMLCanvasElement; HTMLCanvasElement 61 Source/core/html/HTMLCanvasElement.h virtual void canvasChanged(HTMLCanvasElement*, const FloatRect& changedRect) = 0; HTMLCanvasElement 62 Source/core/html/HTMLCanvasElement.h virtual void canvasResized(HTMLCanvasElement*) = 0; HTMLCanvasElement 63 Source/core/html/HTMLCanvasElement.h virtual void canvasDestroyed(HTMLCanvasElement*) = 0; HTMLCanvasElement 66 Source/core/html/HTMLCanvasElement.h class HTMLCanvasElement FINAL : public HTMLElement, public DocumentVisibilityObserver, public CanvasImageSource, public ImageBufferClient { HTMLCanvasElement 68 Source/core/html/HTMLCanvasElement.h static PassRefPtr<HTMLCanvasElement> create(Document&); HTMLCanvasElement 69 Source/core/html/HTMLCanvasElement.h virtual ~HTMLCanvasElement(); HTMLCanvasElement 152 Source/core/html/HTMLCanvasElement.h explicit HTMLCanvasElement(Document&); HTMLCanvasElement 33 Source/core/html/canvas/CanvasRenderingContext.cpp CanvasRenderingContext::CanvasRenderingContext(HTMLCanvasElement* canvas) HTMLCanvasElement 38 Source/core/html/canvas/CanvasRenderingContext.h class HTMLCanvasElement; HTMLCanvasElement 49 Source/core/html/canvas/CanvasRenderingContext.h HTMLCanvasElement* canvas() const { return m_canvas; } HTMLCanvasElement 60 Source/core/html/canvas/CanvasRenderingContext.h CanvasRenderingContext(HTMLCanvasElement*); HTMLCanvasElement 63 Source/core/html/canvas/CanvasRenderingContext.h HTMLCanvasElement* m_canvas; HTMLCanvasElement 87 Source/core/html/canvas/CanvasRenderingContext2D.cpp CanvasRenderingContext2D::CanvasRenderingContext2D(HTMLCanvasElement* canvas, const Canvas2DContextAttributes* attrs, bool usesCSSCompatibilityParseMode) HTMLCanvasElement 59 Source/core/html/canvas/CanvasRenderingContext2D.h class HTMLCanvasElement; HTMLCanvasElement 70 Source/core/html/canvas/CanvasRenderingContext2D.h static PassOwnPtr<CanvasRenderingContext2D> create(HTMLCanvasElement* canvas, const Canvas2DContextAttributes* attrs, bool usesCSSCompatibilityParseMode) HTMLCanvasElement 283 Source/core/html/canvas/CanvasRenderingContext2D.h CanvasRenderingContext2D(HTMLCanvasElement*, const Canvas2DContextAttributes* attrs, bool usesCSSCompatibilityParseMode); HTMLCanvasElement 56 Source/core/html/canvas/CanvasStyle.cpp RGBA32 currentColor(HTMLCanvasElement* canvas) HTMLCanvasElement 65 Source/core/html/canvas/CanvasStyle.cpp bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement* canvas) HTMLCanvasElement 40 Source/core/html/canvas/CanvasStyle.h class HTMLCanvasElement; HTMLCanvasElement 100 Source/core/html/canvas/CanvasStyle.h RGBA32 currentColor(HTMLCanvasElement*); HTMLCanvasElement 101 Source/core/html/canvas/CanvasStyle.h bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement*); HTMLCanvasElement 61 Source/core/html/canvas/WebGLRenderingContext.cpp PassOwnPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTMLCanvasElement* canvas, WebGLContextAttributes* attrs) HTMLCanvasElement 107 Source/core/html/canvas/WebGLRenderingContext.cpp WebGLRenderingContext::WebGLRenderingContext(HTMLCanvasElement* passedCanvas, PassOwnPtr<blink::WebGraphicsContext3D> context, WebGLContextAttributes* requestedAttributes) HTMLCanvasElement 36 Source/core/html/canvas/WebGLRenderingContext.h static PassOwnPtr<WebGLRenderingContext> create(HTMLCanvasElement*, WebGLContextAttributes*); HTMLCanvasElement 44 Source/core/html/canvas/WebGLRenderingContext.h WebGLRenderingContext(HTMLCanvasElement*, PassOwnPtr<blink::WebGraphicsContext3D>, WebGLContextAttributes*); HTMLCanvasElement 499 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLRenderingContextBase::WebGLRenderingContextBase(HTMLCanvasElement* passedCanvas, PassOwnPtr<blink::WebGraphicsContext3D> context, WebGLContextAttributes* requestedAttributes) HTMLCanvasElement 3431 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLenum format, GLenum type, HTMLCanvasElement* canvas, ExceptionState& exceptionState) HTMLCanvasElement 3674 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLenum format, GLenum type, HTMLCanvasElement* canvas, ExceptionState& exceptionState) HTMLCanvasElement 5136 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateHTMLCanvasElement(const char* functionName, HTMLCanvasElement* canvas, ExceptionState& exceptionState) HTMLCanvasElement 240 Source/core/html/canvas/WebGLRenderingContextBase.h GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&); HTMLCanvasElement 255 Source/core/html/canvas/WebGLRenderingContextBase.h GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&); HTMLCanvasElement 360 Source/core/html/canvas/WebGLRenderingContextBase.h WebGLRenderingContextBase(HTMLCanvasElement*, PassOwnPtr<blink::WebGraphicsContext3D>, WebGLContextAttributes*); HTMLCanvasElement 826 Source/core/html/canvas/WebGLRenderingContextBase.h bool validateHTMLCanvasElement(const char* functionName, HTMLCanvasElement*, ExceptionState&); HTMLCanvasElement 41 Source/core/rendering/RenderHTMLCanvas.cpp RenderHTMLCanvas::RenderHTMLCanvas(HTMLCanvasElement* element) HTMLCanvasElement 53 Source/core/rendering/RenderHTMLCanvas.cpp HTMLCanvasElement* canvas = toHTMLCanvasElement(node()); HTMLCanvasElement 119 Source/core/rendering/RenderHTMLCanvas.cpp HTMLCanvasElement* canvas = toHTMLCanvasElement(node()); HTMLCanvasElement 33 Source/core/rendering/RenderHTMLCanvas.h class HTMLCanvasElement; HTMLCanvasElement 37 Source/core/rendering/RenderHTMLCanvas.h explicit RenderHTMLCanvas(HTMLCanvasElement*); HTMLCanvasElement 107 Source/core/rendering/compositing/CompositedLayerMapping.cpp HTMLCanvasElement* canvas = toHTMLCanvasElement(renderer->node()); HTMLCanvasElement 530 Source/core/rendering/compositing/CompositedLayerMapping.cpp HTMLCanvasElement* canvas = toHTMLCanvasElement(renderer->node()); HTMLCanvasElement 170 Source/modules/imagebitmap/ImageBitmapFactories.cpp ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, HTMLCanvasElement* canvas, ExceptionState& exceptionState) HTMLCanvasElement 175 Source/modules/imagebitmap/ImageBitmapFactories.cpp ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, HTMLCanvasElement* canvas, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) HTMLCanvasElement 50 Source/modules/imagebitmap/ImageBitmapFactories.h class HTMLCanvasElement; HTMLCanvasElement 67 Source/modules/imagebitmap/ImageBitmapFactories.h static ScriptPromise createImageBitmap(EventTarget&, HTMLCanvasElement*, ExceptionState&); HTMLCanvasElement 68 Source/modules/imagebitmap/ImageBitmapFactories.h static ScriptPromise createImageBitmap(EventTarget&, HTMLCanvasElement*, int sx, int sy, int sw, int sh, ExceptionState&);