Commit 8780330
Remove single view assumptions from
* 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]>window.dart (flutter#38453)1 parent a9ea00e commit 8780330
File tree
10 files changed
+187
-108
lines changed- lib
- ui
- web_ui
- lib
- src/engine
- test/engine
- testing
- dart
- scenario_app/lib/src
10 files changed
+187
-108
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
1292 | 1296 | | |
1293 | | - | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
1294 | 1304 | | |
1295 | 1305 | | |
1296 | 1306 | | |
| |||
1300 | 1310 | | |
1301 | 1311 | | |
1302 | 1312 | | |
1303 | | - | |
| 1313 | + | |
| 1314 | + | |
1304 | 1315 | | |
1305 | 1316 | | |
1306 | 1317 | | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
1307 | 1324 | | |
1308 | 1325 | | |
1309 | 1326 | | |
| |||
1315 | 1332 | | |
1316 | 1333 | | |
1317 | 1334 | | |
| 1335 | + | |
1318 | 1336 | | |
1319 | | - | |
| 1337 | + | |
1320 | 1338 | | |
1321 | 1339 | | |
1322 | 1340 | | |
| |||
1329 | 1347 | | |
1330 | 1348 | | |
1331 | 1349 | | |
1332 | | - | |
1333 | | - | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
1334 | 1361 | | |
1335 | | - | |
1336 | | - | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1337 | 1366 | | |
1338 | 1367 | | |
1339 | 1368 | | |
| |||
1427 | 1456 | | |
1428 | 1457 | | |
1429 | 1458 | | |
1430 | | - | |
| 1459 | + | |
1431 | 1460 | | |
1432 | 1461 | | |
1433 | 1462 | | |
| |||
1666 | 1695 | | |
1667 | 1696 | | |
1668 | 1697 | | |
1669 | | - | |
| 1698 | + | |
1670 | 1699 | | |
1671 | 1700 | | |
1672 | 1701 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
281 | 284 | | |
282 | 285 | | |
283 | 286 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
| 287 | + | |
317 | 288 | | |
318 | 289 | | |
319 | 290 | | |
| |||
328 | 299 | | |
329 | 300 | | |
330 | 301 | | |
331 | | - | |
| 302 | + | |
332 | 303 | | |
333 | 304 | | |
334 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
194 | 200 | | |
195 | 201 | | |
196 | 202 | | |
| |||
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
203 | | - | |
| 209 | + | |
| 210 | + | |
204 | 211 | | |
205 | 212 | | |
206 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
207 | 220 | | |
208 | 221 | | |
209 | 222 | | |
| |||
214 | 227 | | |
215 | 228 | | |
216 | 229 | | |
| 230 | + | |
217 | 231 | | |
218 | | - | |
| 232 | + | |
219 | 233 | | |
220 | 234 | | |
221 | 235 | | |
| |||
228 | 242 | | |
229 | 243 | | |
230 | 244 | | |
231 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
232 | 253 | | |
233 | 254 | | |
234 | 255 | | |
| |||
241 | 262 | | |
242 | 263 | | |
243 | 264 | | |
244 | | - | |
| 265 | + | |
245 | 266 | | |
246 | 267 | | |
247 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
| 141 | + | |
| 142 | + | |
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
| |||
478 | 477 | | |
479 | 478 | | |
480 | 479 | | |
481 | | - | |
482 | | - | |
| 480 | + | |
| 481 | + | |
483 | 482 | | |
484 | | - | |
| 483 | + | |
485 | 484 | | |
486 | 485 | | |
487 | 486 | | |
| |||
568 | 567 | | |
569 | 568 | | |
570 | 569 | | |
571 | | - | |
572 | | - | |
| 570 | + | |
| 571 | + | |
573 | 572 | | |
574 | | - | |
| 573 | + | |
575 | 574 | | |
576 | 575 | | |
577 | 576 | | |
| |||
1160 | 1159 | | |
1161 | 1160 | | |
1162 | 1161 | | |
1163 | | - | |
| 1162 | + | |
1164 | 1163 | | |
1165 | 1164 | | |
1166 | 1165 | | |
| |||
0 commit comments