Vidal Guillermo Diazleal Ortega
0a997bb8b6
[Loc] Migrate resources(Aplication) to Localization V2
...
- Migrate resources(Aplication)to use Localization V2 APIs.
- Removed resources grdps
Tested with en-XL.json
https://imgur.com/a/hsH7AEm
Bug: 1136655
Change-Id: Iba7fef0b87f7aab7625f4e013f1a120baa268889
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2677336
Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com >
Reviewed-by: Peter Marshall <petermarshall@chromium.org >
2021-02-09 05:17:17 +00:00
Tim van der Lippe
05149e9772
Remove ls from legacy-defs
...
This adds all missing imports for `ls` to all files. After this change,
all usages of `ls` will now properly be resolved to a LocalizedString
rather than a normal string.
R=jacktfranklin@chromium.org
No-Presubmit: True
Change-Id: Icf6d8c3b8bea1f9e66f4b6b58e4ae4c7f99e6f9c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2629554
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
2021-01-15 12:53:50 +00:00
Tim van der Lippe
d7cfd14814
Fix no-implicit-coercion errors in front_end/
...
R=jacktfranklin@chromium.org
No-Presubmit: True
Bug: 1082789
Change-Id: Ic77884bf7e9b5dc74053915b3b10699368841b66
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2595268
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
2021-01-07 12:40:16 +00:00
Yang Guo
4492cf287a
[ts] Type-check DOMStorageItemsView.js
...
R=szuend@chromium.org
Bug: 1011811
Change-Id: Ifdaf9cbf20e6f04319817c4cf57e42ed81848d42
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2489864
Reviewed-by: Simon Zünd <szuend@chromium.org >
Commit-Queue: Yang Guo <yangguo@chromium.org >
2020-10-22 11:29:59 +00:00
Jan Scheffler
52b1f359a3
Migrate front_end/resources to devtools_entrypoint
...
R=aerotwist@chromium.org , jacktfranklin@chromium.org
Bug: 1101738
Change-Id: I2a3e04996defaad7f77741f7e3fe985f283a4e61
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2332225
Commit-Queue: Jan Scheffler <janscheffler@chromium.org >
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
Auto-Submit: Jan Scheffler <janscheffler@chromium.org >
2020-07-31 15:14:20 +00:00
Tim van der Lippe
18f0489a60
Reland: Move ContentProvider.js and StaticContentProvider.js to text_utils.
...
They used to live under common.
This is to avoid the dependency from common to text_utils caused by
the method performSearchInContent.
Layout tests were disabled:
https://chromium-review.googlesource.com/c/chromium/src/+/2096995
CL to fix and re enable tests
https://chromium-review.googlesource.com/c/chromium/src/+/2096018/
Bug: 1011811
Change-Id: I76415076366d748ed0b4fe6ff32c73bae0db1312
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2097337
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
2020-03-17 12:12:17 +00:00
Simon Zünd
b4c9ea79e7
Revert "Move ContentProvider.js and StaticContentProvider.js to text_utils."
...
This reverts commit ba56abb36c .
Reason for revert: Breaks two layout tests:
https://ci.chromium.org/p/devtools-frontend/builders/ci/DevTools%20Linux/739
The Try bot also caught this for this CL but was green for some reason.
Original change's description:
> Move ContentProvider.js and StaticContentProvider.js to text_utils.
> They used to live under common.
>
> This is to avoid the dependency from common to text_utils caused by the method performSearchInContent
>
> Bug: 1011811
> Change-Id: Ic6ccb32d8c18abda7b259ca14bafca4c7c2003ab
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2090785
> Commit-Queue: Jose Leal <joselea@microsoft.com >
> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
TBR=joselea@microsoft.com ,tvanderlippe@chromium.org
Change-Id: Ie8c99b77123e916d9f0cde73339f9cac22fff3ef
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1011811
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2095308
Reviewed-by: Simon Zünd <szuend@chromium.org >
Commit-Queue: Simon Zünd <szuend@chromium.org >
2020-03-10 06:29:38 +00:00
Jose Leal Chapa
ba56abb36c
Move ContentProvider.js and StaticContentProvider.js to text_utils.
...
They used to live under common.
This is to avoid the dependency from common to text_utils caused by the method performSearchInContent
Bug: 1011811
Change-Id: Ic6ccb32d8c18abda7b259ca14bafca4c7c2003ab
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2090785
Commit-Queue: Jose Leal <joselea@microsoft.com >
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
2020-03-10 00:33:29 +00:00
Tim van der Lippe
37a35fff86
Reland "Typecheck Object.js"
...
This reverts commit f996a1c537 .
Reason for revert: Fixed incorrect refactoring in this CL.
Original change's description:
> Revert "Typecheck Object.js"
>
> This reverts commit 258665aca5 .
>
> Reason for revert: Suspected of breaking the roll (https://crrev.com/c/2083712 )
> Bot failure: https://ci.chromium.org/p/chromium/builders/try/linux-rel/322462 ?
>
> Original change's description:
> > Typecheck Object.js
> >
> > To typecheck the file Object.js with Typescript I had to fix the type errors from all other classes
> > that were using addEventListener or removeEventListener incinsistently.
> >
> >
> >
> > Bug: 1011811
> > Change-Id: I2fccbbd07ef3d9a581baa34233580bc6a9dbbfc3
> > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2079794
> > Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
> > Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
> > Commit-Queue: Jose Leal <joselea@microsoft.com >
>
> TBR=szuend@chromium.org ,joselea@microsoft.com ,tvanderlippe@chromium.org ,jacktfranklin@chromium.org
>
> Change-Id: I30e3d75eee463362107d6e6ad25df2b7d50f9d54
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 1011811
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2081824
> Reviewed-by: Simon Zünd <szuend@chromium.org >
> Commit-Queue: Simon Zünd <szuend@chromium.org >
Bug: 1011811
Change-Id: I19ebbe0345a5c7380ed69d1ba2921adf0385228e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2084580
Reviewed-by: Simon Zünd <szuend@chromium.org >
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
2020-03-03 14:09:44 +00:00
Simon Zünd
f996a1c537
Revert "Typecheck Object.js"
...
This reverts commit 258665aca5 .
Reason for revert: Suspected of breaking the roll (https://crrev.com/c/2083712 )
Bot failure: https://ci.chromium.org/p/chromium/builders/try/linux-rel/322462 ?
Original change's description:
> Typecheck Object.js
>
> To typecheck the file Object.js with Typescript I had to fix the type errors from all other classes
> that were using addEventListener or removeEventListener incinsistently.
>
>
>
> Bug: 1011811
> Change-Id: I2fccbbd07ef3d9a581baa34233580bc6a9dbbfc3
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2079794
> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
> Commit-Queue: Jose Leal <joselea@microsoft.com >
TBR=szuend@chromium.org ,joselea@microsoft.com ,tvanderlippe@chromium.org ,jacktfranklin@chromium.org
Change-Id: I30e3d75eee463362107d6e6ad25df2b7d50f9d54
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1011811
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2081824
Reviewed-by: Simon Zünd <szuend@chromium.org >
Commit-Queue: Simon Zünd <szuend@chromium.org >
2020-03-03 05:59:28 +00:00
Jose Leal Chapa
258665aca5
Typecheck Object.js
...
To typecheck the file Object.js with Typescript I had to fix the type errors from all other classes
that were using addEventListener or removeEventListener incinsistently.
Bug: 1011811
Change-Id: I2fccbbd07ef3d9a581baa34233580bc6a9dbbfc3
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2079794
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
Commit-Queue: Jose Leal <joselea@microsoft.com >
2020-03-02 18:15:06 +00:00
Tim van der Lippe
9a9aba8855
Remove typedefs from data_grid-legacy.js
...
Bug: 1006759
Change-Id: I07c3fb9cc3840ffebd07c9dcd5dd2e3ab6ea006a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2057206
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
2020-02-14 15:21:06 +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
0efccf074b
Migrate resources/ to import cross-module
...
Bug: 1006759
Change-Id: I95a6b04dcbac41ca56036e0ff7ae70f74e9fa8e8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2051994
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
2020-02-12 16:07:52 +00:00
Paul Lewis
ddf58342e0
Migrates resources/ to ESM internally
...
Bug: 1006759
Change-Id: I4176498edee62723421ce79639375f28a87bda0b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2002589
Commit-Queue: Paul Lewis <aerotwist@chromium.org >
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org >
2020-01-15 15:19:33 +00:00
Tim van der Lippe
472675db85
Migrate data_grid/ to ESM internally
...
Bug: 1006759
Change-Id: Idb20304bcf3e72e4a0bba242e847e90ff9b8a8c8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1993342
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
2020-01-09 15:04:51 +00:00
Tim van der Lippe
097cdecdfc
Migrate resources/ to ESM
...
Bug: 1006759
Change-Id: Idbbe06ab71b93bd2a2e2652f3ee4f5bd4b68f6ab
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1985673
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
2020-01-06 15:02:33 +00:00
Shane Clifford
07f3a4362d
DevTools: Adding CookieItems & DOMStorage view state settings
...
Small change to preserve the state of the split views for cookie items
and DOM storage when user resizes them. Also, fixed up the call to
SplitView constructor to pass true for secondIsSidebar and eliminated
now redundant calls to setSecondIsSidebar in CookieItemsView and
StorageItemsView constructors.
Before: https://imgur.com/a/DNh3yMM
After: https://imgur.com/a/4APv5Yj
Bug:1035986
Change-Id: I5b1c01b66be9f35b284a401116328ebfa357bcf4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1977339
Commit-Queue: Robert Paveza <Rob.Paveza@microsoft.com >
Reviewed-by: Robert Paveza <Rob.Paveza@microsoft.com >
Reviewed-by: Brian Cui <brcui@microsoft.com >
2019-12-31 22:09:25 +00:00
Michael Liao
18769f2106
[Common - Data Grids]: bundling data grid parameters + Adding required name field for all data grids
...
Issue:
- Data grids in DevTools do not have an aria-label
- There are a ton of DataGrid parameters and adding one is messy
Changes:
- Naming all data grids
- Created DataGrid.Datagrid.Parameters type to hold data grid parameters (including a required gridName field)
Bug: 963183
Change-Id: I83b130d468fb80034be264b45b86b799f650e978
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1891652
Commit-Queue: Michael Liao <michael.liao@microsoft.com >
Reviewed-by: Robert Paveza <Rob.Paveza@microsoft.com >
2019-12-12 19:12:26 +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
Brandon Goddard
c73dad5cb1
Devtools: Context Menu Improvement for Application Tool StorageItemsView
...
This change removes a context menu from StorageItemsView.js that was
overriding the context menues for any of the Widgets used in the
Local/Session Storage and Cookies Views in the Application Tool.
The overriding menu would only give the option to "Refresh" and was
hiding other options such as edit/delete in the tables and the basic
input context menu (copy/paste/etc) for the filter in the toolbar.
The refresh option is now restricted to context menu of the data grid
along-side the other options.
before: https://imgur.com/RiNssOQ
after: https://imgur.com/oQV1Sde
Bug: 963183
Change-Id: Icd26c09006bdf96acbde16096c17c6887a14bc42
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1659489
Reviewed-by: Joel Einbinder <einbinder@chromium.org >
Commit-Queue: Brandon Goddard <brgoddar@microsoft.com >
Cr-Original-Commit-Position: refs/heads/master@{#672319}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc5c607da5be00e6a6dfd6165d44bac9fa8a5e53
2019-06-25 23:40:03 +00:00
Harley Li
e1d44fd45a
[DevTools] Set minimum height of storage's key-value table
...
Set the minimum height of storage panel's key-value table so that the
preview panel down below won't obscure it when dragged upward, confusing
the users.
Screenshot: https://imgur.com/a/VhC4X7x
Bug: 865091
Change-Id: I152f9082f6dd1646a1e8eaeb4d9111b181546553
Reviewed-on: https://chromium-review.googlesource.com/1220477
Commit-Queue: Haihong Li (Harley) <hhli@chromium.org >
Reviewed-by: Erik Luo <luoe@chromium.org >
Cr-Original-Commit-Position: refs/heads/master@{#590453}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4f1ed2c0e0dd71456fa9d7a096318e84639f8597
2018-09-11 20:45:16 +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