Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Multiwindow implementation #1467

Merged
merged 41 commits into from
Aug 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d329fe2
Remove unused code
MortimerGoro Jul 10, 2019
75b0c38
Added support for browser context menus
keianhzo Jul 3, 2019
b6bd4e7
Sessions Multiwindow implementation
keianhzo Jul 1, 2019
34a5bd5
Refactored session settings to SessionManager
keianhzo Jul 1, 2019
87075dc
Implement window placement logic
MortimerGoro Jul 1, 2019
c3dcbcd
Keyboard multiwindow placement
MortimerGoro Jul 3, 2019
89e97cc
Context Menu integration
keianhzo Jul 4, 2019
38283c0
Fix parenting bug with three window moves
MortimerGoro Jul 4, 2019
c716e64
Fix relayout on window resize. Set up better anchor points for left/r…
MortimerGoro Jul 4, 2019
af173cd
Fixed Bookmarks navigation
keianhzo Jul 4, 2019
1844ca3
Close sessions when a window is closed
keianhzo Jul 4, 2019
2076cb2
Add new tray icons
MortimerGoro Jul 5, 2019
f208663
Session restore
keianhzo Jul 8, 2019
3b39a1f
Fix resize gesture flickering and conflicts.
MortimerGoro Jul 8, 2019
a2c0a77
Added support for restoring private sessions
keianhzo Jul 8, 2019
7d1ac4a
Save and restore window sizes
MortimerGoro Jul 8, 2019
3fab308
Set up max reside sizes for multiwindow
MortimerGoro Jul 8, 2019
3d9f6d8
Exit fullscreen when window is closed
keianhzo Jul 8, 2019
5e074f4
Fix fullscreen mode: hide other windows and make the fullscreened win…
MortimerGoro Jul 8, 2019
d4f7640
Fixed ADB issue and double loadUri when restoring windows.
keianhzo Jul 8, 2019
b282563
Make max windows dialog match spec
keianhzo Jul 8, 2019
bf17767
Curved mode fixes
MortimerGoro Jul 9, 2019
0736256
Fix rebase issues
MortimerGoro Jul 10, 2019
bcc6c73
Fix cylindrical mode math for multiwindow.
MortimerGoro Jul 15, 2019
c4ca003
Fixed performance monitor from rebase and added missing tooltips
keianhzo Jul 19, 2019
a38e990
Rebase fixes
keianhzo Jul 23, 2019
31d200e
New Settings spec rebase fixes
keianhzo Jul 24, 2019
8a5a0d2
Added User-Agent multi-window support and fixed session restore issues
keianhzo Jul 24, 2019
85bb620
Fix Tasckluster NoApi compilation issue
keianhzo Jul 30, 2019
c1bbed5
Fixed context menu issues
keianhzo Jul 31, 2019
14123d7
More ContextMenu fixes
keianhzo Jul 31, 2019
6486336
Fixed move window buttons get stuck in hover state
keianhzo Aug 1, 2019
9aa2bba
Disable left/right move buttons when in private mode single window
keianhzo Aug 1, 2019
1cd1c93
Multi-window Telemetry (#1443)
keianhzo Aug 1, 2019
16fc13d
Remove unneeded switchBookmarks call which causes a surface resize ea…
MortimerGoro Aug 1, 2019
6ac4a0b
Dime out world when closing a window
keianhzo Aug 1, 2019
ae5d870
Rebase fixes
MortimerGoro Aug 1, 2019
d97bd86
SessionStore rename
keianhzo Aug 2, 2019
86b1700
Fix for session restore in WaveVR
keianhzo Aug 2, 2019
992dcdb
Fix movable keyboard for multiwindow
MortimerGoro Aug 2, 2019
44bb21f
Rebase fixes
keianhzo Aug 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ android {
}

lintOptions {
disable "LogUsage", "ExtraTranslation"
disable "ExtraTranslation"
}

packagingOptions {
Expand Down Expand Up @@ -428,6 +428,7 @@ dependencies {
implementation deps.support.vector_drawable
implementation deps.support.annotations
implementation deps.constraint_layout
implementation deps.gson

// Android Components
implementation deps.mozilla_speech
Expand Down
16 changes: 7 additions & 9 deletions app/src/common/shared/org/mozilla/vrbrowser/DataRepository.java
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
package org.mozilla.vrbrowser;

import android.content.Context;

import org.mozilla.vrbrowser.browser.SessionStore;
import org.mozilla.vrbrowser.db.AppDatabase;
import org.mozilla.vrbrowser.db.entity.BookmarkEntity;
import org.mozilla.vrbrowser.model.Bookmark;

import java.util.List;

import androidx.annotation.NonNull;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleOwner;
import androidx.lifecycle.LifecycleRegistry;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MediatorLiveData;

import org.mozilla.vrbrowser.browser.engine.SessionStore;
import org.mozilla.vrbrowser.db.AppDatabase;
import org.mozilla.vrbrowser.db.entity.BookmarkEntity;
import org.mozilla.vrbrowser.model.Bookmark;

import java.util.List;

public class DataRepository implements LifecycleOwner {

private static DataRepository sInstance;
Expand Down
Loading