Home | History | Annotate | Download | only in browser

Lines Matching defs:WebView

81 import android.webkit.WebView;
324 WebView webView = t.getWebView();
328 webView.setInitialScale(scale);
401 public void onSetWebView(Tab tab, WebView view) {
408 WebView mainView = tab.getWebView();
409 WebView subView = mFactory.createWebView((mainView == null)
489 WebView view = (WebView) focusNodeMap.get("webview");
652 WebView.disablePlatformNotifications();
702 WebView.enablePlatformNotifications();
718 * resume all WebView timers using the WebView instance of the given tab
725 WebView w = tab.getWebView();
731 * Pause all WebView timers using the WebView of the given tab
801 WebView w = getCurrentTopWebView();
815 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) {
885 // pause the WebView timer and release the wake lock if it is
937 public void onFavicon(Tab tab, WebView view, Bitmap icon) {
943 public boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url) {
1001 public void onReceivedHttpAuthRequest(Tab tab, WebView view,
1033 WebView w = tab.getWebView();
1060 public void showSslCertificateOnError(WebView view, SslErrorHandler handler,
1231 WebView subwindow = mTabControl.getCurrentSubWindow();
1267 if (!(v instanceof WebView)) {
1270 final WebView webview = (WebView) v;
1271 WebView.HitTestResult result = webview.getHitTestResult();
1277 if (type == WebView.HitTestResult.UNKNOWN_TYPE) {
1282 if (type == WebView.HitTestResult.EDIT_TEXT_TYPE) {
1297 type == WebView.HitTestResult.PHONE_TYPE);
1299 type == WebView.HitTestResult.EMAIL_TYPE);
1301 type == WebView.HitTestResult.GEO_TYPE);
1303 type == WebView.HitTestResult.IMAGE_TYPE
1304 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE);
1306 type == WebView.HitTestResult.SRC_ANCHOR_TYPE
1307 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE);
1310 case WebView.HitTestResult.PHONE_TYPE:
1314 .parse(WebView.SCHEME_TEL + extra)));
1325 case WebView.HitTestResult.EMAIL_TYPE:
1329 .parse(WebView.SCHEME_MAILTO + extra)));
1335 case WebView.HitTestResult.GEO_TYPE:
1339 .parse(WebView.SCHEME_GEO
1346 case WebView.HitTestResult.SRC_ANCHOR_TYPE:
1347 case WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE:
1358 if (WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE == type) {
1363 final HashMap<String, WebView> hrefMap =
1364 new HashMap<String, WebView>();
1365 hrefMap.put("webview", webview);
1370 webview.requestFocusNodeHref(msg);
1388 if (type == WebView.HitTestResult.SRC_ANCHOR_TYPE) {
1392 case WebView.HitTestResult.IMAGE_TYPE:
1394 shareItem.setVisible(type == WebView.HitTestResult.IMAGE_TYPE);
1395 if (type == WebView.HitTestResult.IMAGE_TYPE) {
1417 new Download(mActivity, extra, webview.isPrivateBrowsingEnabled(),
1418 webview.getSettings().getUserAgentString()));
1687 WebView web = getCurrentWebView();
1737 final WebView webView = getCurrentTopWebView();
1738 if (null == webView) {
1742 final HashMap<String, WebView> hrefMap =
1743 new HashMap<String, WebView>();
1744 hrefMap.put("webview", webView);
1747 webView.requestFocusNodeHref(msg);
1813 public WebView getCurrentTopWebView() {
1818 public WebView getCurrentWebView() {
1894 WebView w = getCurrentTopWebView();
1955 static Bitmap createScreenshot(WebView view, int width, int height) {
2002 WebView view = tab.getWebView();
2177 // the tab is guaranteed to have a webview after setCurrentTab
2193 // Since we might kill the WebView, remove it from the
2196 // Recreate the main WebView after destroying the old one.
2216 // dismiss the subwindow. This will destroy the WebView.
2218 WebView wv = getCurrentTopWebView();
2417 WebView view = tab != null ? tab.getWebView() : null;
2429 * Load the URL into the given WebView and update the title bar
2430 * to reflect the new load. Call this instead of WebView.loadUrl
2432 * @param view The WebView used to load url.
2563 WebView webView = getCurrentTopWebView();
2565 if (webView == null || tab == null) return false;
2584 // WebView/WebTextView handle the keys in the KeyDown. As
2585 // the Activity's shortcut keys are only handled when WebView
2649 // it is a regular key and webview is not null