Lines Matching refs:tab
61 boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url) {
76 // before leaving BrowserActivity, close the empty child tab.
77 // If a new tab is created through JavaScript open to load this
113 new RLZTask(tab, siteUri, view).execute();
118 if (startActivityForUrl(tab, url)) {
122 if (handleMenuClick(tab, url)) {
129 boolean startActivityForUrl(Tab tab, String url) {
148 // before leaving BrowserActivity, close the empty child tab.
149 // If a new tab is created through JavaScript open to load this
163 // Re-use the existing tab if the intent comes back to us
164 if (tab != null) {
165 if (tab.getAppId() == null) {
166 tab.setAppId(mActivity.getPackageName() + "-" + tab.getId());
168 intent.putExtra(Browser.EXTRA_APPLICATION_ID, tab.getAppId());
180 // before leaving BrowserActivity, close the empty child tab.
181 // If a new tab is created through JavaScript open to load this
223 // depressed by opening in a new tab
224 boolean handleMenuClick(Tab tab, String url) {
227 (tab != null) && tab.isPrivateBrowsingEnabled(),
236 // TODO: Move this class into Tab, where it can be properly stopped upon
237 // closure of the tab
239 private Tab mTab;
243 public RLZTask(Tab tab, Uri uri, WebView webView) {
244 mTab = tab;
271 // Make sure the Tab was not closed while handling the task