Searched defs:initialViewportSize (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ViewportArguments.cpp | 73 float ViewportArguments::resolveViewportLength(const Length& length, const FloatSize& initialViewportSize, Direction direction) argument 85 return initialViewportSize.width() * length.getFloatValue() / 100.0f; 88 return initialViewportSize.height() * length.getFloatValue() / 100.0f; 91 return min(initialViewportSize.width(), initialViewportSize.height()) * length.viewportPercentageLength() / 100.0f; 94 return max(initialViewportSize.width(), initialViewportSize.height()) * length.viewportPercentageLength() / 100.0f; 100 PageScaleConstraints ViewportArguments::resolve(const FloatSize& initialViewportSize, const FloatSize& deviceSize, int defaultWidth) const argument 112 float resultMaxWidth = resolveViewportLength(maxWidth, initialViewportSize, Horizontal); 113 float resultMinWidth = resolveViewportLength(minWidth, initialViewportSize, Horizonta [all...] |
H A D | Document.cpp | 4824 IntSize Document::initialViewportSize() const function in class:WebCore::Document
|
Completed in 660 milliseconds