Lines Matching refs:tab

17      * Called when a tab is selected.
19 * @param tab The newly selected tab.
21 * @param lastId The ID of the last selected tab, or {@link Tab#INVALID_TAB_ID} if no tab was
24 void didSelectTab(Tab tab, TabSelectionType type, int lastId);
27 * Called when a tab starts closing.
29 * @param tab The tab to close.
32 void willCloseTab(Tab tab, boolean animate);
35 * Called right after {@code tab} has been destroyed.
37 * @param tab The tab that has been destroyed.
39 void didCloseTab(Tab tab);
42 * Called before a tab will be added to the {@link TabModel}.
44 * @param tab The tab about to be added.
45 * @param type The type of tab launch.
47 void willAddTab(Tab tab, TabLaunchType type);
50 * Called after a tab has been added to the {@link TabModel}.
52 * @param tab The newly added tab.
53 * @param type The type of tab launch.
55 void didAddTab(Tab tab, TabLaunchType type);
58 * Called after a tab has been moved from one position in the {@link TabModel} to another.
60 * @param tab The tab which has been moved.
61 * @param newIndex The new index of the tab in the model.
62 * @param curIndex The old index of the tab in the model.
64 void didMoveTab(Tab tab, int newIndex, int curIndex);
67 * Called when a tab is pending closure, i.e. the user has just closed it, but it can still be
70 * @param tab The tab that is pending closure.
72 void tabPendingClosure(Tab tab);
75 * Called when a tab closure is undone.
77 * @param tab The tab that has been reopened.
79 void tabClosureUndone(Tab tab);
82 * Called when a tab closure is committed and can't be undone anymore.
84 * @param tab The tab that has been closed.
86 void tabClosureCommitted(Tab tab);