Home | History | Annotate | Download | only in browser

Lines Matching refs: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
163 * Private information regarding the latest voice search. If the Tab is not
168 * Return whether the tab is in voice search mode.
181 * Get the title to display for the current voice search page. If the Tab
190 * BrowserProvider. If the Tab is not in voice search mode, return null.
213 // This tab is now entering voice search mode for the first time, or
827 // Helper method to create a new tab or sub window.
833 mActivity.attachSubWindow(Tab.this);
836 final Tab newTab = mActivity.openTabAndShow(
838 if (newTab != Tab.this) {
839 Tab.this.addChildTab(newTab);
915 Tab.this));
927 mActivity.closeTab(Tab.this);
986 Log.e(LOGTAG, "Tab onReceived title", e);
1023 mTouchIconLoader = new DownloadTouchIcon(Tab.this, cr, view);
1278 mActivity.dismissSubWindow(Tab.this);
1284 // Construct a new tab
1285 Tab(BrowserActivity activity, WebView w, boolean closeOnExit, String appId,
1298 // The tab consists of a container view, which contains the main
1299 // WebView, as well as any other UI elements associated with the tab.
1300 mContainer = mInflateService.inflate(R.layout.tab, null);
1309 // This Tab was opened for the sole purpose of downloading a
1313 // In this case, the Tab is still on top.
1317 mActivity.closeTab(Tab.this);
1342 * Sets the WebView for this tab, correctly removing the old WebView from
1369 // switched to another tab while waiting for the download to start.
1376 * Destroy the tab's main WebView and subWindow if any
1382 // save the WebView to call destroy() after detach it from the tab
1390 * Remove the tab from the parent
1395 for(Tab t : mChildTabs) {
1423 // just need to dismiss the mSubView, rather than close the Tab
1453 * Dismiss the subWindow for the tab.
1543 * Set the parent tab of this tab.
1545 void setParentTab(Tab parent) {
1547 // This tab may have been freed due to low memory. If that is the case,
1548 // the parent tab index is already saved. If we are changing that index
1549 // (most likely due to removing the parent tab) we must update the
1550 // parent tab index in the saved Bundle.
1562 * When a Tab is created through the content of another Tab, then we
1564 * @param child the Tab that was created from this Tab
1566 void addChildTab(Tab child) {
1568 mChildTabs = new Vector<Tab>();
1574 Vector<Tab> getChildTabs() {
1619 * Return the top window of this tab; either the subwindow if it is not
1621 * @return The top window of this tab.
1631 * Return the main window of this tab. Note: if a tab is freed in the
1633 * non-null for the current tab.
1634 * @return The main WebView of this tab.
1641 * Return the subwindow of this tab or null if there is no subwindow.
1642 * @return The subwindow of this tab or null.
1649 * @return The geolocation permissions prompt for this tab.
1678 * @return The original url associated with this Tab
1685 * Set the original url associated with this tab
1692 * Get the url of this tab. Valid after calling populatePickerData, but
1704 * Get the title of this tab. Valid after calling populatePickerData, but
1717 * Get the favicon of this tab. Valid after calling populatePickerData, but
1729 * Return the tab's error console. Creates the console if createIfNEcessary
1733 * @return The tab's error console, or null if one has not been created and
1745 * If this Tab was created through another Tab, then this method returns
1746 * that Tab.
1747 * @return the Tab parent or null
1749 public Tab getParentTab() {
1754 * Return whether this tab should be closed when it is backing out of the
1756 * @return TRUE if this tab should be closed when exit.
1783 * @return The tab's lock icon type.
1798 // tab to ensure BrowserActivity's pauseWebViewTimers() is called correctly.
1830 // Create the PickerData and populate it using the saved state of the tab.
1883 // Store some extra info for displaying the tab in the picker.
1900 // Remember the parent tab so the relationship can be restored.
1909 * Restore the state of the tab.