chrome-devtools-frontend 1.0.1657110 → 1.0.1660788
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/devtools-ux-writing-refactor/SKILL.md +125 -0
- package/.agents/skills/migrate-chromium-test/SKILL.md +15 -70
- package/.agents/skills/repro-flaky-tests/SKILL.md +53 -0
- package/.agents/skills/ui-eng-vision-orchestrator/SKILL.md +37 -18
- package/.agents/skills/version-control/SKILL.md +8 -1
- package/AUTHORS +1 -0
- package/SECURITY.md +3 -0
- package/docs/get_the_code.md +6 -0
- package/front_end/Images/src/ads.svg +1 -0
- package/front_end/Tests.js +6 -6
- package/front_end/core/common/Gzip.ts +12 -5
- package/front_end/core/common/ResourceType.ts +19 -19
- package/front_end/core/common/Revealer.ts +15 -15
- package/front_end/core/common/SettingRegistration.ts +19 -19
- package/front_end/core/host/AidaClient.ts +35 -9
- package/front_end/core/host/GdpClient.ts +10 -7
- package/front_end/core/platform/StringUtilities.ts +35 -0
- package/front_end/core/sdk/AccessibilityModel.snapshot.txt +17 -0
- package/front_end/core/sdk/AccessibilityModel.ts +132 -2
- package/front_end/core/sdk/CPUThrottlingManager.ts +8 -5
- package/front_end/core/sdk/CSSMetadata.ts +110 -16
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +2 -5
- package/front_end/core/sdk/ConsoleModel.ts +5 -5
- package/front_end/core/sdk/DOMDebuggerModel.ts +5 -1
- package/front_end/core/sdk/DOMModel.ts +32 -18
- package/front_end/core/sdk/NetworkManager.ts +58 -14
- package/front_end/core/sdk/NetworkRequest.ts +37 -1
- package/front_end/core/sdk/OverlayModel.ts +45 -6
- package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
- package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
- package/front_end/core/sdk/ServerTiming.ts +17 -13
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +4 -2
- package/front_end/core/sdk/ServiceWorkerManager.ts +19 -5
- package/front_end/core/sdk/TargetManager.ts +10 -1
- package/front_end/core/sdk/TraceObject.ts +4 -2
- package/front_end/core/sdk/sdk-meta.ts +170 -0
- package/front_end/design_system_tokens.css +0 -5
- package/front_end/entrypoints/devtools_app/devtools_app.ts +1 -1
- package/front_end/entrypoints/formatter_worker/CSSFormatter.ts +13 -4
- package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.ts +5 -2
- package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +23 -4
- package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +33 -10
- package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +8 -3
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +4 -4
- package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +2 -2
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +36 -37
- package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +15 -33
- package/front_end/entrypoints/js_app/js_app.ts +6 -5
- package/front_end/entrypoints/main/GlobalAiButton.ts +4 -4
- package/front_end/entrypoints/main/MainImpl.ts +25 -55
- package/front_end/entrypoints/main/main-meta.ts +50 -50
- package/front_end/entrypoints/node_app/app/NodeConnectionsPanel.ts +5 -5
- package/front_end/entrypoints/node_app/app/NodeMain.ts +3 -3
- package/front_end/entrypoints/node_app/node_app.ts +10 -9
- package/front_end/entrypoints/worker_app/WorkerMain.ts +1 -1
- package/front_end/foundation/Universe.ts +76 -6
- package/front_end/generated/InspectorBackendCommands.ts +3 -3
- package/front_end/generated/SupportedCSSProperties.js +19 -12
- package/front_end/generated/protocol.ts +7 -1
- package/front_end/models/ai_assistance/AiConversation.ts +19 -17
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +37 -14
- package/front_end/models/ai_assistance/AiUtils.ts +38 -42
- package/front_end/models/ai_assistance/agents/AiAgent.ts +5 -1
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +3 -2
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +2 -1
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +7 -5
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +270 -286
- package/front_end/models/ai_assistance/data_formatters/UnitFormatters.ts +20 -0
- package/front_end/models/ai_assistance/performance/AICallTree.ts +3 -1
- package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +3 -2
- package/front_end/models/autofill_manager/AutofillManager.ts +3 -1
- package/front_end/models/bindings/CSSWorkspaceBinding.ts +8 -5
- package/front_end/models/bindings/CompilerScriptMapping.ts +2 -1
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +15 -16
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +6 -4
- package/front_end/models/bindings/FileUtils.ts +11 -12
- package/front_end/models/bindings/NetworkProject.ts +4 -0
- package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -1
- package/front_end/models/bindings/ResourceUtils.ts +1 -1
- package/front_end/models/bindings/SASSSourceMapping.ts +8 -5
- package/front_end/models/emulation/DeviceModeModel.ts +14 -14
- package/front_end/models/emulation/EmulatedDevices.ts +392 -11
- package/front_end/models/extensions/ExtensionAPI.ts +6 -6
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +13 -12
- package/front_end/models/issues_manager/BounceTrackingIssue.ts +1 -1
- package/front_end/models/issues_manager/ClientHintIssue.ts +1 -1
- package/front_end/models/issues_manager/ConnectionAllowlistIssue.ts +1 -1
- package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +7 -7
- package/front_end/models/issues_manager/CookieDeprecationMetadataIssue.ts +2 -2
- package/front_end/models/issues_manager/CookieIssue.ts +6 -7
- package/front_end/models/issues_manager/CorsIssue.ts +3 -3
- package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +2 -2
- package/front_end/models/issues_manager/DeprecationIssue.ts +3 -3
- package/front_end/models/issues_manager/EmailVerificationRequestIssue.ts +1 -1
- package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +1 -1
- package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.ts +1 -1
- package/front_end/models/issues_manager/GenericIssue.ts +7 -7
- package/front_end/models/issues_manager/HeavyAdIssue.ts +3 -3
- package/front_end/models/issues_manager/Issue.ts +8 -8
- package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
- package/front_end/models/issues_manager/PartitioningBlobURLIssue.ts +3 -3
- package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
- package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +2 -2
- package/front_end/models/issues_manager/SelectivePermissionsInterventionIssue.ts +2 -2
- package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +2 -2
- package/front_end/models/issues_manager/SharedDictionaryIssue.ts +1 -1
- package/front_end/models/issues_manager/UnencodedDigestIssue.ts +3 -3
- package/front_end/models/javascript_metadata/NativeFunctions.js +5 -1
- package/front_end/models/stack_trace/StackTraceModel.ts +3 -3
- package/front_end/models/text_utils/ContentData.ts +27 -0
- package/front_end/models/trace/helpers/SamplesIntegrator.ts +21 -5
- package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +29 -14
- package/front_end/models/web_mcp/WebMCPModel.ts +24 -6
- package/front_end/models/workspace/IgnoreListManager.ts +6 -6
- package/front_end/models/workspace/UISourceCode.ts +3 -3
- package/front_end/models/workspace_diff/WorkspaceDiff.ts +23 -12
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +25 -22
- package/front_end/panels/ai_assistance/ExportConversation.ts +3 -4
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +3 -3
- package/front_end/panels/ai_assistance/components/ChatInput.ts +2 -2
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +7 -0
- package/front_end/panels/ai_assistance/components/DisabledWidget.ts +2 -2
- package/front_end/panels/animation/AnimationTimeline.ts +17 -19
- package/front_end/panels/animation/AnimationUI.ts +5 -5
- package/front_end/panels/animation/animation-meta.ts +2 -2
- package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -4
- package/front_end/panels/application/BackgroundServiceView.ts +2 -1
- package/front_end/panels/application/DeviceBoundSessionsView.ts +2 -6
- package/front_end/panels/application/IndexedDBViews.ts +245 -262
- package/front_end/panels/application/OpenedWindowDetailsView.ts +1 -1
- package/front_end/panels/application/ResourcesPanel.ts +9 -2
- package/front_end/panels/application/ServiceWorkersView.ts +252 -211
- package/front_end/panels/application/StorageView.ts +97 -33
- package/front_end/panels/application/WebMCPView.ts +15 -1
- package/front_end/panels/application/components/AdsView.ts +1 -1
- package/front_end/panels/application/indexedDBViews.css +38 -9
- package/front_end/panels/application/preloading/helper/PreloadingForward.ts +2 -1
- package/front_end/panels/application/resourcesSidebar.css +5 -0
- package/front_end/panels/application/storageView.css +26 -9
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +5 -1
- package/front_end/panels/browser_debugger/browser_debugger-meta.ts +8 -6
- package/front_end/panels/common/DOMLinkifier.ts +1 -1
- package/front_end/panels/common/ExtensionServer.ts +119 -14
- package/front_end/panels/console/ConsoleContextSelector.ts +4 -4
- package/front_end/panels/console/ConsolePinPane.ts +12 -12
- package/front_end/panels/console/ConsolePrompt.ts +6 -6
- package/front_end/panels/console/ConsoleSidebar.ts +7 -7
- package/front_end/panels/console/ConsoleView.ts +45 -44
- package/front_end/panels/console/ConsoleViewMessage.ts +40 -40
- package/front_end/panels/console/SymbolizedErrorWidget.ts +2 -1
- package/front_end/panels/console/console-meta.ts +34 -34
- package/front_end/panels/console_counters/WarningErrorCounter.ts +2 -2
- package/front_end/panels/coverage/CoverageListView.ts +28 -28
- package/front_end/panels/coverage/CoverageModel.ts +2 -1
- package/front_end/panels/coverage/CoverageView.ts +23 -23
- package/front_end/panels/coverage/coverage-meta.ts +5 -5
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +36 -36
- package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -1
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewStartView.ts +6 -6
- package/front_end/panels/css_overview/CSSOverviewUnusedDeclarations.ts +6 -6
- package/front_end/panels/css_overview/css_overview-meta.ts +2 -2
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +20 -21
- package/front_end/panels/developer_resources/DeveloperResourcesView.ts +6 -8
- package/front_end/panels/developer_resources/developer_resources-meta.ts +2 -2
- package/front_end/panels/elements/AccessibilityTreeUtils.ts +8 -102
- package/front_end/panels/elements/AccessibilityTreeView.ts +163 -70
- package/front_end/panels/elements/ElementsPanel.ts +17 -11
- package/front_end/panels/elements/ElementsTreeElement.ts +49 -2
- package/front_end/panels/elements/ElementsTreeOutline.ts +4 -4
- package/front_end/panels/elements/LayoutPane.ts +1 -1
- package/front_end/panels/elements/MetricsSidebarPane.ts +100 -34
- package/front_end/panels/elements/StylePropertiesSection.ts +2 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -2
- package/front_end/panels/elements/StylesSidebarPane.ts +1 -1
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +7 -18
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -2
- package/front_end/panels/elements/components/QueryContainer.ts +1 -1
- package/front_end/panels/issues/AffectedDirectivesView.ts +1 -1
- package/front_end/panels/issues/AffectedResourcesView.ts +2 -1
- package/front_end/panels/layer_viewer/LayerViewHost.ts +1 -1
- package/front_end/panels/media/EventDisplayTable.ts +2 -2
- package/front_end/panels/media/EventTimelineView.ts +4 -4
- package/front_end/panels/media/MainView.ts +4 -4
- package/front_end/panels/media/PlayerDetailView.ts +5 -5
- package/front_end/panels/media/PlayerListView.ts +1 -1
- package/front_end/panels/media/PlayerMessagesView.ts +12 -12
- package/front_end/panels/media/PlayerPropertiesView.ts +17 -17
- package/front_end/panels/network/NetworkDataGridNode.ts +124 -36
- package/front_end/panels/network/NetworkLogView.ts +11 -2
- package/front_end/panels/network/NetworkLogViewColumns.ts +18 -0
- package/front_end/panels/network/NetworkPanel.ts +2 -1
- package/front_end/panels/network/NetworkWaterfallColumn.ts +1 -3
- package/front_end/panels/network/RequestConditionsDrawer.ts +2 -2
- package/front_end/panels/network/RequestPayloadView.ts +53 -7
- package/front_end/panels/network/RequestPreviewView.ts +7 -1
- package/front_end/panels/network/components/ResponseHeaderSection.ts +1 -1
- package/front_end/panels/network/forward/UIFilter.ts +1 -0
- package/front_end/panels/network/networkPanel.css +1 -0
- package/front_end/panels/network/networkTimingTable.css +1 -1
- package/front_end/panels/network/requestPayloadView.css +10 -0
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +12 -12
- package/front_end/panels/performance_monitor/performance_monitor-meta.ts +7 -7
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +2 -2
- package/front_end/panels/profiler/HeapProfileView.ts +563 -51
- package/front_end/panels/profiler/HeapSnapshotView.ts +15 -9
- package/front_end/panels/profiler/ProfilesPanel.ts +13 -7
- package/front_end/panels/profiler/WritableProfileHeader.ts +152 -0
- package/front_end/panels/profiler/profiler.ts +2 -2
- package/front_end/panels/protocol_monitor/JSONEditor.ts +10 -10
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +28 -32
- package/front_end/panels/protocol_monitor/protocol_monitor-meta.ts +1 -1
- package/front_end/panels/recorder/RecorderController.ts +15 -15
- package/front_end/panels/recorder/RecorderEvents.ts +8 -0
- package/front_end/panels/recorder/components/CreateRecordingView.ts +11 -11
- package/front_end/panels/recorder/components/ExtensionView.ts +74 -83
- package/front_end/panels/recorder/components/RecordingListView.ts +3 -3
- package/front_end/panels/recorder/components/RecordingView.ts +13 -10
- package/front_end/panels/recorder/components/ReplaySection.ts +9 -9
- package/front_end/panels/recorder/components/StepEditor.ts +352 -321
- package/front_end/panels/recorder/components/StepView.ts +36 -37
- package/front_end/panels/recorder/components/recordingView.css +1 -1
- package/front_end/panels/recorder/models/RecorderSettings.ts +2 -2
- package/front_end/panels/recorder/recorder-meta.ts +7 -7
- package/front_end/panels/screencast/ScreencastApp.ts +1 -1
- package/front_end/panels/screencast/ScreencastView.ts +12 -12
- package/front_end/panels/search/SearchResultsPane.ts +4 -4
- package/front_end/panels/search/SearchView.ts +20 -20
- package/front_end/panels/security/SecurityModel.ts +7 -7
- package/front_end/panels/security/SecurityPanel.ts +99 -107
- package/front_end/panels/security/SecurityPanelSidebar.ts +7 -7
- package/front_end/panels/security/security-meta.ts +2 -2
- package/front_end/panels/sensors/LocationsSettingsTab.ts +19 -19
- package/front_end/panels/sensors/SensorsView.ts +27 -27
- package/front_end/panels/sensors/sensors-meta.ts +13 -167
- package/front_end/panels/settings/AISettingsTab.ts +98 -56
- package/front_end/panels/settings/EditFileSystemView.ts +2 -2
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +20 -20
- package/front_end/panels/settings/KeybindsSettingsTab.ts +20 -21
- package/front_end/panels/settings/SettingsScreen.ts +11 -11
- package/front_end/panels/settings/WorkspaceSettingsTab.ts +5 -5
- package/front_end/panels/settings/components/SyncSection.ts +12 -12
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +13 -13
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +31 -31
- package/front_end/panels/settings/emulation/emulation-meta.ts +1 -1
- package/front_end/panels/settings/settings-meta.ts +14 -14
- package/front_end/panels/sources/NavigatorView.ts +7 -6
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +83 -37
- package/front_end/panels/sources/SourcesNavigator.ts +20 -18
- package/front_end/panels/sources/SourcesView.ts +10 -1
- package/front_end/panels/sources/scopeChainSidebarPane.css +12 -4
- package/front_end/panels/sources/sources-meta.ts +4 -4
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +5 -2
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +2 -1
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +2 -1
- package/front_end/panels/timeline/TimelineFlameChartView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +2 -1
- package/front_end/panels/timeline/TimelineUIUtils.ts +5 -2
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +4 -2
- package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +4 -2
- package/front_end/panels/timeline/components/insights/ImageRef.ts +2 -1
- package/front_end/panels/utils/utils.ts +7 -3
- package/front_end/panels/web_audio/WebAudioView.ts +17 -18
- package/front_end/panels/web_audio/web_audio-meta.ts +3 -3
- package/front_end/panels/webauthn/WebauthnPane.ts +10 -10
- package/front_end/panels/whats_new/ReleaseNoteView.ts +1 -1
- package/front_end/panels/whats_new/whats_new-meta.ts +11 -11
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/lit/lib/async-directive.d.ts +2 -1
- package/front_end/third_party/lit/lib/async-directive.js +1 -1
- package/front_end/third_party/lit/lib/async-directive.js.map +1 -1
- package/front_end/third_party/lit/lib/decorators.d.ts +2 -1
- package/front_end/third_party/lit/lib/decorators.js.map +1 -1
- package/front_end/third_party/lit/lib/directive.d.ts +2 -1
- package/front_end/third_party/lit/lib/directive.js.map +1 -1
- package/front_end/third_party/lit/lib/directives.d.ts +2 -1
- package/front_end/third_party/lit/lib/directives.js +8 -8
- package/front_end/third_party/lit/lib/directives.js.map +1 -1
- package/front_end/third_party/lit/lib/lit.d.ts +2 -1
- package/front_end/third_party/lit/lib/lit.js +1 -1
- package/front_end/third_party/lit/lib/lit.js.map +1 -1
- package/front_end/third_party/lit/lib/static-html.d.ts +2 -1
- package/front_end/third_party/lit/lib/static-html.js +1 -1
- package/front_end/third_party/lit/lib/static-html.js.map +1 -1
- package/front_end/third_party/lit/package.json +2 -2
- package/front_end/third_party/lit/rebuild.sh +1 -1
- package/front_end/third_party/lit/src/async-directive.ts +5 -0
- package/front_end/ui/components/dialogs/Dialog.ts +1 -1
- package/front_end/ui/components/dialogs/ShortcutDialog.ts +1 -1
- package/front_end/ui/components/dialogs/shortcutDialog.css +15 -12
- package/front_end/ui/components/diff_view/DiffView.ts +2 -2
- package/front_end/ui/components/issue_counter/IssueCounter.ts +3 -3
- package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +5 -5
- package/front_end/ui/components/lists/List.ts +2 -2
- package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -1
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +5 -5
- package/front_end/ui/components/settings/SettingCheckbox.ts +1 -1
- package/front_end/ui/components/snackbars/Snackbar.ts +1 -1
- package/front_end/ui/components/survey_link/SurveyLink.ts +3 -3
- package/front_end/ui/components/text_editor/config.ts +2 -2
- package/front_end/ui/components/tree_outline/TreeOutline.ts +34 -1
- package/front_end/ui/legacy/ReportView.ts +5 -0
- package/front_end/ui/legacy/Treeoutline.ts +18 -0
- package/front_end/ui/legacy/View.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +2 -0
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +8 -3
- package/front_end/ui/legacy/components/data_grid/data_grid.ts +1 -0
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +100 -36
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +7 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +5 -0
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +4 -2
- package/front_end/ui/legacy/inspectorCommon.css +5 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +4 -0
- package/mcp/mcp.ts +2 -0
- package/package.json +4 -4
- package/front_end/panels/profiler/ProfileView.ts +0 -610
|
@@ -16,8 +16,8 @@ import locationsSettingsTabStyles from './locationsSettingsTab.css.js';
|
|
|
16
16
|
|
|
17
17
|
const UIStrings = {
|
|
18
18
|
/**
|
|
19
|
-
* @description Title in the Locations
|
|
20
|
-
*has entered are stored.
|
|
19
|
+
* @description Title in the Locations settings tab, where custom geographic locations that the user
|
|
20
|
+
* has entered are stored.
|
|
21
21
|
*/
|
|
22
22
|
locations: 'Locations',
|
|
23
23
|
/**
|
|
@@ -25,15 +25,15 @@ const UIStrings = {
|
|
|
25
25
|
*/
|
|
26
26
|
locationName: 'Location name',
|
|
27
27
|
/**
|
|
28
|
-
* @description Abbreviation of latitude in Locations
|
|
28
|
+
* @description Abbreviation of latitude in the Locations settings tab of the Device toolbar.
|
|
29
29
|
*/
|
|
30
30
|
lat: 'Lat',
|
|
31
31
|
/**
|
|
32
|
-
* @description Abbreviation of longitude in Locations
|
|
32
|
+
* @description Abbreviation of longitude in the Locations settings tab of the Device toolbar.
|
|
33
33
|
*/
|
|
34
34
|
long: 'Long',
|
|
35
35
|
/**
|
|
36
|
-
* @description Text in Sensors
|
|
36
|
+
* @description Text in the Sensors view of the Device toolbar.
|
|
37
37
|
*/
|
|
38
38
|
timezoneId: 'Timezone ID',
|
|
39
39
|
/**
|
|
@@ -53,61 +53,61 @@ const UIStrings = {
|
|
|
53
53
|
*/
|
|
54
54
|
accuracy: 'Accuracy',
|
|
55
55
|
/**
|
|
56
|
-
* @description Error message in the Locations settings
|
|
56
|
+
* @description Error message in the Locations settings tab that declares the location name input must not be empty.
|
|
57
57
|
*/
|
|
58
|
-
locationNameCannotBeEmpty: 'Location name
|
|
58
|
+
locationNameCannotBeEmpty: 'Location name can’t be empty',
|
|
59
59
|
/**
|
|
60
|
-
* @description Error message in the Locations settings
|
|
60
|
+
* @description Error message in the Locations settings tab that declares the maximum length of the location name.
|
|
61
61
|
* @example {50} PH1
|
|
62
62
|
*/
|
|
63
63
|
locationNameMustBeLessThanS: 'Location name must be less than {PH1} characters',
|
|
64
64
|
/**
|
|
65
|
-
* @description Error message in the Locations settings
|
|
65
|
+
* @description Error message in the Locations settings tab that declares that the value for the latitude input must be a number.
|
|
66
66
|
*/
|
|
67
67
|
latitudeMustBeANumber: 'Latitude must be a number',
|
|
68
68
|
/**
|
|
69
|
-
* @description Error message in the Locations settings
|
|
69
|
+
* @description Error message in the Locations settings tab that declares the minimum value for the latitude input.
|
|
70
70
|
* @example {-90} PH1
|
|
71
71
|
*/
|
|
72
72
|
latitudeMustBeGreaterThanOrEqual: 'Latitude must be greater than or equal to {PH1}',
|
|
73
73
|
/**
|
|
74
|
-
* @description Error message in the Locations settings
|
|
74
|
+
* @description Error message in the Locations settings tab that declares the maximum value for the latitude input.
|
|
75
75
|
* @example {90} PH1
|
|
76
76
|
*/
|
|
77
77
|
latitudeMustBeLessThanOrEqualToS: 'Latitude must be less than or equal to {PH1}',
|
|
78
78
|
/**
|
|
79
|
-
* @description Error message in the Locations settings
|
|
79
|
+
* @description Error message in the Locations settings tab that declares that the value for the longitude input must be a number.
|
|
80
80
|
*/
|
|
81
81
|
longitudeMustBeANumber: 'Longitude must be a number',
|
|
82
82
|
/**
|
|
83
|
-
* @description Error message in the Locations settings
|
|
83
|
+
* @description Error message in the Locations settings tab that declares the minimum value for the longitude input.
|
|
84
84
|
* @example {-180} PH1
|
|
85
85
|
*/
|
|
86
86
|
longitudeMustBeGreaterThanOr: 'Longitude must be greater than or equal to {PH1}',
|
|
87
87
|
/**
|
|
88
|
-
* @description Error message in the Locations settings
|
|
88
|
+
* @description Error message in the Locations settings tab that declares the maximum value for the longitude input.
|
|
89
89
|
* @example {180} PH1
|
|
90
90
|
*/
|
|
91
91
|
longitudeMustBeLessThanOrEqualTo: 'Longitude must be less than or equal to {PH1}',
|
|
92
92
|
/**
|
|
93
|
-
* @description Error message in the Locations settings
|
|
93
|
+
* @description Error message in the Locations settings tab that declares timezone ID input invalid.
|
|
94
94
|
*/
|
|
95
95
|
timezoneIdMustContainAlphabetic: 'Timezone ID must contain alphabetic characters',
|
|
96
96
|
/**
|
|
97
|
-
* @description Error message in the Locations settings
|
|
97
|
+
* @description Error message in the Locations settings tab that declares locale input invalid.
|
|
98
98
|
*/
|
|
99
99
|
localeMustContainAlphabetic: 'Locale must contain alphabetic characters',
|
|
100
100
|
/**
|
|
101
|
-
* @description Error message in the Locations settings
|
|
101
|
+
* @description Error message in the Locations settings tab that declares that the value for the accuracy input must be a number.
|
|
102
102
|
*/
|
|
103
103
|
accuracyMustBeANumber: 'Accuracy must be a number',
|
|
104
104
|
/**
|
|
105
|
-
* @description Error message in the Locations settings
|
|
105
|
+
* @description Error message in the Locations settings tab that declares the minimum value for the accuracy input.
|
|
106
106
|
* @example {0} PH1
|
|
107
107
|
*/
|
|
108
108
|
accuracyMustBeGreaterThanOrEqual: 'Accuracy must be greater than or equal to {PH1}',
|
|
109
109
|
/**
|
|
110
|
-
* @description Text of add locations button in Locations
|
|
110
|
+
* @description Text of add locations button in the Locations settings tab of the Device toolbar.
|
|
111
111
|
*/
|
|
112
112
|
addLocation: 'Add location',
|
|
113
113
|
} as const;
|
|
@@ -20,11 +20,11 @@ import sensorsStyles from './sensors.css.js';
|
|
|
20
20
|
|
|
21
21
|
const UIStrings = {
|
|
22
22
|
/**
|
|
23
|
-
* @description Title for a group of cities
|
|
23
|
+
* @description Title for a group of cities.
|
|
24
24
|
*/
|
|
25
25
|
location: 'Location',
|
|
26
26
|
/**
|
|
27
|
-
* @description An option that appears in a drop-down to
|
|
27
|
+
* @description An option that appears in a drop-down to stop the GPS location of the user from being overridden.
|
|
28
28
|
*/
|
|
29
29
|
noOverride: 'No override',
|
|
30
30
|
/**
|
|
@@ -32,23 +32,23 @@ const UIStrings = {
|
|
|
32
32
|
*/
|
|
33
33
|
overrides: 'Overrides',
|
|
34
34
|
/**
|
|
35
|
-
* @description Text of button in Sensors
|
|
36
|
-
*where they can enter
|
|
35
|
+
* @description Text of button in the Sensors view, takes the user to the Locations settings tab
|
|
36
|
+
* where they can enter or edit custom locations.
|
|
37
37
|
*/
|
|
38
38
|
manage: 'Manage',
|
|
39
39
|
/**
|
|
40
|
-
* @description Aria-label for location manage button in Sensors
|
|
40
|
+
* @description Aria-label for location manage button in the Sensors view.
|
|
41
41
|
*/
|
|
42
42
|
manageTheListOfLocations: 'Manage the list of locations',
|
|
43
43
|
/**
|
|
44
44
|
* @description Option in a drop-down input for selecting the GPS location of the user. As an
|
|
45
|
-
*alternative to selecting a location from the list, the user can select this option and they are
|
|
46
|
-
*prompted to enter the details for a new custom location.
|
|
45
|
+
* alternative to selecting a location from the list, the user can select this option and they are
|
|
46
|
+
* prompted to enter the details for a new custom location.
|
|
47
47
|
*/
|
|
48
48
|
other: 'Other…',
|
|
49
49
|
/**
|
|
50
|
-
* @description Title of a section in a drop-down input that contains error locations,
|
|
51
|
-
*a location override that says
|
|
50
|
+
* @description Title of a section in a drop-down input that contains error locations, for example, to select
|
|
51
|
+
* a location override that says the location is not available. A noun.
|
|
52
52
|
*/
|
|
53
53
|
error: 'Error',
|
|
54
54
|
/**
|
|
@@ -57,17 +57,17 @@ const UIStrings = {
|
|
|
57
57
|
locationUnavailable: 'Location unavailable',
|
|
58
58
|
/**
|
|
59
59
|
* @description Tooltip text telling the user how to change the value of a latitude/longitude input
|
|
60
|
-
*text box.
|
|
61
|
-
*keyboard keys, depending on the user's settings.
|
|
60
|
+
* text box. Several shortcuts are provided for convenience. The placeholder can be different
|
|
61
|
+
* keyboard keys, depending on the user's settings.
|
|
62
62
|
* @example {Ctrl} PH1
|
|
63
63
|
*/
|
|
64
|
-
adjustWithMousewheelOrUpdownKeys: 'Adjust with mousewheel or up/down keys. {PH1}: ±10, Shift: ±1, Alt: ±0.01',
|
|
64
|
+
adjustWithMousewheelOrUpdownKeys: 'Adjust with mousewheel or up/down keys. {PH1}: ±10, Shift: ±1, Alt: ±0.01.',
|
|
65
65
|
/**
|
|
66
66
|
* @description Label for latitude of a GPS location.
|
|
67
67
|
*/
|
|
68
68
|
latitude: 'Latitude',
|
|
69
69
|
/**
|
|
70
|
-
* @description Label for
|
|
70
|
+
* @description Label for longitude of a GPS location.
|
|
71
71
|
*/
|
|
72
72
|
longitude: 'Longitude',
|
|
73
73
|
/**
|
|
@@ -79,11 +79,11 @@ const UIStrings = {
|
|
|
79
79
|
*/
|
|
80
80
|
locale: 'Locale',
|
|
81
81
|
/**
|
|
82
|
-
* @description Label for
|
|
82
|
+
* @description Label for accuracy of a GPS location.
|
|
83
83
|
*/
|
|
84
84
|
accuracy: 'Accuracy',
|
|
85
85
|
/**
|
|
86
|
-
* @description Label the orientation of a user's device
|
|
86
|
+
* @description Label for the orientation of a user's device, for example, tilt in 3D space.
|
|
87
87
|
*/
|
|
88
88
|
orientation: 'Orientation',
|
|
89
89
|
/**
|
|
@@ -91,45 +91,45 @@ const UIStrings = {
|
|
|
91
91
|
*/
|
|
92
92
|
off: 'Off',
|
|
93
93
|
/**
|
|
94
|
-
* @description Option that when chosen, allows the user to enter a custom orientation for the device
|
|
94
|
+
* @description Option that when chosen, allows the user to enter a custom orientation for the device, for example, tilt in 3D space.
|
|
95
95
|
*/
|
|
96
96
|
customOrientation: 'Custom orientation',
|
|
97
97
|
/**
|
|
98
98
|
* @description Warning to the user they should enable the device orientation override, in order to
|
|
99
|
-
*enable this input which allows them to interactively select orientation by dragging a 3D phone
|
|
100
|
-
*model.
|
|
99
|
+
* enable this input which allows them to interactively select orientation by dragging a 3D phone
|
|
100
|
+
* model.
|
|
101
101
|
*/
|
|
102
102
|
enableOrientationToRotate: 'Enable orientation to rotate',
|
|
103
103
|
/**
|
|
104
104
|
* @description Text telling the user how to use an input which allows them to interactively select
|
|
105
|
-
*orientation by dragging a 3D phone model.
|
|
105
|
+
* orientation by dragging a 3D phone model.
|
|
106
106
|
*/
|
|
107
107
|
shiftdragHorizontallyToRotate: 'Shift+drag horizontally to rotate around the y-axis',
|
|
108
108
|
/**
|
|
109
|
-
* @description Message in the Sensors
|
|
109
|
+
* @description Message in the Sensors view that is alerted (for screen readers) when the device orientation setting is changed.
|
|
110
110
|
* @example {180} PH1
|
|
111
111
|
* @example {-90} PH2
|
|
112
112
|
* @example {0} PH3
|
|
113
113
|
*/
|
|
114
114
|
deviceOrientationSetToAlphaSBeta: 'Device orientation set to alpha: {PH1}, beta: {PH2}, gamma: {PH3}',
|
|
115
115
|
/**
|
|
116
|
-
* @description Text of orientation reset button in Sensors
|
|
116
|
+
* @description Text of orientation reset button in the Sensors view of the Device toolbar.
|
|
117
117
|
*/
|
|
118
118
|
reset: 'Reset',
|
|
119
119
|
/**
|
|
120
|
-
* @description Aria-label for orientation reset button in Sensors
|
|
120
|
+
* @description Aria-label for orientation reset button in the Sensors view. Command.
|
|
121
121
|
*/
|
|
122
122
|
resetDeviceOrientation: 'Reset device orientation',
|
|
123
123
|
/**
|
|
124
|
-
* @description Description of the Touch select in Sensors
|
|
124
|
+
* @description Description of the Touch select in the Sensors view.
|
|
125
125
|
*/
|
|
126
126
|
forcesTouchInsteadOfClick: 'Forces touch instead of click',
|
|
127
127
|
/**
|
|
128
|
-
* @description Description of the Emulate Idle State select in Sensors
|
|
128
|
+
* @description Description of the Emulate Idle State select in the Sensors view.
|
|
129
129
|
*/
|
|
130
130
|
forcesSelectedIdleStateEmulation: 'Forces selected idle state emulation',
|
|
131
131
|
/**
|
|
132
|
-
* @description Description of the Emulate CPU Pressure State select in Sensors
|
|
132
|
+
* @description Description of the Emulate CPU Pressure State select in the Sensors view.
|
|
133
133
|
*/
|
|
134
134
|
forcesSelectedPressureStateEmulation: 'Forces selected pressure state emulation',
|
|
135
135
|
/**
|
|
@@ -154,12 +154,12 @@ const UIStrings = {
|
|
|
154
154
|
landscapeRight: 'Landscape right',
|
|
155
155
|
/**
|
|
156
156
|
* @description Drop-down input option for the orientation of a device in 3D space. Noun indicating
|
|
157
|
-
*the display of the device is pointing up.
|
|
157
|
+
* the display of the device is pointing up.
|
|
158
158
|
*/
|
|
159
159
|
displayUp: 'Display up',
|
|
160
160
|
/**
|
|
161
161
|
* @description Drop-down input option for the orientation of a device in 3D space. Noun indicating
|
|
162
|
-
*the display of the device is pointing down.
|
|
162
|
+
* the display of the device is pointing down.
|
|
163
163
|
*/
|
|
164
164
|
displayDown: 'Display down',
|
|
165
165
|
/**
|
|
@@ -10,113 +10,48 @@ import type * as Sensors from './sensors.js';
|
|
|
10
10
|
|
|
11
11
|
const UIStrings = {
|
|
12
12
|
/**
|
|
13
|
-
* @description Title of the Sensors
|
|
14
|
-
* settings,
|
|
13
|
+
* @description Title of the Sensors view. The Sensors view contains GPS, orientation sensors, touch
|
|
14
|
+
* settings, and more.
|
|
15
15
|
*/
|
|
16
16
|
sensors: 'Sensors',
|
|
17
17
|
/**
|
|
18
|
-
* @description A tag of Sensors
|
|
18
|
+
* @description A tag of the Sensors view that can be searched in the command menu.
|
|
19
19
|
*/
|
|
20
20
|
geolocation: 'geolocation',
|
|
21
21
|
/**
|
|
22
|
-
* @description A tag of Sensors
|
|
22
|
+
* @description A tag of the Sensors view that can be searched in the command menu.
|
|
23
23
|
*/
|
|
24
24
|
timezones: 'timezones',
|
|
25
25
|
/**
|
|
26
|
-
* @description Text in Sensors
|
|
26
|
+
* @description Text in the Sensors view of the Device toolbar.
|
|
27
27
|
*/
|
|
28
28
|
locale: 'locale',
|
|
29
29
|
/**
|
|
30
|
-
* @description A tag of Sensors
|
|
30
|
+
* @description A tag of the Sensors view that can be searched in the command menu.
|
|
31
31
|
*/
|
|
32
32
|
locales: 'locales',
|
|
33
33
|
/**
|
|
34
|
-
* @description A tag of Sensors
|
|
34
|
+
* @description A tag of the Sensors view that can be searched in the command menu.
|
|
35
35
|
*/
|
|
36
36
|
accelerometer: 'accelerometer',
|
|
37
37
|
/**
|
|
38
|
-
* @description A tag of Sensors
|
|
39
|
-
* orientation of a device (
|
|
38
|
+
* @description A tag of the Sensors view that can be searched in the command menu. Refers to the
|
|
39
|
+
* orientation of a device (for example, a phone) in 3D space, tilted right or left.
|
|
40
40
|
*/
|
|
41
41
|
deviceOrientation: 'device orientation',
|
|
42
42
|
/**
|
|
43
|
-
* @description Title of Locations settings. Refers to geographic locations for GPS.
|
|
43
|
+
* @description Title of the Locations settings tab. Refers to geographic locations for GPS.
|
|
44
44
|
*/
|
|
45
45
|
locations: 'Locations',
|
|
46
46
|
/**
|
|
47
|
-
* @description
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
touch: 'Touch',
|
|
51
|
-
/**
|
|
52
|
-
* @description Text in Sensors View of the Device Toolbar. Refers to device-based touch input,
|
|
53
|
-
*which means the input type will be 'touch' only if the device normally has touch input e.g. a
|
|
54
|
-
*phone or tablet.
|
|
55
|
-
*/
|
|
56
|
-
devicebased: 'Device-based',
|
|
57
|
-
/**
|
|
58
|
-
* @description Text in Sensors View of the Device Toolbar. Means that touch input will be forced
|
|
59
|
-
*on, even if the device type e.g. desktop computer does not normally have touch input.
|
|
60
|
-
*/
|
|
61
|
-
forceEnabled: 'Force enabled',
|
|
62
|
-
/**
|
|
63
|
-
* @description Title of a section option in Sensors tab for idle emulation. This is a command, to
|
|
64
|
-
*emulate the state of the 'Idle Detector'.
|
|
65
|
-
*/
|
|
66
|
-
emulateIdleDetectorState: 'Emulate Idle Detector state',
|
|
67
|
-
/**
|
|
68
|
-
* @description Title of an option in Sensors tab idle emulation drop-down. Turns off emulation of idle state.
|
|
69
|
-
*/
|
|
70
|
-
noIdleEmulation: 'No idle emulation',
|
|
71
|
-
/**
|
|
72
|
-
* @description Title of an option in Sensors tab idle emulation drop-down.
|
|
73
|
-
*/
|
|
74
|
-
userActiveScreenUnlocked: 'User active, screen unlocked',
|
|
75
|
-
/**
|
|
76
|
-
* @description Title of an option in Sensors tab idle emulation drop-down.
|
|
77
|
-
*/
|
|
78
|
-
userActiveScreenLocked: 'User active, screen locked',
|
|
79
|
-
/**
|
|
80
|
-
* @description Title of an option in Sensors tab idle emulation drop-down.
|
|
81
|
-
*/
|
|
82
|
-
userIdleScreenUnlocked: 'User idle, screen unlocked',
|
|
83
|
-
/**
|
|
84
|
-
* @description Title of an option in Sensors tab idle emulation drop-down.
|
|
85
|
-
*/
|
|
86
|
-
userIdleScreenLocked: 'User idle, screen locked',
|
|
87
|
-
/**
|
|
88
|
-
* @description Command that opens the Sensors view/tool. The sensors tool contains GPS,
|
|
89
|
-
* orientation sensors, touch settings, etc.
|
|
47
|
+
* @description Command that opens the Sensors view. The Sensors view contains GPS,
|
|
48
|
+
* orientation sensors, touch settings, and more.
|
|
90
49
|
*/
|
|
91
50
|
showSensors: 'Show Sensors',
|
|
92
51
|
/**
|
|
93
|
-
* @description Command that shows
|
|
52
|
+
* @description Command that shows the Locations settings tab.
|
|
94
53
|
*/
|
|
95
54
|
showLocations: 'Show Locations',
|
|
96
|
-
/**
|
|
97
|
-
* @description Text for the CPU Pressure type to simulate on a device.
|
|
98
|
-
*/
|
|
99
|
-
cpuPressure: 'CPU Pressure',
|
|
100
|
-
/**
|
|
101
|
-
* @description Title of an option in Sensors tab cpu pressure emulation drop-down. Turns off emulation of cpu pressure state.
|
|
102
|
-
*/
|
|
103
|
-
noPressureEmulation: 'No override',
|
|
104
|
-
/**
|
|
105
|
-
* @description An option that appears in a drop-down that represents the nominal state.
|
|
106
|
-
*/
|
|
107
|
-
nominal: 'Nominal',
|
|
108
|
-
/**
|
|
109
|
-
* @description An option that appears in a drop-down that represents the fair state.
|
|
110
|
-
*/
|
|
111
|
-
fair: 'Fair',
|
|
112
|
-
/**
|
|
113
|
-
* @description An option that appears in a drop-down that represents the serious state.
|
|
114
|
-
*/
|
|
115
|
-
serious: 'Serious',
|
|
116
|
-
/**
|
|
117
|
-
* @description An option that appears in a drop-down that represents the critical state.
|
|
118
|
-
*/
|
|
119
|
-
critical: 'Critical',
|
|
120
55
|
} as const;
|
|
121
56
|
const str_ = i18n.i18n.registerUIStrings('panels/sensors/sensors-meta.ts', UIStrings);
|
|
122
57
|
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
@@ -248,92 +183,3 @@ Common.Settings.registerSettingExtension({
|
|
|
248
183
|
},
|
|
249
184
|
],
|
|
250
185
|
});
|
|
251
|
-
|
|
252
|
-
Common.Settings.registerSettingExtension({
|
|
253
|
-
title: i18nLazyString(UIStrings.cpuPressure),
|
|
254
|
-
reloadRequired: true,
|
|
255
|
-
settingName: 'emulation.cpu-pressure',
|
|
256
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
257
|
-
defaultValue: 'none',
|
|
258
|
-
options: [
|
|
259
|
-
{
|
|
260
|
-
value: 'none',
|
|
261
|
-
title: i18nLazyString(UIStrings.noPressureEmulation),
|
|
262
|
-
text: i18nLazyString(UIStrings.noPressureEmulation),
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
value: 'nominal',
|
|
266
|
-
title: i18nLazyString(UIStrings.nominal),
|
|
267
|
-
text: i18nLazyString(UIStrings.nominal),
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
value: 'fair',
|
|
271
|
-
title: i18nLazyString(UIStrings.fair),
|
|
272
|
-
text: i18nLazyString(UIStrings.fair),
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
value: 'serious',
|
|
276
|
-
title: i18nLazyString(UIStrings.serious),
|
|
277
|
-
text: i18nLazyString(UIStrings.serious),
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
value: 'critical',
|
|
281
|
-
title: i18nLazyString(UIStrings.critical),
|
|
282
|
-
text: i18nLazyString(UIStrings.critical),
|
|
283
|
-
},
|
|
284
|
-
],
|
|
285
|
-
});
|
|
286
|
-
|
|
287
|
-
Common.Settings.registerSettingExtension({
|
|
288
|
-
title: i18nLazyString(UIStrings.touch),
|
|
289
|
-
reloadRequired: true,
|
|
290
|
-
settingName: 'emulation.touch',
|
|
291
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
292
|
-
defaultValue: 'none',
|
|
293
|
-
options: [
|
|
294
|
-
{
|
|
295
|
-
value: 'none',
|
|
296
|
-
title: i18nLazyString(UIStrings.devicebased),
|
|
297
|
-
text: i18nLazyString(UIStrings.devicebased),
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
value: 'force',
|
|
301
|
-
title: i18nLazyString(UIStrings.forceEnabled),
|
|
302
|
-
text: i18nLazyString(UIStrings.forceEnabled),
|
|
303
|
-
},
|
|
304
|
-
],
|
|
305
|
-
});
|
|
306
|
-
|
|
307
|
-
Common.Settings.registerSettingExtension({
|
|
308
|
-
title: i18nLazyString(UIStrings.emulateIdleDetectorState),
|
|
309
|
-
settingName: 'emulation.idle-detection',
|
|
310
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
311
|
-
defaultValue: 'none',
|
|
312
|
-
options: [
|
|
313
|
-
{
|
|
314
|
-
value: 'none',
|
|
315
|
-
title: i18nLazyString(UIStrings.noIdleEmulation),
|
|
316
|
-
text: i18nLazyString(UIStrings.noIdleEmulation),
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
value: '{\"isUserActive\":true,\"isScreenUnlocked\":true}',
|
|
320
|
-
title: i18nLazyString(UIStrings.userActiveScreenUnlocked),
|
|
321
|
-
text: i18nLazyString(UIStrings.userActiveScreenUnlocked),
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
value: '{\"isUserActive\":true,\"isScreenUnlocked\":false}',
|
|
325
|
-
title: i18nLazyString(UIStrings.userActiveScreenLocked),
|
|
326
|
-
text: i18nLazyString(UIStrings.userActiveScreenLocked),
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
value: '{\"isUserActive\":false,\"isScreenUnlocked\":true}',
|
|
330
|
-
title: i18nLazyString(UIStrings.userIdleScreenUnlocked),
|
|
331
|
-
text: i18nLazyString(UIStrings.userIdleScreenUnlocked),
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
value: '{\"isUserActive\":false,\"isScreenUnlocked\":false}',
|
|
335
|
-
title: i18nLazyString(UIStrings.userIdleScreenLocked),
|
|
336
|
-
text: i18nLazyString(UIStrings.userIdleScreenLocked),
|
|
337
|
-
},
|
|
338
|
-
],
|
|
339
|
-
});
|