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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js

Issue 2915883002: DevTools: prepare to unify Network and CPU throttling UI (Closed)
Patch Set: gs Created 3 years, 7 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 7ec9c67fb810b8180ce815a931b1b76b514642fa..0aefce0e9ee7ca8e81191c3d3af76f500165caa0 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js
@@ -188,7 +188,7 @@ Emulation.DeviceModeToolbar = class {
* @param {!UI.Toolbar} toolbar
*/
_fillOptionsToolbar(toolbar) {
- this._networkConditionsItem = NetworkConditions.NetworkConditionsSelector.createToolbarMenuButton();
+ this._networkConditionsItem = MobileThrottling.NetworkConditionsSelector.createToolbarMenuButton();
this._networkConditionsItem.setVisible(this._showNetworkConditionsSetting.get());
this._networkConditionsItem.setTitle(Common.UIString('Network throttling'));
this._networkConditionsItem.element.style.maxWidth = '140px';

Powered by Google App Engine
This is Rietveld 408576698