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.
59 lines
1.3 KiB
59 lines
1.3 KiB
10 years ago
|
/*
|
||
|
* 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 {
|
||
10 years ago
|
|
||
9 years ago
|
public void updateUrl(String title, boolean shortUrl);
|
||
10 years ago
|
|
||
|
public void updateProgress(int n);
|
||
|
|
||
|
public void updateHistory(String title, String url);
|
||
|
|
||
|
public void openFileChooser(ValueCallback<Uri> uploadMsg);
|
||
|
|
||
|
public void update();
|
||
9 years ago
|
|
||
10 years ago
|
public void onLongPress();
|
||
10 years ago
|
|
||
10 years ago
|
public void onShowCustomView(View view, int requestedOrientation, CustomViewCallback callback);
|
||
10 years ago
|
|
||
10 years ago
|
public void onHideCustomView();
|
||
10 years ago
|
|
||
10 years ago
|
public Bitmap getDefaultVideoPoster();
|
||
10 years ago
|
|
||
10 years ago
|
public View getVideoLoadingProgressView();
|
||
10 years ago
|
|
||
10 years ago
|
public void onCreateWindow(boolean isUserGesture, Message resultMsg);
|
||
10 years ago
|
|
||
10 years ago
|
public Activity getActivity();
|
||
10 years ago
|
|
||
10 years ago
|
public void hideActionBar();
|
||
10 years ago
|
|
||
10 years ago
|
public void showActionBar();
|
||
9 years ago
|
|
||
9 years ago
|
public void toggleActionBar();
|
||
10 years ago
|
|
||
10 years ago
|
public void longClickPage(String url);
|
||
10 years ago
|
|
||
10 years ago
|
public void openBookmarkPage(WebView view);
|
||
10 years ago
|
|
||
9 years ago
|
public void showFileChooser(ValueCallback<Uri[]> filePathCallback);
|
||
10 years ago
|
|
||
10 years ago
|
public void closeEmptyTab();
|
||
10 years ago
|
|
||
|
public boolean isIncognito();
|
||
9 years ago
|
|
||
9 years ago
|
public int getMenu();
|
||
10 years ago
|
}
|