Home | History | Annotate | Download | only in browser

Lines Matching defs: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);
455 * WebView cache;
465 // store the WebView's state.
473 // free the WebView's unused memory (this includes the cache)
474 Log.w(LOGTAG, "Free WebView's unused memory and cache");
475 WebView view = getCurrentWebView();
535 * Show the tab that contains the given WebView.
536 * @param view The WebView used to find the tab.
538 Tab getTabFromView(WebView view) {
564 * Stop loading in all opened WebView including subWindows.
568 final WebView webview = t.getWebView();
569 if (webview != null) {
570 webview.stopLoading();
572 final WebView subview = t.getSubWebView();
574 webview.stopLoading();
607 * Recreate the main WebView of the given tab.
610 final WebView w = t.getWebView();
614 // Create a new WebView. If this tab is the current tab, we need to put
623 * Creates a new WebView and registers it with the global settings.
625 private WebView createNewWebView() {
630 * Creates a new WebView and registers it with the global settings.
632 * WebView.
634 private WebView createNewWebView(boolean privateBrowsing) {
672 WebView mainView = newTab.getWebView();
686 WebView web = t.getWebView();