Home | History | Annotate | Download | only in browser

Lines Matching full:webview

80 import android.webkit.WebView;
323 WebView webView = t.getWebView();
327 webView.setInitialScale(scale);
400 public void onSetWebView(Tab tab, WebView view) {
407 WebView mainView = tab.getWebView();
408 WebView subView = mFactory.createWebView((mainView == null)
488 WebView view = (WebView) focusNodeMap.get("webview");
651 WebView.disablePlatformNotifications();
701 WebView.enablePlatformNotifications();
717 * resume all WebView timers using the WebView instance of the given tab
724 WebView w = tab.getWebView();
730 * Pause all WebView timers using the WebView of the given tab
800 WebView w = getCurrentTopWebView();
814 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) {
884 // pause the WebView timer and release the wake lock if it is
936 public void onFavicon(Tab tab, WebView view, Bitmap icon) {
942 public boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url) {
1000 public void onReceivedHttpAuthRequest(Tab tab, WebView view,
1032 WebView w = tab.getWebView();
1059 public void showSslCertificateOnError(WebView view, SslErrorHandler handler,
1230 WebView subwindow = mTabControl.getCurrentSubWindow();
1266 if (!(v instanceof WebView)) {
1269 final WebView webview = (WebView) v;
1270 WebView.HitTestResult result = webview.getHitTestResult();
1276 if (type == WebView.HitTestResult.UNKNOWN_TYPE) {
1281 if (type == WebView.HitTestResult.EDIT_TEXT_TYPE) {
1296 type == WebView.HitTestResult.PHONE_TYPE);
1298 type == WebView.HitTestResult.EMAIL_TYPE);
1300 type == WebView.HitTestResult.GEO_TYPE);
1302 type == WebView.HitTestResult.IMAGE_TYPE
1303 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE);
1305 type == WebView.HitTestResult.SRC_ANCHOR_TYPE
1306 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE);
1309 case WebView.HitTestResult.PHONE_TYPE:
1313 .parse(WebView.SCHEME_TEL + extra)));
1324 case WebView.HitTestResult.EMAIL_TYPE:
1328 .parse(WebView.SCHEME_MAILTO + extra)));
1334 case WebView.HitTestResult.GEO_TYPE:
1338 .parse(WebView.SCHEME_GEO
1345 case WebView.HitTestResult.SRC_ANCHOR_TYPE:
1346 case WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE:
1357 if (WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE == type) {
1362 final HashMap<String, WebView> hrefMap =
1363 new HashMap<String, WebView>();
1364 hrefMap.put("webview", webview);
1369 webview.requestFocusNodeHref(msg);
1387 if (type == WebView.HitTestResult.SRC_ANCHOR_TYPE) {
1391 case WebView.HitTestResult.IMAGE_TYPE:
1393 shareItem.setVisible(type == WebView.HitTestResult.IMAGE_TYPE);
1394 if (type == WebView.HitTestResult.IMAGE_TYPE) {
1416 new Download(mActivity, extra, webview.isPrivateBrowsingEnabled(),
1417 webview.getSettings().getUserAgentString()));
1690 WebView web = getCurrentWebView();
1740 final WebView webView = getCurrentTopWebView();
1741 if (null == webView) {
1745 final HashMap<String, WebView> hrefMap =
1746 new HashMap<String, WebView>();
1747 hrefMap.put("webview", webView);
1750 webView.requestFocusNodeHref(msg);
1816 public WebView getCurrentTopWebView() {
1821 public WebView getCurrentWebView() {
1897 WebView w = getCurrentTopWebView();
1958 static Bitmap createScreenshot(WebView view, int width, int height) {
2005 WebView view = tab.getWebView();
2180 // the tab is guaranteed to have a webview after setCurrentTab
2196 // Since we might kill the WebView, remove it from the
2199 // Recreate the main WebView after destroying the old one.
2219 // dismiss the subwindow. This will destroy the WebView.
2221 WebView wv = getCurrentTopWebView();
2420 WebView view = tab != null ? tab.getWebView() : null;
2432 * Load the URL into the given WebView and update the title bar
2433 * to reflect the new load. Call this instead of WebView.loadUrl
2435 * @param view The WebView used to load url.
2566 WebView webView = getCurrentTopWebView();
2568 if (webView == null || tab == null) return false;
2587 // WebView/WebTextView handle the keys in the KeyDown. As
2588 // the Activity's shortcut keys are only handled when WebView
2652 // it is a regular key and webview is not null