diff --git a/front_end/panels/network/NetworkLogView.ts b/front_end/panels/network/NetworkLogView.ts index 3bb8005e8a7..a34d4bcf786 100644 --- a/front_end/panels/network/NetworkLogView.ts +++ b/front_end/panels/network/NetworkLogView.ts @@ -513,23 +513,26 @@ export class NetworkLogView extends Common.ObjectWrapper.eventMixin { - void UI.ViewManager.ViewManager.instance().showView('network.config'); - }, this); - this.panelToolbar.appendToolbarItem(networkConditionsButton); - - this.rightToolbar.appendToolbarItem(new UI.Toolbar.ToolbarItem(this.progressBarContainer)); - this.rightToolbar.appendSeparator(); - this.rightToolbar.appendToolbarItem(new UI.Toolbar.ToolbarSettingToggle( - this.showSettingsPaneSetting, 'gear', i18nString(UIStrings.networkSettings), 'gear-filled')); + // NOTE(bycedric): disabled due to missing native implementation + + // this.panelToolbar.appendSeparator(); + // const disableCacheCheckbox = new UI.Toolbar.ToolbarSettingCheckbox( + // Common.Settings.Settings.instance().moduleSetting('cacheDisabled'), + // i18nString(UIStrings.disableCacheWhileDevtoolsIsOpen), i18nString(UIStrings.disableCache)); + // this.panelToolbar.appendToolbarItem(disableCacheCheckbox); + + // this.panelToolbar.appendToolbarItem(this.throttlingSelect); + + // const networkConditionsIcon = new IconButton.Icon.Icon(); + // networkConditionsIcon.data = { + // iconName: 'network-settings', + // color: 'var(--icon-default)', + // width: '20px', + // height: '20px', + // }; + // const networkConditionsButton = + // new UI.Toolbar.ToolbarButton(i18nString(UIStrings.moreNetworkConditions), networkConditionsIcon); + // networkConditionsButton.addEventListener(UI.Toolbar.ToolbarButton.Events.Click, () => { + // void UI.ViewManager.ViewManager.instance().showView('network.config'); + // }, this); + // this.panelToolbar.appendToolbarItem(networkConditionsButton); + + // this.rightToolbar.appendToolbarItem(new UI.Toolbar.ToolbarItem(this.progressBarContainer)); + // this.rightToolbar.appendSeparator(); + // this.rightToolbar.appendToolbarItem(new UI.Toolbar.ToolbarSettingToggle( + // this.showSettingsPaneSetting, 'gear', i18nString(UIStrings.networkSettings), 'gear-filled')); const settingsToolbarLeft = new UI.Toolbar.Toolbar('', this.settingsPane.element); settingsToolbarLeft.makeVertical();