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

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

Issue 2668413003: DevTools: extract NetworkConditionsSelector into its own module (Closed)
Patch Set: rebaseline 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 92bc783dc85e750cad369f6dc11f4801c6169ae0..26747b30ec3c08b2b5f74b28dfc43631a0b75ac8 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
@@ -177,7 +177,7 @@ Network.NetworkPanel = class extends UI.Panel {
this._panelToolbar.appendSeparator();
this._panelToolbar.appendToolbarItem(this._createBlockedURLsButton());
- this._panelToolbar.appendToolbarItem(Components.NetworkConditionsSelector.createOfflineToolbarCheckbox());
+ this._panelToolbar.appendToolbarItem(NetworkConditions.NetworkConditionsSelector.createOfflineToolbarCheckbox());
this._panelToolbar.appendToolbarItem(this._createNetworkConditionsSelect());
this._panelToolbar.appendToolbarItem(new UI.ToolbarItem(this._progressBarContainer));
}
@@ -205,7 +205,7 @@ Network.NetworkPanel = class extends UI.Panel {
_createNetworkConditionsSelect() {
var toolbarItem = new UI.ToolbarComboBox(null);
toolbarItem.setMaxWidth(140);
- Components.NetworkConditionsSelector.decorateSelect(toolbarItem.selectElement());
+ NetworkConditions.NetworkConditionsSelector.decorateSelect(toolbarItem.selectElement());
return toolbarItem;
}

Powered by Google App Engine
This is Rietveld 408576698