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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.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/emulation/DeviceModeToolbar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js
index 54fa80e72e892432fc029a735f7eeb4ae04d97cc..0abeced48332bc3abff2de832b704bc0f07885b6 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js
@@ -178,7 +178,7 @@ Emulation.DeviceModeToolbar = class {
* @param {!UI.Toolbar} toolbar
*/
_fillOptionsToolbar(toolbar) {
- this._networkConditionsItem = Components.NetworkConditionsSelector.createToolbarMenuButton();
+ this._networkConditionsItem = NetworkConditions.NetworkConditionsSelector.createToolbarMenuButton();
this._networkConditionsItem.setVisible(this._showNetworkConditionsSetting.get());
this._networkConditionsItem.setTitle(Common.UIString('Network throttling'));
this._networkConditionsItem.element.style.padding = '0 5px';

Powered by Google App Engine
This is Rietveld 408576698