Initial implementation of tabs bar #1468
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Tabs Bar is a small window that sits next to the current window and which lists the open tabs.
There are two implementations in this PR:
HorizontalTabsBar
on the top of the windowVerticalTabsBar
on the side of the windowThe Tabs Bar is managed by
VRBrowserActivity
.SessionStore
now keeps a list of session change listeners so the tabs bar can be updated.SessionChangeListener
andTabDelegate
are moved to separate files.The location of tabs can be changed in Settings -> Display.
Note that Wolvic does not keep track of the relationship between windows and tabs. There is one single list of tabs that can be dynamically displayed on one or more windows. Unfortunately, this means that the interface tends to get a bit confusing when we have more than one window open.