Skip to content

Commit

Permalink
Bug 1907663 - Add scale factor fields to gfx (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored Jul 25, 2024
1 parent dcdbfbb commit 5fd0d85
Show file tree
Hide file tree
Showing 19 changed files with 223 additions and 0 deletions.
12 changes: 12 additions & 0 deletions schemas/telemetry/bhr/bhr.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1167,6 +1175,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/crash/crash.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/dnssec-study-v1/dnssec-study-v1.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/event/event.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/first-shutdown/first-shutdown.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1180,6 +1188,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/heartbeat/heartbeat.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1174,6 +1182,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/main/main.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1180,6 +1188,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/modules/modules.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/new-profile/new-profile.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/saved-session/saved-session.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1180,6 +1188,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/shield-icq-v1/shield-icq-v1.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/testpilot/testpilot.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
12 changes: 12 additions & 0 deletions schemas/telemetry/uninstall/uninstall.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1167,6 +1175,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,14 @@
"monitors": {
"items": {
"properties": {
"contentsScaleFactor": {
"description": "The number of device pixels per desktop pixel for this screen.",
"type": "number"
},
"defaultCSSScaleFactor": {
"description": "The default number of device pixels per unscaled CSS pixel for this screen.",
"type": "number"
},
"pseudoDisplay": {
"type": "boolean"
},
Expand All @@ -1166,6 +1174,10 @@
"type": "object"
},
"type": "array"
},
"textScaleFactor": {
"description": "Text scale supported by GTK and Windows. 1 corresponds to 100%.",
"type": "number"
}
},
"type": "object"
Expand Down
Loading

0 comments on commit 5fd0d85

Please sign in to comment.