Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js

Issue 2678623002: DevTools: pass title when creating settings (Closed)
Patch Set: ac Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
index 26747b30ec3c08b2b5f74b28dfc43631a0b75ac8..586ed14377dcebf7b6ffb3bf4618bc80220cb0d6 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
@@ -170,9 +170,9 @@ Network.NetworkPanel = class extends UI.Panel {
'change', this._onPreserveLogCheckboxChanged.bind(this), false);
this._panelToolbar.appendToolbarItem(this._preserveLogCheckbox);
- this._disableCacheCheckbox = new UI.ToolbarCheckbox(
- Common.UIString('Disable cache'), Common.UIString('Disable cache (while DevTools is open)'),
- Common.moduleSetting('cacheDisabled'));
+ this._disableCacheCheckbox = new UI.ToolbarSettingCheckbox(
+ Common.moduleSetting('cacheDisabled'), Common.UIString('Disable cache (while DevTools is open)'),
+ Common.UIString('Disable cache'));
this._panelToolbar.appendToolbarItem(this._disableCacheCheckbox);
this._panelToolbar.appendSeparator();

Powered by Google App Engine
This is Rietveld 408576698