Home | History | Annotate | Download | only in browser

Lines Matching defs:Tab

79 class Tab {
81 private static final String LOGTAG = "Tab";
99 // tab.
101 // Data used when displaying the tab in the picker.
103 // Parent Tab. This is the Tab that created this Tab, or null if the Tab was
105 private Tab mParentTab;
106 // Tab that constructed by this Tab. This is used when this Tab is
108 private Vector<Tab> mChildTabs;
109 // If true, the tab will be removed when back out of the first page.
111 // If true, the tab is in the foreground of the current activity.
113 // If true, the tab is in loading state.
123 // Error console for the tab
125 // the lock icon type and previous lock icon type for the tab
130 // The BrowserActivity which owners the Tab
141 // Extra saved information for displaying the tab in the picker.
148 // Used for saving and restoring each Tab
162 * Private information regarding the latest voice search. If the Tab is not
167 * Remove voice search mode from this tab.
178 * Return whether the tab is in voice search mode.
184 * Return true if the Tab is in voice search mode and the voice search
191 * Get the title to display for the current voice search page. If the Tab
200 * BrowserProvider. If the Tab is not in voice search mode, return null.
223 // This tab is now entering voice search mode for the first time, or
846 // Helper method to create a new tab or sub window.
852 mActivity.attachSubWindow(Tab.this);
855 final Tab newTab = mActivity.openTabAndShow(
857 if (newTab != Tab.this) {
858 Tab.this.addChildTab(newTab);
934 Tab.this));
946 mActivity.closeTab(Tab.this);
1008 Log.e(LOGTAG, "Tab onReceived title", e);
1045 mTouchIconLoader = new DownloadTouchIcon(Tab.this, cr, view);
1319 mActivity.dismissSubWindow(Tab.this);
1325 // Construct a new tab
1326 Tab(BrowserActivity activity, WebView w, boolean closeOnExit, String appId,
1339 // The tab consists of a container view, which contains the main
1340 // WebView, as well as any other UI elements associated with the tab.
1341 mContainer = (LinearLayout) mInflateService.inflate(R.layout.tab, null);
1350 // This Tab was opened for the sole purpose of downloading a
1354 // In this case, the Tab is still on top.
1358 mActivity.closeTab(Tab.this);
1383 * Sets the WebView for this tab, correctly removing the old WebView from
1410 // switched to another tab while waiting for the download to start.
1417 * Destroy the tab's main WebView and subWindow if any
1423 // save the WebView to call destroy() after detach it from the tab
1431 * Remove the tab from the parent
1436 for(Tab t : mChildTabs) {
1466 // just need to dismiss the mSubView, rather than close the Tab
1476 mActivity.dismissSubWindow(Tab.this);
1496 * Dismiss the subWindow for the tab.
1589 * Set the parent tabtab.
1591 void setParentTab(Tab parent) {
1593 // This tab may have been freed due to low memory. If that is the case,
1594 // the parent tab index is already saved. If we are changing that index
1595 // (most likely due to removing the parent tab) we must update the
1596 // parent tab index in the saved Bundle.
1608 * When a Tab is created through the content of another Tab, then we
1610 * @param child the Tab that was created from this Tab
1612 void addChildTab(Tab child) {
1614 mChildTabs = new Vector<Tab>();
1620 Vector<Tab> getChildTabs() {
1665 * Return the top window of this tab; either the subwindow if it is not
1667 * @return The top window of this tab.
1677 * Return the main window of this tab. Note: if a tab is freed in the
1679 * non-null for the current tab.
1680 * @return The main WebView of this tab.
1687 * Return the subwindow of this tab or null if there is no subwindow.
1688 * @return The subwindow of this tab or null.
1695 * @return The geolocation permissions prompt for this tab.
1724 * @return The original url associated with this Tab
1731 * Set the original url associated with this tab
1738 * Get the url of this tab. Valid after calling populatePickerData, but
1750 * Get the title of this tab. Valid after calling populatePickerData, but
1763 * Get the favicon of this tab. Valid after calling populatePickerData, but
1775 * Return the tab's error console. Creates the console if createIfNEcessary
1779 * @return The tab's error console, or null if one has not been created and
1791 * If this Tab was created through another Tab, then this method returns
1792 * that Tab.
1793 * @return the Tab parent or null
1795 public Tab getParentTab() {
1800 * Return whether this tab should be closed when it is backing out of the
1802 * @return TRUE if this tab should be closed when exit.
1829 * @return The tab's lock icon type.
1844 // tab to ensure BrowserActivity's pauseWebViewTimers() is called correctly.
1876 // Create the PickerData and populate it using the saved state of the tab.
1918 // Store some extra info for displaying the tab in the picker.
1935 // Remember the parent tab so the relationship can be restored.
1944 * Restore the state of the tab.