Add VE logging for network panel filter checkboxes
Bug: chromium:330713710
Change-Id: I5886b8760f200ce1559be15da4aabc09c535ad95
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5496962
Auto-Submit: Wolfgang Beyer <[email protected]>
Reviewed-by: Danil Somsikov <[email protected]>
Commit-Queue: Danil Somsikov <[email protected]>
diff --git a/front_end/panels/network/NetworkLogView.ts b/front_end/panels/network/NetworkLogView.ts
index 4dc9506..aeb20df 100644
--- a/front_end/panels/network/NetworkLogView.ts
+++ b/front_end/panels/network/NetworkLogView.ts
@@ -573,14 +573,15 @@
filterBar.addFilter(this.moreFiltersDropDownUI);
} else {
this.dataURLFilterUI = new UI.FilterBar.CheckboxFilterUI(
- 'hide-data-url', i18nString(UIStrings.hideDataUrls), true, this.networkHideDataURLSetting);
+ 'hide-data-url', i18nString(UIStrings.hideDataUrls), true, this.networkHideDataURLSetting, 'hide-data-urls');
this.dataURLFilterUI.addEventListener(
UI.FilterBar.FilterUIEvents.FilterChanged, this.filterChanged.bind(this), this);
UI.Tooltip.Tooltip.install(this.dataURLFilterUI.element(), i18nString(UIStrings.hidesDataAndBlobUrls));
filterBar.addFilter(this.dataURLFilterUI);
this.hideChromeExtensionsUI = new UI.FilterBar.CheckboxFilterUI(
- 'chrome-extension', i18nString(UIStrings.chromeExtensions), true, this.networkHideChromeExtensions);
+ 'chrome-extension', i18nString(UIStrings.chromeExtensions), true, this.networkHideChromeExtensions,
+ 'hide-extension-urls');
this.hideChromeExtensionsUI.addEventListener(
UI.FilterBar.FilterUIEvents.FilterChanged, this.filterChanged.bind(this), this);
UI.Tooltip.Tooltip.install(this.hideChromeExtensionsUI.element(), i18nString(UIStrings.hideChromeExtension));
@@ -595,7 +596,7 @@
this.onlyBlockedResponseCookiesFilterUI = new UI.FilterBar.CheckboxFilterUI(
'only-show-blocked-cookies', i18nString(UIStrings.hasBlockedCookies), true,
- this.networkShowBlockedCookiesOnlySetting);
+ this.networkShowBlockedCookiesOnlySetting, 'only-show-blocked-cookies');
this.onlyBlockedResponseCookiesFilterUI.addEventListener(
UI.FilterBar.FilterUIEvents.FilterChanged, this.filterChanged.bind(this), this);
UI.Tooltip.Tooltip.install(
@@ -604,14 +605,15 @@
this.onlyBlockedRequestsUI = new UI.FilterBar.CheckboxFilterUI(
'only-show-blocked-requests', i18nString(UIStrings.blockedRequests), true,
- this.networkOnlyBlockedRequestsSetting);
+ this.networkOnlyBlockedRequestsSetting, 'only-show-blocked-requests');
this.onlyBlockedRequestsUI.addEventListener(
UI.FilterBar.FilterUIEvents.FilterChanged, this.filterChanged.bind(this), this);
UI.Tooltip.Tooltip.install(this.onlyBlockedRequestsUI.element(), i18nString(UIStrings.onlyShowBlockedRequests));
filterBar.addFilter(this.onlyBlockedRequestsUI);
this.onlyThirdPartyFilterUI = new UI.FilterBar.CheckboxFilterUI(
- 'only-show-third-party', i18nString(UIStrings.thirdParty), true, this.networkOnlyThirdPartySetting);
+ 'only-show-third-party', i18nString(UIStrings.thirdParty), true, this.networkOnlyThirdPartySetting,
+ 'only-show-third-party');
this.onlyThirdPartyFilterUI.addEventListener(
UI.FilterBar.FilterUIEvents.FilterChanged, this.filterChanged.bind(this), this);
UI.Tooltip.Tooltip.install(