Lines Matching refs:tab
108 public void onProgressChanged(Tab tab) {
109 super.onProgressChanged(tab);
133 public void setActiveTab(final Tab tab) {
136 super.setActiveTab(tab);
138 //if at Nav screen show, detach tab like what showNavScreen() do.
143 BrowserWebView view = (BrowserWebView) tab.getWebView();
145 // so the tab is guaranteed to have a webview
147 Log.e(LOGTAG, "active tab with no webview detected");
160 updateLockIconToLatest(tab);
173 public void updateMenuState(Tab tab, Menu menu) {
180 abm.setVisible((tab != null) && !tab.isSnapshot() && !showingNavScreen());
197 if (tab != null) {
349 final Tab tab = mUiController.getTabControl().getTab(position);
350 if ((tab == null) || !animate) {
351 if (tab != null) {
352 setActiveTab(tab);
354 // use a fallback tab
364 // use a fallback tab
372 mUiController.setActiveTab(tab);
377 mAnimScreen.set(tab.getScreenshot());
386 int toTop = (tab.getWebView() != null) ? tab.getWebView().getVisibleTitleHeight() : 0;