Lines Matching refs:tab
67 Tab current = mTabControl.getCurrentTab();
68 // When a tab is closed on exit, the current tab index is set to -1.
69 // Reset before proceed as Browser requires the current tab to be set.
71 // Try to reset the tab in case the index was incorrect.
112 Tab t = mController.openTab(urlData);
117 * 0) If this is a javascript: URI, *always* open a new tab
118 * 1) If the URL is already opened, switch to that tab
119 * 2-phone) Reuse tab with same appId
120 * 2-tablet) Open new tab
133 Tab appTab = mTabControl.getTabFromAppId(appId);
144 Tab appTab = mTabControl.getTabFromAppId(appId);
150 // No matching application tab, try to find a regular tab
152 Tab appTab = mTabControl.findTabWithUrl(urlData.mUrl);
159 // Otherwise, we are already viewing the correct tab.
162 // will be opened in a new tab unless we have reached
164 // tab. If a new tab is created, it will have "true" for
166 Tab tab = mController.openTab(urlData);
167 if (tab != null) {
168 tab.setAppId(appId);
170 tab.setCloseOnBack(true);
196 // If the current Tab is being used as an application tab,