chrome-devtools-frontend 1.0.1004171 → 1.0.1005672

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/config/gni/devtools_grd_files.gni +2 -0
  2. package/front_end/core/common/ParsedURL.ts +3 -3
  3. package/front_end/core/i18n/locales/en-US.json +41 -8
  4. package/front_end/core/i18n/locales/en-XL.json +41 -8
  5. package/front_end/core/sdk/DOMModel.ts +15 -0
  6. package/front_end/core/sdk/DebuggerModel.ts +12 -0
  7. package/front_end/core/sdk/RuntimeModel.ts +5 -3
  8. package/front_end/generated/InspectorBackendCommands.js +0 -2
  9. package/front_end/generated/protocol.ts +1 -2
  10. package/front_end/models/extensions/ExtensionPanel.ts +1 -1
  11. package/front_end/models/extensions/ExtensionServer.ts +11 -10
  12. package/front_end/models/har/Log.ts +4 -3
  13. package/front_end/models/issues_manager/DeprecationIssue.ts +5 -23
  14. package/front_end/panels/elements/ComputedStyleWidget.ts +6 -5
  15. package/front_end/panels/elements/ElementsTreeElement.ts +41 -0
  16. package/front_end/panels/elements/ElementsTreeOutline.ts +5 -0
  17. package/front_end/panels/elements/components/AdornerManager.ts +7 -0
  18. package/front_end/panels/elements/elementsTreeOutline.css +9 -0
  19. package/front_end/panels/network/NetworkItemView.ts +10 -1
  20. package/front_end/panels/network/RequestHeadersView.ts +1 -1
  21. package/front_end/panels/network/components/RequestHeadersView.css +78 -0
  22. package/front_end/panels/network/components/RequestHeadersView.ts +262 -0
  23. package/front_end/panels/network/components/components.ts +2 -0
  24. package/front_end/panels/network/forward/UIRequestLocation.ts +1 -0
  25. package/front_end/panels/network/networkLogView.css +3 -3
  26. package/front_end/panels/network/requestHeadersTree.css +6 -0
  27. package/front_end/panels/sources/CallStackSidebarPane.ts +13 -0
  28. package/front_end/panels/sources/ScopeChainSidebarPane.ts +4 -3
  29. package/front_end/panels/sources/sourcesView.css +4 -0
  30. package/front_end/ui/components/text_editor/config.ts +0 -1
  31. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +16 -2
  32. package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +2 -2
  33. package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +4 -0
  34. package/package.json +1 -1
@@ -172,7 +172,7 @@ export class ViewportDataGrid<T> extends Common.ObjectWrapper.eventMixin<EventTy
172
172
  delete this.updateAnimationFrameId;
173
173
  }
174
174
 
175
- const clientHeight = this.scrollContainer.clientHeight - this.headerHeight();
175
+ const clientHeight = this.scrollContainer.clientHeight - this.headerHeightInScroller();
176
176
  let scrollTop: number = this.scrollContainer.scrollTop;
177
177
  const currentScrollTop = scrollTop;
178
178
  const maxScrollTop = Math.max(0, this.contentHeight() - clientHeight);
@@ -249,7 +249,7 @@ export class ViewportDataGrid<T> extends Common.ObjectWrapper.eventMixin<EventTy
249
249
  }
250
250
  const toY = fromY + node.nodeSelfHeight();
251
251
  let scrollTop: number = this.scrollContainer.scrollTop;
252
- const visibleHeight = this.scrollContainer.offsetHeight - this.headerHeight();
252
+ const visibleHeight = this.scrollContainer.offsetHeight - this.headerHeightInScroller();
253
253
  if (scrollTop > fromY) {
254
254
  scrollTop = fromY;
255
255
  this.stickToBottom = false;
@@ -64,6 +64,10 @@ export class ColorSwatch extends HTMLElement {
64
64
  return this.format;
65
65
  }
66
66
 
67
+ getText(): string|null {
68
+ return this.text;
69
+ }
70
+
67
71
  get anchorBox(): AnchorBox|null {
68
72
  const swatch = this.shadow.querySelector('.color-swatch');
69
73
  return swatch ? swatch.boxInWindow() : null;
package/package.json CHANGED
@@ -55,5 +55,5 @@
55
55
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
56
56
  "watch": "vpython third_party/node/node.py --output scripts/watch_build.js"
57
57
  },
58
- "version": "1.0.1004171"
58
+ "version": "1.0.1005672"
59
59
  }