| <!-- |
| Copyright 2020 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="utf-8"> |
| <title>Debug</title> |
| <meta name="viewport" content="width=device-width,initial-scale=1"> |
| <script type="module" src="/out/Default/resources/inspector_overlay/main.js"></script> |
| </head> |
| <body> |
| <script type="module"> |
| const viewportWidth = document.documentElement.clientWidth; |
| const viewportHeight = document.documentElement.clientHeight; |
| |
| dispatch(["setPlatform", "mac"]); |
| dispatch(["setOverlay", "highlight"]); |
| dispatch(["reset", { |
| viewportSize: { |
| width: viewportWidth, |
| height: viewportHeight, |
| }, |
| deviceScaleFactor: 1, |
| pageScaleFactor: 1, |
| pageZoomFactor: 1, |
| emulationScaleFactor: 1, |
| scrollX: 0, |
| scrollY: 0, |
| }]); |
| |
| dispatch(["drawHighlight", { |
| "paths":[], |
| "gridInfo":[ |
| { |
| "rows":["M",0,0,"L",viewportWidth,0,"M",viewportWidth,viewportHeight,"L",0,viewportHeight], |
| "positiveRowLineNumberOffsets":[0,viewportHeight], |
| "negativeRowLineNumberOffsets":[0,viewportHeight], |
| "columns":["M",0,0,"L",0,viewportHeight,"M",viewportWidth,viewportHeight,"L",viewportWidth,0], |
| "positiveColumnLineNumberOffsets":[0,viewportWidth], |
| "negativeColumnLineNumberOffsets":[0,viewportWidth], |
| "gridBorder":["M",0,0,"L",viewportWidth,0,"L",viewportWidth,viewportHeight,"L",0,viewportHeight,"Z"], |
| "gridHighlightConfig":{"gridBorderDash":false,"rowLineDash":true,"columnLineDash":true,"showGridExtensionLines":false,"showPositiveLineNumbers":true,"showNegativeLineNumbers":true,"rowLineColor":"rgba(127, 32, 210, 1)","columnLineColor":"rgba(127, 32, 210, 1)"}, |
| "isPrimaryGrid":true |
| } |
| ] |
| }]); |
| </script> |
| </body> |
| </html> |