Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[web] Hook the new JS API to the FlutterViewManager #48283

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Nov 21, 2023

  • Auto-generate view IDs.
  • Views don't auto-register/auto-unregister anymore.
  • Remove EnginePlatformDispatcher.registerView/unregisterView methods.
  • Add FlutterViewManager.createAndRegisterView/disposeAndUnregisterView/dispose methods.
  • Hook the addView/removeView JS APIs to FlutterViewManager.

@mdebbar mdebbar requested a review from ditman November 21, 2023 20:08
@github-actions github-actions bot added the platform-web Code specifically for the web engine label Nov 21, 2023
Copy link
Contributor

@harryterkelsen harryterkelsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 22, 2023
@auto-submit auto-submit bot merged commit 5733891 into flutter:main Nov 22, 2023
24 checks passed
@mdebbar mdebbar deleted the hook_view_js_api branch November 22, 2023 21:29
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 22, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 23, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 23, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 23, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 23, 2023
…138954)

flutter/engine@f331e0a...bec0dac

2023-11-23 [email protected] Fix not being able to hide iOS status bar via setEnabledSystemUIMode (flutter/engine#48271)
2023-11-22 [email protected] [web] Hook the new JS API to the FlutterViewManager (flutter/engine#48283)
2023-11-22 [email protected] Roll Skia from 3a79d7a618aa to 5606ef899116 (1 revision) (flutter/engine#48331)
2023-11-22 [email protected] Fix Share Screen Crash on iPad (flutter/engine#48220)
2023-11-22 [email protected] Delete unused/test only code from FML (flutter/engine#48327)
2023-11-22 [email protected] Roll Skia from 30ecaac60b47 to 3a79d7a618aa (1 revision) (flutter/engine#48328)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
harryterkelsen pushed a commit to harryterkelsen/engine that referenced this pull request Nov 27, 2023
- Auto-generate view IDs.
- Views don't auto-register/auto-unregister anymore.
- Remove `EnginePlatformDispatcher.registerView/unregisterView` methods.
- Add `FlutterViewManager.createAndRegisterView/disposeAndUnregisterView/dispose` methods.
- Hook the `addView`/`removeView` JS APIs to `FlutterViewManager`.
caseycrogers pushed a commit to caseycrogers/flutter that referenced this pull request Dec 29, 2023
…lutter#138954)

flutter/engine@f331e0a...bec0dac

2023-11-23 [email protected] Fix not being able to hide iOS status bar via setEnabledSystemUIMode (flutter/engine#48271)
2023-11-22 [email protected] [web] Hook the new JS API to the FlutterViewManager (flutter/engine#48283)
2023-11-22 [email protected] Roll Skia from 3a79d7a618aa to 5606ef899116 (1 revision) (flutter/engine#48331)
2023-11-22 [email protected] Fix Share Screen Crash on iPad (flutter/engine#48220)
2023-11-22 [email protected] Delete unused/test only code from FML (flutter/engine#48327)
2023-11-22 [email protected] Roll Skia from 30ecaac60b47 to 3a79d7a618aa (1 revision) (flutter/engine#48328)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants