HomeSort by relevance Sort by last modified time
    Searched refs:initialViewportSize (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/dom/
ViewportDescription.cpp 46 float ViewportDescription::resolveViewportLength(const Length& length, const FloatSize& initialViewportSize, Direction direction)
58 return initialViewportSize.width() * length.getFloatValue() / 100.0f;
61 return initialViewportSize.height() * length.getFloatValue() / 100.0f;
64 return min(initialViewportSize.width(), initialViewportSize.height()) * length.viewportPercentageLength() / 100.0f;
67 return max(initialViewportSize.width(), initialViewportSize.height()) * length.viewportPercentageLength() / 100.0f;
73 PageScaleConstraints ViewportDescription::resolve(const FloatSize& initialViewportSize) const
76 float resultMaxWidth = resolveViewportLength(maxWidth, initialViewportSize, Horizontal);
77 float resultMinWidth = resolveViewportLength(minWidth, initialViewportSize, Horizontal)
    [all...]
ViewportDescription.h 73 PageScaleConstraints resolve(const FloatSize& initialViewportSize) const;
113 static float resolveViewportLength(const Length&, const FloatSize& initialViewportSize, Direction);
Document.h     [all...]
Document.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/testing/
Internals.cpp 952 IntSize initialViewportSize(availableWidth, availableHeight);
953 document->page()->mainFrame()->view()->setFrameRect(IntRect(IntPoint::zero(), initialViewportSize));
956 PageScaleConstraints constraints = description.resolve(initialViewportSize);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/
ViewportTest.cpp 128 IntSize initialViewportSize(initialWidth, initialHeight);
129 page->mainFrame()->view()->setFrameRect(IntRect(IntPoint::zero(), initialViewportSize));
132 PageScaleConstraints constraints = description.resolve(initialViewportSize);
    [all...]

Completed in 223 milliseconds