Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/engine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8af10eb
Choose a base ref
...
head repository: flutter/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cecf5aa
Choose a head ref
  • 1 commit
  • 8 files changed
  • 1 contributor

Commits on Apr 26, 2024

  1. Move PointerDataPacketConverter from PlatformView to `RuntimeCont…

    …roller` (#51952)
    
    This is a refactor that moves the `PointerDataPacketConverter` from `PlatformView` to `RuntimeController`. 
    
    This change is made for the following reasons:
    - Currently, the pointer data conversion contains no platform specific logic (because the current converter's only responsibility is to make the event sequence conform Flutter's protocol). Therefore these logics should reside in a platform-independent place.
    - The converter typically converts one event to many. It's better to have this conversion later than earlier.
    - It removes a member from `PlatformView`, making it closer to a pure virtual class.
    
    The reason to choose `RuntimeController` as the destination is because `RuntimeController` manages a map for views, which is required for the converter to implement a later patch #51925.
    
    [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    dkwingsmt authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    cecf5aa View commit details
    Browse the repository at this point in the history
Loading