incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bcur...@apache.org
Subject [1/5] git commit: Added license header to new files.
Date Wed, 25 Jan 2012 04:35:45 GMT
Updated Branches:
  refs/heads/master 89e260a5a -> e30896155


Added license header to new files.


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/e3089615
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/e3089615
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/e3089615

Branch: refs/heads/master
Commit: e30896155ca83b6a046b3545bc65dbe03ad35bc9
Parents: 282f59c
Author: Bryce Curtis <curtis.bryce@gmail.com>
Authored: Tue Jan 24 22:35:16 2012 -0600
Committer: Bryce Curtis <curtis.bryce@gmail.com>
Committed: Tue Jan 24 22:35:16 2012 -0600

----------------------------------------------------------------------
 .../src/com/phonegap/CordovaChromeClient.java      |   22 ++++++++++++++-
 .../src/com/phonegap/CordovaWebViewClient.java     |   21 ++++++++++++++
 .../phonegap/LinearLayoutSoftKeyboardDetect.java   |   22 ++++++++++++++-
 3 files changed, 63 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/e3089615/framework/src/com/phonegap/CordovaChromeClient.java
----------------------------------------------------------------------
diff --git a/framework/src/com/phonegap/CordovaChromeClient.java b/framework/src/com/phonegap/CordovaChromeClient.java
old mode 100644
new mode 100755
index 54f7b81..39a5b9a
--- a/framework/src/com/phonegap/CordovaChromeClient.java
+++ b/framework/src/com/phonegap/CordovaChromeClient.java
@@ -1,3 +1,21 @@
+/*
+       Licensed to the Apache Software Foundation (ASF) under one
+       or more contributor license agreements.  See the NOTICE file
+       distributed with this work for additional information
+       regarding copyright ownership.  The ASF licenses this file
+       to you under the Apache License, Version 2.0 (the
+       "License"); you may not use this file except in compliance
+       with the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing,
+       software distributed under the License is distributed on an
+       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+       KIND, either express or implied.  See the License for the
+       specific language governing permissions and limitations
+       under the License.
+*/
 package com.phonegap;
 import org.json.JSONArray;
 import org.json.JSONException;
@@ -18,7 +36,9 @@ import android.webkit.WebView;
 import android.webkit.GeolocationPermissions.Callback;
 import android.widget.EditText;
 
-
+/**
+ * This class is the WebChromeClient that implements callbacks for our web view.
+ */
 public class CordovaChromeClient extends WebChromeClient {
     
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/e3089615/framework/src/com/phonegap/CordovaWebViewClient.java
----------------------------------------------------------------------
diff --git a/framework/src/com/phonegap/CordovaWebViewClient.java b/framework/src/com/phonegap/CordovaWebViewClient.java
old mode 100644
new mode 100755
index c7121fa..bf7233e
--- a/framework/src/com/phonegap/CordovaWebViewClient.java
+++ b/framework/src/com/phonegap/CordovaWebViewClient.java
@@ -1,3 +1,21 @@
+/*
+       Licensed to the Apache Software Foundation (ASF) under one
+       or more contributor license agreements.  See the NOTICE file
+       distributed with this work for additional information
+       regarding copyright ownership.  The ASF licenses this file
+       to you under the Apache License, Version 2.0 (the
+       "License"); you may not use this file except in compliance
+       with the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing,
+       software distributed under the License is distributed on an
+       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+       KIND, either express or implied.  See the License for the
+       specific language governing permissions and limitations
+       under the License.
+*/
 package com.phonegap;
 
 import com.phonegap.api.LOG;
@@ -15,6 +33,9 @@ import android.webkit.SslErrorHandler;
 import android.webkit.WebView;
 import android.webkit.WebViewClient;
 
+/**
+ * This class is the WebViewClient that implements callbacks for our web view.
+ */
 public class CordovaWebViewClient extends WebViewClient {
     
     private static final String TAG = "Cordova";

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/e3089615/framework/src/com/phonegap/LinearLayoutSoftKeyboardDetect.java
----------------------------------------------------------------------
diff --git a/framework/src/com/phonegap/LinearLayoutSoftKeyboardDetect.java b/framework/src/com/phonegap/LinearLayoutSoftKeyboardDetect.java
old mode 100644
new mode 100755
index 1ef6001..e34dc27
--- a/framework/src/com/phonegap/LinearLayoutSoftKeyboardDetect.java
+++ b/framework/src/com/phonegap/LinearLayoutSoftKeyboardDetect.java
@@ -1,3 +1,21 @@
+/*
+       Licensed to the Apache Software Foundation (ASF) under one
+       or more contributor license agreements.  See the NOTICE file
+       distributed with this work for additional information
+       regarding copyright ownership.  The ASF licenses this file
+       to you under the Apache License, Version 2.0 (the
+       "License"); you may not use this file except in compliance
+       with the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing,
+       software distributed under the License is distributed on an
+       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+       KIND, either express or implied.  See the License for the
+       specific language governing permissions and limitations
+       under the License.
+*/
 package com.phonegap;
 import com.phonegap.api.LOG;
 
@@ -5,7 +23,9 @@ import android.content.Context;
 import android.view.View.MeasureSpec;
 import android.widget.LinearLayout;
 
-
+/**
+ * This class is used to detect when the soft keyboard is shown and hidden in the web view.
+ */
 public class LinearLayoutSoftKeyboardDetect extends LinearLayout {
 
     private static final String TAG = "SoftKeyboardDetect";


Mime
View raw message