Searched refs:naturalHeight (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
H A Dbouncing_balls_draw_back_as_canvas.js11 backImageCanvas.height = backImage.naturalHeight;
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLImageElement.idl38 readonly attribute long naturalHeight;
H A DHTMLImageElement.h55 int naturalHeight() const;
H A DHTMLImageElement.cpp441 int HTMLImageElement::naturalHeight() const function in class:blink::HTMLImageElement
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DDOMPresentationUtils.js144 var naturalHeight = precomputedDimensions ? precomputedDimensions.naturalHeight : imageElement.naturalHeight;
146 var offsetHeight = precomputedDimensions ? precomputedDimensions.offsetHeight : naturalHeight;
149 if (offsetHeight === naturalHeight && offsetWidth === naturalWidth)
152 description = WebInspector.UIString("%d \xd7 %d pixels (Natural: %d \xd7 %d pixels)", offsetWidth, offsetHeight, naturalWidth, naturalHeight);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
H A DImageView.js82 { name: WebInspector.UIString("Dimensions"), value: WebInspector.UIString("%d × %d", imagePreviewElement.naturalWidth, imagePreviewElement.naturalHeight) },
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/screencast/
H A DScreencastView.js464 this._context.fillRect(0, this._screenOffsetTop * this._screenZoom + this._imageElement.naturalHeight * this._imageZoom, canvasWidth, canvasHeight);
497 this._context.drawImage(this._imageElement, 0, this._screenOffsetTop * this._screenZoom, this._imageElement.naturalWidth * this._imageZoom, this._imageElement.naturalHeight * this._imageZoom);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
H A DElementsPanel.js528 * @return {!{offsetWidth: number, offsetHeight: number, naturalWidth: number, naturalHeight: number}}
534 return { offsetWidth: this.offsetWidth, offsetHeight: this.offsetHeight, naturalWidth: this.naturalWidth, naturalHeight: this.naturalHeight };

Completed in 169 milliseconds