private void OnNavigationCompleted(IWebViewControl sender, Windows.Web.UI.WebViewControlNavigationCompletedEventArgs args) { // When Source set to null or navigating to stream/string, we navigate to "about:blank" internally. if (NavigatingToAboutBlank) { Verify.Implies(NavigatingToAboutBlank, Source == null || Source == WebViewDefaults.AboutBlankUri); // Make sure we pass null in the event args var a = new WebViewControlNavigationCompletedEventArgs(args, null); OnNavigationCompleted(a); } else { OnNavigationCompleted(args); } }
private void OnFrameNavigationCompleted(IWebViewControl sender, Windows.Web.UI.WebViewControlNavigationCompletedEventArgs args) { // TODO: Need to handle frame navigation like NavigationCompleted? OnFrameNavigationCompleted(args); }