This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tabs implementation (#1963) Merging and opening issues for the above after talking to @MortimerGoro * Tabs implementation * Refactor session restore code. Fix nits. * Rename isComposited method * Fix potential NullPointerException crash when focus changed after a the TabWidget is released without hiding it before * Update session last use when changing active windows * Correctly sync tabs after closing * Close the TabsWidget when the active window changes. * Tabs polish (#2028) * Tabs UI polish * Set correct tab title for contend feed * Correctly handle onNewSession (e.g window.open()) * Fix onDestroy crash * Implement BitmapCache for tab snapshots * Use a single instance of TabWidget. Improve dismiss detection. * Add open new tab notificaion and context menu action. * Dispatch BitmapCache callbacks on the Main Thread. Scale bitmaps before saving them to disk. * Tab UI polish * Get rid of max window error alert. Update tabs tray dialog * Fix rebase issue
- Loading branch information
1 parent
6870f1b
commit 940479a
Showing
64 changed files
with
3,414 additions
and
1,877 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
app/src/common/shared/org/mozilla/vrbrowser/browser/SessionChangeListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package org.mozilla.vrbrowser.browser; | ||
|
||
import org.mozilla.geckoview.GeckoSession; | ||
import org.mozilla.vrbrowser.browser.engine.Session; | ||
|
||
public interface SessionChangeListener { | ||
default void onNewSession(GeckoSession aSession, int aId) {}; | ||
default void onRemoveSession(GeckoSession aSession, int aId) {}; | ||
default void onCurrentSessionChange(GeckoSession aSession, int aId) {}; | ||
default void onNewSession(GeckoSession aSession) {}; | ||
default void onRemoveSession(GeckoSession aSession) {}; | ||
default void onCurrentSessionChange(GeckoSession aOldSession, GeckoSession aSession) {}; | ||
default void onNewTab(Session aTab) {}; | ||
} |
Oops, something went wrong.