-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand the FrameElementDelegate interface
Expand the `FrameElementDelegate` to extend from both `FormInterceptorDelegate` and `LinkInterceptorDelegate`. After that change, replace conditionals in the `FrameRedirector` with calls to the `FrameElement` instance's delegate when one is found. This reduces the surface area for duplicate logic and improves guarantees of consistency across semantically similar situations.
- Loading branch information
1 parent
60759ea
commit 96b06cf
Showing
2 changed files
with
17 additions
and
16 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