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.
55 lines
1.2 KiB
55 lines
1.2 KiB
/* |
|
* Copyright 2014 A.C.R. Development |
|
*/ |
|
package acr.browser.lightning.controller; |
|
|
|
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; |
|
|
|
import acr.browser.lightning.view.LightningView; |
|
|
|
public interface BrowserController { |
|
|
|
void updateUrl(String title, boolean shortUrl); |
|
|
|
void updateProgress(int n); |
|
|
|
void updateHistory(String title, String url); |
|
|
|
void openFileChooser(ValueCallback<Uri> uploadMsg); |
|
|
|
void onLongPress(); |
|
|
|
void onShowCustomView(View view, CustomViewCallback callback); |
|
|
|
void onHideCustomView(); |
|
|
|
Bitmap getDefaultVideoPoster(); |
|
|
|
View getVideoLoadingProgressView(); |
|
|
|
void onCreateWindow(Message resultMsg); |
|
|
|
void onCloseWindow(LightningView view); |
|
|
|
Activity getActivity(); |
|
|
|
void hideActionBar(); |
|
|
|
void showActionBar(); |
|
|
|
void longClickPage(String url); |
|
|
|
void showFileChooser(ValueCallback<Uri[]> filePathCallback); |
|
|
|
void closeEmptyTab(); |
|
|
|
// void updateBookmarkIndicator(String url); |
|
|
|
}
|
|
|