| // Copyright 2020 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| module blink.mojom; |
| |
| // Metrics about mobile friendliness for UpdateTiming call. |
| struct MobileFriendliness { |
| // Whether <meta name="viewport" content="width=device-width"> is specified or |
| // not. |
| bool viewport_device_width = false; |
| |
| // The value specified in viewport initial-scale in meta tag. |
| double viewport_initial_scale = 0; |
| |
| // The value specified in viewport width in meta tag. |
| int32 viewport_hardcoded_width = 0; |
| |
| // Whether the page allows user to zoom in/out. |
| bool allow_user_zoom = true; |
| |
| // Percentage of small font text area in total text area. |
| int32 small_text_ratio = 0; |
| }; |