@@ -573,7 +573,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
573573 this . panelToolbar . wrappable = true ;
574574 this . panelRightToolbar = timelineToolbarContainer . createChild ( 'devtools-toolbar' ) ;
575575 this . panelRightToolbar . role = 'presentation' ;
576- if ( ! isNode && ! isReactNative ) {
576+ if ( ! isNode ) {
577577 this . createSettingsPane ( ) ;
578578 this . updateShowSettingsToolbarButton ( ) ;
579579 }
@@ -1197,7 +1197,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
11971197
11981198 // View
11991199 this . panelToolbar . appendSeparator ( ) ;
1200- if ( ! isNode && ! isReactNative ) {
1200+ if ( ! isNode && ( Root . Runtime . experiments . isEnabled ( Root . Runtime . RNExperimentName . ENABLE_TIMELINE_FRAMES ) || ! isReactNative ) ) {
12011201 this . showScreenshotsToolbarCheckbox =
12021202 this . createSettingCheckbox ( this . showScreenshotsSetting , i18nString ( UIStrings . captureScreenshots ) ) ;
12031203
@@ -1237,7 +1237,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
12371237 }
12381238
12391239 // Settings
1240- if ( ! isNode && ! isReactNative ) {
1240+ if ( ! isNode ) {
12411241 this . panelRightToolbar . appendSeparator ( ) ;
12421242 this . panelRightToolbar . appendToolbarItem ( this . showSettingsPaneButton ) ;
12431243 }
@@ -1346,22 +1346,24 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
13461346 this . disableCaptureJSProfileSetting . title ( ) , this . disableCaptureJSProfileSetting ,
13471347 i18nString ( UIStrings . disablesJavascriptSampling ) ) ) ;
13481348
1349- const cpuThrottlingPane = this . settingsPane . createChild ( 'div' ) ;
1350- cpuThrottlingPane . append ( i18nString ( UIStrings . cpu ) ) ;
1351- this . cpuThrottlingSelect = MobileThrottling . ThrottlingManager . throttlingManager ( ) . createCPUThrottlingSelector ( ) ;
1352- cpuThrottlingPane . append ( this . cpuThrottlingSelect . control . element ) ;
1349+ if ( ! isReactNative ) {
1350+ const cpuThrottlingPane = this . settingsPane . createChild ( 'div' ) ;
1351+ cpuThrottlingPane . append ( i18nString ( UIStrings . cpu ) ) ;
1352+ this . cpuThrottlingSelect = MobileThrottling . ThrottlingManager . throttlingManager ( ) . createCPUThrottlingSelector ( ) ;
1353+ cpuThrottlingPane . append ( this . cpuThrottlingSelect . control . element ) ;
13531354
1354- this . settingsPane . append ( UI . SettingsUI . createSettingCheckbox (
1355- this . captureLayersAndPicturesSetting . title ( ) , this . captureLayersAndPicturesSetting ,
1356- i18nString ( UIStrings . capturesAdvancedPaint ) ) ) ;
1355+ this . settingsPane . append ( UI . SettingsUI . createSettingCheckbox (
1356+ this . captureLayersAndPicturesSetting . title ( ) , this . captureLayersAndPicturesSetting ,
1357+ i18nString ( UIStrings . capturesAdvancedPaint ) ) ) ;
13571358
1358- const networkThrottlingPane = this . settingsPane . createChild ( 'div' ) ;
1359- networkThrottlingPane . append ( i18nString ( UIStrings . network ) ) ;
1360- networkThrottlingPane . append ( this . createNetworkConditionsSelectToolbarItem ( ) . element ) ;
1359+ const networkThrottlingPane = this . settingsPane . createChild ( 'div' ) ;
1360+ networkThrottlingPane . append ( i18nString ( UIStrings . network ) ) ;
1361+ networkThrottlingPane . append ( this . createNetworkConditionsSelectToolbarItem ( ) . element ) ;
13611362
1362- this . settingsPane . append ( UI . SettingsUI . createSettingCheckbox (
1363- this . captureSelectorStatsSetting . title ( ) , this . captureSelectorStatsSetting ,
1364- i18nString ( UIStrings . capturesSelectorStats ) ) ) ;
1363+ this . settingsPane . append ( UI . SettingsUI . createSettingCheckbox (
1364+ this . captureSelectorStatsSetting . title ( ) , this . captureSelectorStatsSetting ,
1365+ i18nString ( UIStrings . capturesSelectorStats ) ) ) ;
1366+ }
13651367
13661368 const thirdPartyCheckbox =
13671369 this . createSettingCheckbox ( this . #thirdPartyTracksSetting, i18nString ( UIStrings . showDataAddedByExtensions ) ) ;
@@ -1630,7 +1632,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
16301632 }
16311633
16321634 private updateSettingsPaneVisibility ( ) : void {
1633- if ( isNode || isReactNative ) {
1635+ if ( isNode ) {
16341636 return ;
16351637 }
16361638 if ( this . showSettingsPaneSetting . get ( ) ) {
0 commit comments