You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
54 lines
1.2 KiB
/* |
|
* Copyright 2014 A.C.R. Development |
|
*/ |
|
package acr.browser.lightning; |
|
|
|
import android.app.Activity; |
|
import android.graphics.Bitmap; |
|
import android.net.Uri; |
|
import android.os.Message; |
|
import android.view.View; |
|
import android.webkit.ValueCallback; |
|
import android.webkit.WebChromeClient.CustomViewCallback; |
|
import android.webkit.WebView; |
|
|
|
public interface BrowserController { |
|
|
|
public void updateUrl(String title); |
|
|
|
public void updateProgress(int n); |
|
|
|
public void updateHistory(String title, String url); |
|
|
|
public void openFileChooser(ValueCallback<Uri> uploadMsg); |
|
|
|
public void update(); |
|
|
|
public void onLongPress(); |
|
|
|
public void onShowCustomView(View view, int requestedOrientation, CustomViewCallback callback); |
|
|
|
public void onHideCustomView(); |
|
|
|
public Bitmap getDefaultVideoPoster(); |
|
|
|
public View getVideoLoadingProgressView(); |
|
|
|
public void onCreateWindow(boolean isUserGesture, Message resultMsg); |
|
|
|
public Activity getActivity(); |
|
|
|
public void hideActionBar(); |
|
|
|
public void showActionBar(); |
|
|
|
public void longClickPage(String url); |
|
|
|
public void openBookmarkPage(WebView view); |
|
|
|
public boolean isActionBarShowing(); |
|
|
|
public void closeEmptyTab(); |
|
|
|
public boolean isIncognito(); |
|
}
|
|
|