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";
367 * List of headers to be passed into the WebView containing location
453 // WebViewClient implementation for the main WebView
460 public void onPageStarted(WebView view, String url, Bitmap favicon) {
516 public void onPageFinished(WebView view, String url) {
538 public boolean shouldOverrideUrlLoading(WebView view, String url) {
565 public void onLoadResource(WebView view, String url) {
584 public void onReceivedError(WebView view, int errorCode,
607 public void onFormResubmission(WebView view, final Message dontResend,
662 public void doUpdateVisitedHistory(WebView view, String url,
695 public void onReceivedSslError(final WebView view,
784 public void onReceivedHttpAuthRequest(WebView view,
815 public boolean shouldOverrideKeyEvent(WebView view, KeyEvent event) {
829 public void onUnhandledKeyEvent(WebView view, KeyEvent event) {
842 // WebChromeClient implementation for the main WebView
848 WebView.WebViewTransport transport =
849 (WebView.WebViewTransport) msg.obj;
866 public boolean onCreateWindow(WebView view, final boolean dialog,
906 // Block the popup by returning a null WebView.
931 public void onRequestFocus(WebView view) {
939 public void onCloseWindow(WebView window) {
951 public void onProgressChanged(WebView view, int newProgress) {
962 public void onReceivedTitle(WebView view, final String title) {
1022 public void onReceivedIcon(WebView view, Bitmap icon) {
1034 public void onReceivedTouchIconUrl(WebView view, String url,
1051 public void onSelectionDone(WebView view) {
1056 public void onSelectionStart(WebView view) {
1236 // WebViewClient of certain WebView activities.
1247 public void onPageStarted(WebView view, String url, Bitmap favicon) {
1254 public void doUpdateVisitedHistory(WebView view, String url,
1259 public boolean shouldOverrideUrlLoading(WebView view, String url) {
1263 public void onReceivedSslError(WebView view, SslErrorHandler handler,
1268 public void onReceivedHttpAuthRequest(WebView view,
1273 public void onFormResubmission(WebView view, Message dontResend,
1278 public void onReceivedError(WebView view, int errorCode,
1283 public boolean shouldOverrideKeyEvent(WebView view,
1288 public void onUnhandledKeyEvent(WebView view,
1306 public void onProgressChanged(WebView view, int newProgress) {
1310 public boolean onCreateWindow(WebView view, boolean dialog,
1315 public void onCloseWindow(WebView window) {
1326 Tab(BrowserActivity activity, WebView w, boolean closeOnExit, String appId,
1340 // WebView, as well as any other UI elements associated with the tab.
1383 * Sets the WebView for this tab, correctly removing the old WebView from
1386 void setWebView(WebView w) {
1390 // If the WebView is changing, the page will be reloaded, so any ongoing
1417 * Destroy the tab's main WebView and subWindow if any
1423 // save the WebView to call destroy() after detach it from the tab
1424 WebView webView = mMainView;
1426 webView.destroy();
1455 mSubView = (WebView) mSubViewContainer.findViewById(R.id.webview);
1530 * This method attaches both the WebView and any sub window to the
1538 // Attach the WebView to the container and then attach the
1570 * Remove the WebView and any sub window from the given content view.
1578 // WebView from the container. This will trigger a focus change
1579 // needed by WebView.
1669 WebView getTopWindow() {
1680 * @return The main WebView of this tab.
1682 WebView getWebView() {
1690 WebView getSubWebView() {
1739 * before calling wipePickerData, or if the webview has been destroyed.
1740 * @return The WebView's url or null.
1751 * before calling wipePickerData, or if the webview has been destroyed. If
1753 * @return The WebView's title (or url) or null.
1764 * before calling wipePickerData, or if the webview has been destroyed.
1765 * @return The WebView's favicon or null.
1863 // WebView.
1909 // If the WebView is null it means we ran low on memory and we already
1950 // Restore the internal state even if the WebView fails to restore.
1968 WebView showDialog(WebDialog dialog) {
1970 WebView view;