-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AiAssistance] Remove
viewProps
from presenter and construct it
Previously, we were keeping `viewProps` separately and that generated a source of confusion where the `state` of the presenter is held. This CL puts it to an end by: * Removing `#viewProps` object and constructing it while calling the `view()` function. * Puts necessary state properties as properties of the presenter class. Bug: 394005781 Change-Id: I2be3a008f1abed96bcadb28b00be43661cb9d545 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6254337 Commit-Queue: Ergün Erdoğmuş <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
- Loading branch information
Showing
1 changed file
with
83 additions
and
92 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