1. 09 Jun, 2023 1 commit
    • Tong Mu's avatar
      Remove single view assumption from MouseTracker, and unify its hit testing code flow (#127060) · ab3c5bfc
      Tong Mu authored
      This is a refactor to make `MouseTracker` use the same callback for both kinds of device update. Instead of using two different callbacks for the two device updating methods, `MouseTracker` now receives a hit testing callback at construction, which is the same hit testing method as the one used for other gestures.
      
      This PR not only makes the code cleaner, but also removes the single view assumption from `MouseTracker`, whose code no longer refers to `RendererBinding.renderView`. In the future, we only need to modify `hitTest` (which we will have to do to support gestures for multi-view anyway) to make mouse tracker support multi-view.
      ab3c5bfc
  2. 25 May, 2022 1 commit
  3. 14 Apr, 2022 1 commit
  4. 26 Jan, 2022 1 commit
  5. 08 Jul, 2021 1 commit
  6. 21 May, 2021 1 commit
  7. 14 May, 2021 1 commit
  8. 13 May, 2021 1 commit
  9. 04 May, 2021 2 commits
  10. 26 Apr, 2021 1 commit
  11. 23 Apr, 2021 1 commit
  12. 21 Apr, 2021 1 commit
  13. 26 Mar, 2021 1 commit
  14. 12 Mar, 2021 1 commit
  15. 11 Feb, 2021 1 commit
  16. 17 Nov, 2020 1 commit
  17. 05 Oct, 2020 1 commit
  18. 03 Oct, 2020 1 commit
  19. 24 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] register service worker after first frame event (#66082) · 90d83e37
      Jonah Williams authored
      Registering the service worker immediately after the documented has loaded may cause SW initialization to compete with framework initialization. It was recommended to us that we defer the service worker setup until after the framework is done with setup, which should be sometime after the first frame.
      
      To implement this, I augmented the binding setup to dispatch an event on the document after the binding has initialized. I don't see any obvious risks with this setup.
      
      Fixes #66066
      90d83e37
  20. 20 Aug, 2020 1 commit