mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 02:08:24 +08:00
In this CL, old overlay tools entrypoints are removed because after https://crrev.com/c/2461111 got merged, they are not in use anymore. Change-Id: Ibc33fac4d85617d62b1052d47c1f3a86c869e41f Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2470628 Reviewed-by: Mathias Bynens <mathias@chromium.org> Reviewed-by: Patrick Brosset <patrick.brosset@microsoft.com> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
<!--
|
|
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.
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Debug</title>
|
|
<link rel="stylesheet" type="text/css" href="/out/Default/resources/inspector_overlay/common.css">
|
|
<script type="module" src="/out/Default/resources/inspector_overlay/main.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="module">
|
|
function test() {
|
|
dispatch(["setPlatform", "mac"]);
|
|
dispatch(["setOverlay", "sourceOrder"]);
|
|
dispatch(["reset"]);
|
|
dispatch(["drawSourceOrder", {"paths":[{"path":["M",122,133.796875,"L",750,133.796875,"L",750,208.796875,"L",122,208.796875,"Z"], "outlineColor":"rgba(244, 90, 183, 1)","name":"content"},],
|
|
"sourceOrder": 0, colorFormat: "hsl"}]);
|
|
dispatch(["reset"]);
|
|
dispatch(["drawSourceOrder", {"paths":[{"path":["M",300,133.796875,"L",600,133.796875,"L",600,208.796875,"L",300,208.796875,"Z"], "outlineColor":"rgba(0, 120, 212, 1)","name":"content"},],
|
|
"sourceOrder": 1, colorFormat: "hsl"}]);
|
|
}
|
|
test();
|
|
</script>
|
|
</body>
|
|
</html>
|