Home | History | Annotate | Download | only in browser

Lines Matching refs:UrlData

331             UrlData urlData = getUrlDataFromIntent(intent);
339 intent.getStringExtra(Browser.EXTRA_APPLICATION_ID), urlData.mUrl);
350 if (urlData.isEmpty()) {
353 loadUrlDataIn(t, urlData);
456 UrlData urlData = getUrlDataFromIntent(intent);
457 if (urlData.isEmpty()) {
458 urlData = new UrlData(mSettings.getHomePage());
481 mTabControl.recreateWebView(appTab, urlData);
486 loadUrlDataIn(appTab, urlData);
493 loadUrlDataIn(appTab, urlData);
500 appTab = mTabControl.findUnusedTabWithUrl(urlData.mUrl);
512 openTabAndShow(urlData, true, appId);
516 if (!urlData.isEmpty()
517 && urlData.mUrl.startsWith("about:debug")) {
518 if ("about:debug.dom".equals(urlData.mUrl)) {
520 } else if ("about:debug.dom.file".equals(urlData.mUrl)) {
522 } else if ("about:debug.render".equals(urlData.mUrl)) {
524 } else if ("about:debug.render.file".equals(urlData.mUrl)) {
526 } else if ("about:debug.display".equals(urlData.mUrl)) {
528 } else if (urlData.mUrl.startsWith("about:debug.drag")) {
529 int index = urlData.mUrl.codePointAt(16) - '0';
546 loadUrlDataIn(current, urlData);
637 private UrlData getUrlDataFromIntent(Intent intent) {
696 return new UrlData(url, headers, intent);
1705 // A wrapper function of {@link #openTabAndShow(UrlData, boolean, String)}
1708 return openTabAndShow(new UrlData(url), closeOnExit, appId);
1714 /* package */Tab openTabAndShow(UrlData urlData, boolean closeOnExit,
1719 urlData.mUrl);
1730 if (!urlData.isEmpty()) {
1731 loadUrlDataIn(tab, urlData);
1737 if (!urlData.isEmpty()) {
1739 loadUrlDataIn(currentTab, urlData);
3559 * Load UrlData into a Tab and update the title bar to reflect the new
3560 * load. Call this instead of UrlData.loadIn directly.
3562 * @param data The UrlData being loaded.
3564 private void loadUrlDataIn(Tab t, UrlData data) {
3926 * A UrlData class to abstract how the content will be set to WebView.
3929 /* package */ static class UrlData {
3934 UrlData(String url) {
3940 UrlData(String url, Map<String, String> headers, Intent intent) {
3956 * Load this UrlData into the given Tab. Use loadUrlDataIn to update
3968 /* package */ static final UrlData EMPTY_URL_DATA = new UrlData(null);