forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove single view assumptions from
window.dart
(flutter#38453)
* Refactor `window.dart` * Remove single window assumption from platform dispatcher * Expose viewId * Remove FlutterWindow from web_ui * Refactor EngineFlutterWindow to inherit from FlutterView * Rename window property * Undo Iterable -> Map conversion * Add window and deprecate it so that the change isn't breaking * Name resolution * Revisions * Doc changes * Refactor deprecation message * Newline * Expose getViewById, hide map interface * Fix compilaiton errors * Introduce addView API * Change deprecation message * Update lib/ui/window.dart Co-authored-by: Loïc Sharma <[email protected]> * Take greg's todos * Add mutual exclusion assertion * Fix trailing whitespace lint * Use only one property to store backing view * Add doc comment to view * Document view and window parameters in the constructor of ViewConfiguration * Sync web api * Refactor assertion * Improve deprecation message * Improve window documentation * Assert one of window/view is null in copyWith ViewConfiguration * Remove EngineFlutterWindowView * Make dartdoc happy * Refactor copyWith() * Change to internal map implementation * final private refactor Co-authored-by: Michael Goderbauer <[email protected]> * Deprecate window parameter in copyWith * Repl Window w/ View * Add tests for viewConfiguration * Make test descriptions better * Add ViewConfiguration initialization with window tests * Update lib/web_ui/lib/src/engine/window.dart Co-authored-by: David Iglesias <[email protected]> * Refactor TODO message * Add expectation :) * Fix viewId in window.dart * Remove double deprecation access * punctuation Co-authored-by: Loïc Sharma <[email protected]> * Add kSingletonWindowID const Co-authored-by: a-wallen <[email protected]> Co-authored-by: Loïc Sharma <[email protected]> Co-authored-by: Michael Goderbauer <[email protected]> Co-authored-by: David Iglesias <[email protected]>
- Loading branch information
1 parent
a9ea00e
commit 8780330
Showing
10 changed files
with
187 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.