refactor: wire will-navigate up to a navigation throttle instead of OpenURL (#25065)
* refactor: wire will-navigate up to a navigation throttle instead of OpenURL * spec: add test for x-site _top navigation
This commit is contained in:
parent
a17e97c3b2
commit
b1e2185c5e
4 changed files with 65 additions and 6 deletions
|
@ -14,6 +14,8 @@ class ElectronNavigationThrottle : public content::NavigationThrottle {
|
|||
explicit ElectronNavigationThrottle(content::NavigationHandle* handle);
|
||||
~ElectronNavigationThrottle() override;
|
||||
|
||||
ElectronNavigationThrottle::ThrottleCheckResult WillStartRequest() override;
|
||||
|
||||
ElectronNavigationThrottle::ThrottleCheckResult WillRedirectRequest()
|
||||
override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue