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.
42 lines
939 B
42 lines
939 B
6 years ago
|
package org.purplei2p.lightning.browser;
|
||
8 years ago
|
|
||
8 years ago
|
import android.content.DialogInterface;
|
||
8 years ago
|
import android.support.annotation.NonNull;
|
||
7 years ago
|
import android.support.annotation.Nullable;
|
||
8 years ago
|
import android.support.annotation.StringRes;
|
||
8 years ago
|
import android.view.View;
|
||
|
|
||
|
public interface BrowserView {
|
||
|
|
||
|
void setTabView(@NonNull View view);
|
||
|
|
||
|
void removeTabView();
|
||
|
|
||
7 years ago
|
void updateUrl(@Nullable String url, boolean isLoading);
|
||
8 years ago
|
|
||
|
void updateProgress(int progress);
|
||
|
|
||
8 years ago
|
void updateTabNumber(int number);
|
||
|
|
||
8 years ago
|
void closeBrowser();
|
||
|
|
||
|
void closeActivity();
|
||
|
|
||
7 years ago
|
void showBlockedLocalFileDialog(@NonNull DialogInterface.OnClickListener listener);
|
||
8 years ago
|
|
||
|
void showSnackbar(@StringRes int resource);
|
||
|
|
||
8 years ago
|
void setForwardButtonEnabled(boolean enabled);
|
||
|
|
||
|
void setBackButtonEnabled(boolean enabled);
|
||
|
|
||
8 years ago
|
void notifyTabViewRemoved(int position);
|
||
|
|
||
|
void notifyTabViewAdded();
|
||
|
|
||
|
void notifyTabViewChanged(int position);
|
||
|
|
||
8 years ago
|
void notifyTabViewInitialized();
|
||
|
|
||
8 years ago
|
}
|