OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:initialViewportSize
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/dom/
ViewportDescription.cpp
52
float ViewportDescription::resolveViewportLength(const Length& length, const FloatSize&
initialViewportSize
, Direction direction)
64
return
initialViewportSize
.width() * length.getFloatValue() / 100.0f;
67
return
initialViewportSize
.height() * length.getFloatValue() / 100.0f;
70
return
initialViewportSize
.width();
73
return
initialViewportSize
.height();
79
PageScaleConstraints ViewportDescription::resolve(const FloatSize&
initialViewportSize
, Length legacyFallbackWidth) const
99
float resultMaxWidth = resolveViewportLength(copyMaxWidth,
initialViewportSize
, Horizontal);
100
float resultMinWidth = resolveViewportLength(copyMinWidth,
initialViewportSize
, Horizontal);
103
float resultMaxHeight = resolveViewportLength(maxHeight,
initialViewportSize
, Vertical);
104
float resultMinHeight = resolveViewportLength(minHeight,
initialViewportSize
, Vertical)
[
all
...]
ViewportDescription.h
80
PageScaleConstraints resolve(const FloatSize&
initialViewportSize
, Length legacyFallbackWidth) const;
135
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
900
IntSize
initialViewportSize
(availableWidth, availableHeight);
901
document->page()->deprecatedLocalMainFrame()->view()->setFrameRect(IntRect(IntPoint::zero(),
initialViewportSize
));
904
PageScaleConstraints constraints = description.resolve(
initialViewportSize
, Length());
[
all
...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
ViewportTest.cpp
129
IntSize
initialViewportSize
(initialWidth, initialHeight);
130
toLocalFrame(page->mainFrame())->view()->setFrameRect(IntRect(IntPoint::zero(),
initialViewportSize
));
132
PageScaleConstraints constraints = description.resolve(
initialViewportSize
, WebCore::Length(980, WebCore::Fixed));
[
all
...]
Completed in 559 milliseconds