Remove unused physicalDepth code (#60152)
This commit is contained in:
@@ -86,22 +86,6 @@ class TestWindow implements Window {
|
||||
onMetricsChanged();
|
||||
}
|
||||
|
||||
@override
|
||||
double get physicalDepth => _physicalDepthTestValue ?? _window.physicalDepth;
|
||||
double _physicalDepthTestValue;
|
||||
/// Hides the real physical depth and reports the given
|
||||
/// [physicalDepthTestValue] instead.
|
||||
set physicalDepthTestValue (double physicalDepthTestValue) {
|
||||
_physicalDepthTestValue = physicalDepthTestValue;
|
||||
onMetricsChanged();
|
||||
}
|
||||
/// Deletes any existing test physical depth and returns to using the real
|
||||
/// physical depth.
|
||||
void clearPhysicalDepthTestValue() {
|
||||
_physicalDepthTestValue = null;
|
||||
onMetricsChanged();
|
||||
}
|
||||
|
||||
@override
|
||||
WindowPadding get viewInsets => _viewInsetsTestValue ?? _window.viewInsets;
|
||||
WindowPadding _viewInsetsTestValue;
|
||||
@@ -418,7 +402,6 @@ class TestWindow implements Window {
|
||||
clearLocalesTestValue();
|
||||
clearPaddingTestValue();
|
||||
clearPhysicalSizeTestValue();
|
||||
clearPhysicalDepthTestValue();
|
||||
clearSemanticsEnabledTestValue();
|
||||
clearTextScaleFactorTestValue();
|
||||
clearViewInsetsTestValue();
|
||||
|
||||
Reference in New Issue
Block a user