| Index: third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js b/third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js
|
| similarity index 91%
|
| rename from third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js
|
| rename to third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js
|
| index 40a91109947fa4aaf0857a740674416ffa4c7b9c..412e9e9fe212a57f4e1bf03cccb92b32a89b965f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js
|
| @@ -5,7 +5,7 @@
|
| /**
|
| * @implements {SDK.SDKModelObserver<!SDK.EmulationModel>}
|
| */
|
| -Components.CPUThrottlingManager = class extends Common.Object {
|
| +MobileThrottling.CPUThrottlingManager = class extends Common.Object {
|
| constructor() {
|
| super();
|
| this._throttlingRate = 1; // No throttling
|
| @@ -31,7 +31,7 @@ Components.CPUThrottlingManager = class extends Common.Object {
|
| for (var control of this._controls)
|
| control.setSelectedIndex(index);
|
| UI.inspectorView.setPanelIcon('timeline', icon);
|
| - this.dispatchEventToListeners(Components.CPUThrottlingManager.Events.RateChanged);
|
| + this.dispatchEventToListeners(MobileThrottling.CPUThrottlingManager.Events.RateChanged);
|
| }
|
|
|
| /**
|
| @@ -85,6 +85,6 @@ Components.CPUThrottlingManager = class extends Common.Object {
|
| };
|
|
|
| /** @enum {symbol} */
|
| -Components.CPUThrottlingManager.Events = {
|
| +MobileThrottling.CPUThrottlingManager.Events = {
|
| RateChanged: Symbol('RateChanged')
|
| };
|
|
|