Home | History | Annotate | Download | only in browser

Lines Matching refs:WebView

67 import android.webkit.WebView;
77 * Class for maintaining Tabs with a main WebView and a subwindow.
89 // Main WebView wrapper
91 // Main WebView
92 private WebView mMainView;
95 // Subwindow WebView
96 private WebView mSubView;
98 // information needed to restore the WebView if the user goes back to the
120 // Keep the original url around to avoid killing the old WebView if the url
149 static final String WEBVIEW = "webview";
357 * List of headers to be passed into the WebView containing location
443 // WebViewClient implementation for the main WebView
450 public void onPageStarted(WebView view, String url, Bitmap favicon) {
509 public void onPageFinished(WebView view, String url) {
531 public boolean shouldOverrideUrlLoading(WebView view, String url) {
546 public void onLoadResource(WebView view, String url) {
565 public void onReceivedError(WebView view, int errorCode,
588 public void onFormResubmission(WebView view, final Message dontResend,
643 public void doUpdateVisitedHistory(WebView view, String url,
676 public void onReceivedSslError(final WebView view,
765 public void onReceivedHttpAuthRequest(WebView view,
796 public boolean shouldOverrideKeyEvent(WebView view, KeyEvent event) {
810 public void onUnhandledKeyEvent(WebView view, KeyEvent event) {
823 // WebChromeClient implementation for the main WebView
829 WebView.WebViewTransport transport =
830 (WebView.WebViewTransport) msg.obj;
847 public boolean onCreateWindow(WebView view, final boolean dialog,
887 // Block the popup by returning a null WebView.
912 public void onRequestFocus(WebView view) {
920 public void onCloseWindow(WebView window) {
932 public void onProgressChanged(WebView view, int newProgress) {
943 public void onReceivedTitle(WebView view, final String title) {
1000 public void onReceivedIcon(WebView view, Bitmap icon) {
1012 public void onReceivedTouchIconUrl(WebView view, String url,
1204 // WebViewClient of certain WebView activities.
1213 public void doUpdateVisitedHistory(WebView view, String url,
1218 public boolean shouldOverrideUrlLoading(WebView view, String url) {
1222 public void onReceivedSslError(WebView view, SslErrorHandler handler,
1227 public void onReceivedHttpAuthRequest(WebView view,
1232 public void onFormResubmission(WebView view, Message dontResend,
1237 public void onReceivedError(WebView view, int errorCode,
1242 public boolean shouldOverrideKeyEvent(WebView view,
1247 public void onUnhandledKeyEvent(WebView view,
1265 public void onProgressChanged(WebView view, int newProgress) {
1269 public boolean onCreateWindow(WebView view, boolean dialog,
1274 public void onCloseWindow(WebView window) {
1285 Tab(BrowserActivity activity, WebView w, boolean closeOnExit, String appId,
1299 // WebView, as well as any other UI elements associated with the tab.
1342 * Sets the WebView for this tab, correctly removing the old WebView from
1345 void setWebView(WebView w) {
1349 // If the WebView is changing, the page will be reloaded, so any ongoing
1376 * Destroy the tab's main WebView and subWindow if any
1382 // save the WebView to call destroy() after detach it from the tab
1383 WebView webView = mMainView;
1385 webView.destroy();
1413 mSubView = (WebView) mSubViewContainer.findViewById(R.id.webview);
1485 * This method attaches both the WebView and any sub window to the
1493 // Attach the WebView to the container and then attach the
1525 * Remove the WebView and any sub window from the given content view.
1533 // WebView from the container. This will trigger a focus change
1534 // needed by WebView.
1623 WebView getTopWindow() {
1634 * @return The main WebView of this tab.
1636 WebView getWebView() {
1644 WebView getSubWebView() {
1693 * before calling wipePickerData, or if the webview has been destroyed.
1694 * @return The WebView's url or null.
1705 * before calling wipePickerData, or if the webview has been destroyed. If
1707 * @return The WebView's title (or url) or null.
1718 * before calling wipePickerData, or if the webview has been destroyed.
1719 * @return The WebView's favicon or null.
1817 // WebView.
1863 // If the WebView is null it means we ran low on memory and we already
1915 // Restore the internal state even if the WebView fails to restore.