Class Page.GetLayoutMetricsResponse

  • Enclosing class:
    Page

    public static class Page.GetLayoutMetricsResponse
    extends java.lang.Object
    • Method Detail

      • getLayoutViewport

        public LayoutViewport getLayoutViewport()
        Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssLayoutViewport` instead.
      • getVisualViewport

        public VisualViewport getVisualViewport()
        Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssVisualViewport` instead.
      • getContentSize

        public Rect getContentSize()
        Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssContentSize` instead.
      • getCssLayoutViewport

        public LayoutViewport getCssLayoutViewport()
        Metrics relating to the layout viewport in CSS pixels.
      • getCssVisualViewport

        public VisualViewport getCssVisualViewport()
        Metrics relating to the visual viewport in CSS pixels.
      • getCssContentSize

        public Rect getCssContentSize()
        Size of scrollable area in CSS pixels.