diff options
Diffstat (limited to 'src/com/android/browser/TabControl.java')
| -rw-r--r-- | src/com/android/browser/TabControl.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/browser/TabControl.java b/src/com/android/browser/TabControl.java index 07cf2ac62..5dc6b6d8f 100644 --- a/src/com/android/browser/TabControl.java +++ b/src/com/android/browser/TabControl.java @@ -174,6 +174,15 @@ class TabControl { } /** + * Remove the parent child relationships from all tabs. + */ + void removeParentChildRelationShips() { + for (Tab tab : mTabs) { + tab.removeFromTree(); + } + } + + /** * Remove the tab from the list. If the tab is the current tab shown, the * last created tab will be shown. * @param t The tab to be removed. |
