-
Notifications
You must be signed in to change notification settings - Fork 6k
Match PlatformConfiguration properties to PlatformDispatcher ones #39685
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/cc @ditman for web_ui changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The config code change, and exposing it through the platform dispatcher looks good, however the test for this looks a little bit weird to me? Isn't there a practical way of leveraging OOP more?
* Updated PlatformDispatcher to use PlatformConfiguration to back `nativeSpellCheckServiceDefined` and `brieflyShowPassword` * Updated web PlatformDispatcher/Configuration to match new API
… the same getters with exceptions.
44f618f
to
019c72c
Compare
test-exempt: code refactor with no semantic change |
…121365) * 2bc07cac7 Roll Skia from a321a8750271 to 1b2d815e9778 (5 revisions) (flutter/engine#39821) * 57cbf0858 Roll Skia from 1b2d815e9778 to fff6c987d803 (2 revisions) (flutter/engine#39823) * 2d2b51d69 Remove obsolete references in ViewConfiguration documentation (flutter/engine#39708) * cad5eec1b Match PlatformConfiguration properties to PlatformDispatcher ones (flutter/engine#39685)
…ones (flutter#39685)" This reverts commit cad5eec.
nativeSpellCheckServiceDefined
andbrieflyShowPassword
Resolves #120840
Pre-launch Checklist
///
).