Index: third_party/WebKit/Source/devtools/front_end/network/BlockedURLsPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/network/BlockedURLsPane.js b/third_party/WebKit/Source/devtools/front_end/network/BlockedURLsPane.js |
index aa6445a01060182188fa4666ba0f6b7a3df7eacc..b0d9d091a09cbc98c6bfab6326ff2a058c606761 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/network/BlockedURLsPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/network/BlockedURLsPane.js |
@@ -24,6 +24,11 @@ Network.BlockedURLsPane = class extends UI.VBox { |
clearButton.addEventListener(UI.ToolbarButton.Events.Click, this._removeAll, this); |
this._toolbar.appendToolbarItem(clearButton); |
+ var enableRequestBlockingCheckbox = new UI.ToolbarSettingCheckbox( |
+ Common.moduleSetting('requestBlockingEnabled'), Common.UIString('Enables request blocking'), |
pfeldman
2017/03/07 02:37:56
If you fined setting in the descriptor, titles are
allada
2017/03/07 21:54:04
Done.
|
+ Common.UIString('Enables request blocking')); |
+ this._toolbar.appendToolbarItem(enableRequestBlockingCheckbox); |
+ |
this._emptyElement = this.contentElement.createChild('div', 'no-blocked-urls'); |
this._emptyElement.createChild('span').textContent = Common.UIString('Requests are not blocked. '); |
var addLink = this._emptyElement.createChild('span', 'link'); |