mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Merge branch 'pluggable_webview' into 4.0.x
This commit is contained in:
@@ -70,7 +70,7 @@ import android.widget.FrameLayout;
|
||||
public class AndroidWebView extends WebView implements CordovaWebView {
|
||||
|
||||
public static final String TAG = "CordovaWebView";
|
||||
public static final String CORDOVA_VERSION = "3.5.0-dev";
|
||||
public static final String CORDOVA_VERSION = "3.6.0-dev";
|
||||
|
||||
private ArrayList<Integer> keyDownCodes = new ArrayList<Integer>();
|
||||
private ArrayList<Integer> keyUpCodes = new ArrayList<Integer>();
|
||||
|
||||
@@ -38,9 +38,19 @@ public interface CordovaWebView {
|
||||
|
||||
Object getParent();
|
||||
|
||||
void loadUrl(String url);
|
||||
|
||||
void loadUrl(String url, int splashscreenTime);
|
||||
|
||||
void loadUrl(String url);
|
||||
void loadUrlNow(String url);
|
||||
|
||||
void loadUrlIntoView(final String url);
|
||||
|
||||
void loadUrlIntoView(final String url, boolean recreatePlugins);
|
||||
|
||||
void loadUrlIntoView(final String url, final int splashscreenTime);
|
||||
|
||||
void stopLoading();
|
||||
|
||||
boolean canGoBack();
|
||||
|
||||
@@ -61,7 +71,7 @@ public interface CordovaWebView {
|
||||
void postMessage(String id, Object data);
|
||||
|
||||
void addJavascript(String statement);
|
||||
|
||||
|
||||
void sendJavascript(String statememt);
|
||||
|
||||
CordovaChromeClient getWebChromeClient();
|
||||
@@ -102,8 +112,6 @@ public interface CordovaWebView {
|
||||
|
||||
void setOverScrollMode(int overScrollNever);
|
||||
|
||||
void loadUrlNow(String string);
|
||||
|
||||
void setNetworkAvailable(boolean online);
|
||||
|
||||
CordovaResourceApi getResourceApi();
|
||||
|
||||
Reference in New Issue
Block a user