Commit Graph
7 Commits
Author SHA1 Message Date
Kalon Hinds 361d02972a [Loc] Migrate developer_resources to Localization V2
Bug: 1136655
Change-Id: I01278b1c215dd7efa7255223a520df3524c53897
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2552105
Commit-Queue: Kalon Hinds <kahinds@microsoft.com>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
2020-11-20 19:47:24 +00:00
Jack Franklin 71519f8efb Introduce enableLegacyPatching flag for CSS patching
As part of the dark mode migration we are adding
`enableLegacyPatching:true` to all call sites of `appendStyle` (and
related methods). If a user passes `false` for that flag, no CSS colour
patching will occur.

This CL is therefore a no-op from a user's perspective as we pass `true`
on every call to maintain existing behaviour, but once we start
migrating we will turn the option to `false`. Long term, once all code
is migrated and the old patching is removed, we will remove this flag
entirely once again.

Bug: 1122511
Change-Id: I76b818e83b7d5ee0175e1548759373f53481e0ab
No-Presubmit: True
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2516345
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-11-03 14:11:46 +00:00
Sigurd Schneider 7a3bd578c6 Improve Settings types for checkboxes
Bug: chromium:1011811
Change-Id: I24a0115e036ecd0f4af221f202aa95c28bfeedd7
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2440496
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2020-10-01 08:35:24 +00:00
Sigurd Schneider 78bdf4a64d Make load-through-target configurable
Bug: chromium:1069378
Change-Id: I26e0ffd4afa86897ed07aa2ab36d025977ca9992
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2438460
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2020-09-30 13:28:17 +00:00
Sigurd Schneider 2533de14e2 Show initiator URL in developer resources view
Drive-by: Enable TS checking for front_end/developer_resources
Drive-by: Properly export IOModel

Bug: chromium:1069378, chromium:1011811
Change-Id: I50b7ae66067d426c8dda0d8829c35b6f6aa9696e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2428331
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2020-09-24 14:08:06 +00:00
Tim van der Lippe 054314154c Migrate developer_resources to devtools_entrypoint
R=jacktfranklin@chromium.org

Bug: 1101738
Change-Id: I98099c5cba48d3ae28711c7a9a432670f6025b8b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2390626
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2020-09-03 08:54:31 +00:00
Sigurd Schneider 9190780721 Add developer resources tab (behind a flag)
This ads a tab where all developer resources (that is source maps
and source code referenced from them) are listed once a load is
triggered. The tabs main function is to display the network load
status of the resources: It lists whether the load was successful
or not, and provides an error description. This is useful for
debugging when we enable a different source map loading mechanism.

The tab is currently gated behind a flag.

Screenshot: https://imgur.com/a/raMhmB5
Design Doc: https://docs.google.com/document/d/1RGxUa8yg_gF-G9exoXQa7a9ZyIMFOrUHtq9T793XTbY
Bug: chromium:1069378
Change-Id: I84e880cc45c6520066d12310aff119fee5749fe1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2273188
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Robert Paveza <Rob.Paveza@microsoft.com>
2020-07-08 09:17:16 +00:00