lightning-i2p/src/acr/browser/lightning/BrowserController.java

58 lines
1.2 KiB
Java
Raw Normal View History

/*
* 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 {
2015-01-26 13:09:27 -05:00
public void updateUrl(String title, boolean shortUrl);
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();
2015-01-27 11:38:13 -05:00
public void toggleActionBar();
public void longClickPage(String url);
public void openBookmarkPage(WebView view);
public void closeEmptyTab();
public boolean isIncognito();
2015-01-26 13:09:27 -05:00
public int getMenu();
}