Commit Graph
19 Commits
Author SHA1 Message Date
Tim van der Lippe 2e38eeaf9f Remove all comments with only the unrestricted annotation
The unrestricted annotation is Closure-specific and can be removed.
This patch removes all comments with only the unrestricted annotation
in them.

R=szuend@chromium.org

No-Presubmit: True
Bug: 1011811
Change-Id: Iba0723644f53f5307c3077d341271af86becc32a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2569758
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
2020-12-02 15:25:32 +00:00
Simon Zünd 53db732262 [ts] Type-check network/NetworkOverview.js with TypeScript
R=jacktfranklin@chromium.org

Bug: chromium:1011811
Change-Id: I1caeabc3890df916e95793d8e69e59312bc745a4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2460912
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
2020-10-08 11:16:08 +00:00
Paul Lewis ca569a50bd Migrates theme patching to top-level ThemeSupport
This CL replaces all uses of self.UI.themeSupport with an instance
function from the top level theme_support directory. It also dupes in
some of the functionality from ui/utils to prevent a circular dependency
between ui/utils and theme_support.

Change-Id: Ib8efd06630b99ee23af04ecba0dbf3cc4b19c036
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2352711
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2020-09-09 16:32:13 +00:00
Jan Scheffler 6c0cc69f17 Migrate front_end/network to devtools_entrypoint
R=aerotwist@chromium.org, jacktfranklin@chromium.org

Bug: 1101738
Change-Id: Id895c6e1a9083c22334ae1afad467c08e8dfa6a1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2332228
Commit-Queue: Jan Scheffler <janscheffler@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Auto-Submit: Jan Scheffler <janscheffler@chromium.org>
2020-07-31 14:44:50 +00:00
Anubha Mathur 88bc40da79 Add Serviceworker respondWith Timeline to network panel
Image: https://imgur.com/a/Mqe15Ab

Goes alongside PR: https://chromium-review.googlesource.com/c/chromium/src/+/2142145

Bug: 1066579
Change-Id: Ic46148a21d0fc19ab2013467d5147c4adf958b6d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2142449
Commit-Queue: Anubha Mathur <anubmat@microsoft.com>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Jan Scheffler <janscheffler@chromium.org>
Reviewed-by: Jose Leal <joselea@microsoft.com>
2020-06-02 21:17:01 +00:00
Kalon Hinds 9b2d1a2086 Use ThemeSupport to keep Network Overview colors in sync with CSS values
There were two color values that needed to be syncrhonized between CSS
and script code. This patch uses ThemeSupport to keep these values in
sync.

Bug: 961126
Change-Id: I11c7ddc839db73ea92c10b63378969ad1f32b30a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2120020
Commit-Queue: Kalon Hinds <kahinds@microsoft.com>
Reviewed-by: Jan Scheffler <janscheffler@chromium.org>
2020-04-30 08:03:37 +00:00
Paul Lewis daac106699 [global] Remaps self.SDK.targetManager
This CL changes references to self.SDK.targetManager (the global
instance of SDK.SDKModel.TargetManager) over to
SDK.SDKModel.TargetManager.instance(). To keep both TypeScript and
Closure happy we must make a method on the TargetManager class itself,
since it only allows private constructors to be accessed by static
methods on the class.

Bug: 1058320
Change-Id: I6ca35024c21cf24254fd6273138a1ab3e163ee00
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2088092
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-03-05 14:58:03 +00:00
Tim van der Lippe c02a97ca2c Fix imports for Common.Event typedef
All references now use the fully qualified
"Common.EventTarget.EventTargetEvent". It renames it to
"EventTargetEvent" to prevent a name-clash with the native "Event" type.

Bug: 1006759
Change-Id: I13fcdfd613041da146d741a0d1f785bfc905a7a8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2056481
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-02-14 15:21:06 +00:00
Tim van der Lippe ded23fbce5 Migrate cookie_table/ to import cross-module
Bug: 1006759
Change-Id: I0d5e15c8b89d32f02c3844c032e2e04b11f2e7c1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2052171
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-02-13 13:52:08 +00:00
Tim van der Lippe 0ed1d2b857 Migrate network/ to import cross-module
Bug: 1006759
Change-Id: I3fc6be48f30ca087b6396cb046c0fbc0f43e018f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2035946
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-02-04 18:12:02 +00:00
Paul Lewis 4ae5f4f5ce [Global] Update refs to SDK.targetManager
Bug: 1006759
Change-Id: I0686ef929b89e75c2ea8a731c593d955eca85935
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2015119
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
2020-01-23 10:56:40 +00:00
Tim van der Lippe 119690cd73 Migrate network/ to ESM internally
Bug: 1006759
Change-Id: I90014b2af71ca1945cb8bcfe011bb5d34874b258
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1994979
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-01-14 14:47:58 +00:00
Paul Lewis 5650965324 Migrates network/ to esm
Bug: 1006759
Change-Id: Ic94d5954605d7d368dfe395532c92a98dfee7a3c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1953615
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
2019-12-09 11:08:02 +00:00
Brandon Goddard 88d885ac16 Reland "Network A11y: Improve keyboarding experience of Network tool Datagrid"
This is a reland of cef170cfe5

The change accidentally deleted a line that allowed for the overview timeline
highlighting of the currently selected node. This has been fixed.

Original change's description:
> Network A11y: Improve keyboarding experience of Network tool Datagrid
>
> This changes builds off of
> https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1881219
> in order to improve the keyboard accessibility
> of the Network tool Datagrid.
>
> Previously, the network tool ties selection of a node in the grid
> directly to opening the request sidepane. This makes it challenging for
> keyboard only users to view and navigate the network tool datagrid
> columns.
>
> This change separates selection from opening the sidepane, and fixes
> styling issues that affect the columns that were previously hidden
> behind the sidepane when a node is selected. Selected nodes are
> highlighted in the grid, and are "activated" using the enter key
> or a click in the primary column to open the sidepane.
>
> Before: https://imgur.com/U1PG6Hr
>
> After: https://imgur.com/eXgDE9D
>
> Bug: 963183
>
> Change-Id: I2c2629670624e807adb4cd9e9e9b75cdafbae7a5
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1881592
> Commit-Queue: Brandon Goddard <brgoddar@microsoft.com>
> Reviewed-by: Lorne Mitchell <lomitch@microsoft.com>
> Reviewed-by: Jan Scheffler <janscheffler@chromium.org>

Bug: 963183
Change-Id: I4dfd0a67cd1fce6e6dd8066ceb84841d21191ef3
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1896256
Reviewed-by: Lorne Mitchell <lomitch@microsoft.com>
Commit-Queue: Brandon Goddard <brgoddar@microsoft.com>
2019-11-04 22:24:05 +00:00
Jan Scheffler 3c77a59376 [network] Highlight selected request in overview
The selected request will be rendered slightly larger
and with a border around it.

Screenshot: https://imgur.com/a/kpbsQ9p
(The selected request can be found between 800ms and 900ms)

Fixed: 988253
Change-Id: I55755ebc650e858f2990f45423fe4a2440f4d4a5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1875707
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Jan Scheffler <janscheffler@chromium.org>
2019-10-23 09:09:57 +00:00
Tim van der Lippe 1d6e57a0e3 Always add braces to single-line if-statements
The Chromium/Google style guides does not enforce curly braces for
single-line if-statements, but does strongly recommend doing so. Adding
braces will improve code readability, by visually separating code
blocks. This will also prevent issues where accidental additions are
pushed to the "else"-clause instead of in the if-block.

This CL also updates the presubmit `eslint` to run the fix with the
correct configuration. It will now fix all issues it can fix.

Change-Id: I4b616f21a99393f168dec743c0bcbdc7f5db04a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1821526
Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Jeff Fisher <jeffish@microsoft.com>
Cr-Original-Commit-Position: refs/heads/master@{#701070}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7e0bdbe2d7f9fc2386bfaefda3cc29c66ccc18f9
2019-09-30 11:55:34 +00:00
Joey Arhar a86c14edda [DevTools] Increase network summary bar tooltip precision
Bug: 939574
Change-Id: I72779a526ba43e26eeb198ae5bd60f6e24a5b15f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1509900
Reviewed-by: Joel Einbinder <einbinder@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#639800}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0affa8b6ed7ed7e11cc5d1154c5c6989252df1cd
2019-03-12 03:20:50 +00:00
Alexei Filippov fdcd8a6262 DevTools: Fix the page metric events appearance.
Plugged in new colors for events.
Changes abbreviation of OL to L for load event.

BUG=914573

Change-Id: I68d85cbd72702a9c1e4d30ed1eea321db77f81d3
Reviewed-on: https://chromium-review.googlesource.com/c/1379047
Commit-Queue: Alexei Filippov <alph@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#617237}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5e90846c2c0149b1cc4b4f916bdcc2605ff55ff3
2018-12-17 21:32:30 +00:00
Blink Reformat 4c46d0969f The Great Blink mv for source files, part 2.
Move and rename files.

NOAUTOREVERT=true
NOPRESUBMIT=true
NOTREECHECKS=true
Bug: 768828
TBR=darin@chromium.org
NOTRY=true

Change-Id: I66d3b155808bc5bdbf237b80208e1e552bcf7f28
Reviewed-on: https://chromium-review.googlesource.com/1001153
Reviewed-by: Blink Reformat <blink-reformat@chromium.org>
Commit-Queue: Blink Reformat <blink-reformat@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#549061}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0aee4434a4dba42a42abaea9bfbc0cd196a63bc1
2018-04-07 15:32:37 +00:00