You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/06/07 22:20:55 UTC
[36/50] [abbrv] android commit: Forgot to add the proper constructor.
The Clients need to know about their webView.
Forgot to add the proper constructor. The Clients need to know about their webView.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/3b9d46fa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/3b9d46fa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/3b9d46fa
Branch: refs/heads/master
Commit: 3b9d46fadcc9d1bd4d676d348655ed41a7c2b794
Parents: f840f3a
Author: Joe Bowser <bo...@apache.org>
Authored: Tue May 15 15:46:10 2012 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Tue May 15 15:46:10 2012 -0700
----------------------------------------------------------------------
.../src/org/apache/cordova/CordovaWebView.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/3b9d46fa/framework/src/org/apache/cordova/CordovaWebView.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java
index 1b60c15..cdd2fbd 100644
--- a/framework/src/org/apache/cordova/CordovaWebView.java
+++ b/framework/src/org/apache/cordova/CordovaWebView.java
@@ -106,8 +106,8 @@ public class CordovaWebView extends WebView {
{
Log.d(TAG, "Your activity must implement CordovaInterface to work");
}
- this.setWebChromeClient(new CordovaChromeClient(this.mCtx));
- this.setWebViewClient(new CordovaWebViewClient(this.mCtx));
+ this.setWebChromeClient(new CordovaChromeClient(this.mCtx, this));
+ this.setWebViewClient(new CordovaWebViewClient(this.mCtx, this));
this.loadConfiguration();
this.setup();
}
@@ -130,8 +130,8 @@ public class CordovaWebView extends WebView {
{
Log.d(TAG, "Your activity must implement CordovaInterface to work");
}
- this.setWebChromeClient(new CordovaChromeClient(this.mCtx));
- this.setWebViewClient(new CordovaWebViewClient(this.mCtx));
+ this.setWebChromeClient(new CordovaChromeClient(this.mCtx, this));
+ this.setWebViewClient(new CordovaWebViewClient(this.mCtx, this));
this.loadConfiguration();
this.setup();
}