Lines Matching full:webview
21 import android.webkit.WebView;
70 * Return the current tab's main WebView. This will always return the main
71 * WebView for a given tab and not a subwindow.
72 * @return The current tab's WebView.
74 WebView getCurrentWebView() {
83 * Return the current tab's top-level WebView. This can return a subwindow
85 * @return The top-level WebView of the current tab.
87 WebView getCurrentTopWebView() {
99 WebView getCurrentSubWindow() {
201 final WebView w = createNewWebView(privateBrowsing);
449 * WebView cache;
459 // store the WebView's state.
467 // free the WebView's unused memory (this includes the cache)
468 Log.w(LOGTAG, "Free WebView's unused memory and cache");
469 WebView view = getCurrentWebView();
529 * Show the tab that contains the given WebView.
530 * @param view The WebView used to find the tab.
532 Tab getTabFromView(WebView view) {
558 * Stop loading in all opened WebView including subWindows.
562 final WebView webview = t.getWebView();
563 if (webview != null) {
564 webview.stopLoading();
566 final WebView subview = t.getSubWebView();
601 * Recreate the main WebView of the given tab.
604 final WebView w = t.getWebView();
608 // Create a new WebView. If this tab is the current tab, we need to put
617 * Creates a new WebView and registers it with the global settings.
619 private WebView createNewWebView() {
624 * Creates a new WebView and registers it with the global settings.
626 * WebView.
628 private WebView createNewWebView(boolean privateBrowsing) {
666 WebView mainView = newTab.getWebView();
680 WebView web = t.getWebView();