Added WebView Navigation Type Support

This commit is contained in:
vB Results, LLC
2016-03-10 07:42:59 +00:00
committed by Vladimir Enchev
parent dc203934cc
commit 665fe45489
6 changed files with 73 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
import common = require("./web-view-common");
import common = require("./web-view-common");
import trace = require("trace");
import * as fileSystemModule from "file-system";
@@ -37,7 +37,7 @@ function ensureWebViewClientClass() {
if (this._view) {
trace.write("WebViewClientClass.onPageStarted(" + url + ", " + favicon + ")", trace.categories.Debug);
this._view._onLoadStarted(url);
this._view._onLoadStarted(url, common.WebView.navigationTypes[common.WebView.navigationTypes.indexOf("linkClicked")]);
}
}