Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Closes #832: Adds custom tabs menu #944

Merged
merged 1 commit into from
Mar 13, 2019
Merged

Conversation

sblatz
Copy link
Contributor

@sblatz sblatz commented Mar 11, 2019

This is currently blocked on merging until my a-c patch lands

@sblatz sblatz requested a review from a team as a code owner March 11, 2019 17:52
@ghost ghost assigned sblatz Mar 11, 2019
@ghost ghost added in progress labels Mar 11, 2019
@boek boek added the 🙅 waiting Issues that are blocked or has dependencies that are not ready label Mar 11, 2019
intent.action = Intent.ACTION_VIEW
intent.data = Uri.parse(session?.url)
startActivity(intent)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can file a follow-up: In theory you can re-use the same Session. This will avoid reloading the page and the tab will keep all its history and so on. All you need to do is to clear the CustomTabConfig and then select the Session in the SessionManager.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried implementing this, but am getting a displayAlreadyAcquired crash when doing so. I believe we need to fix this bug before we can implement this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow up issue here: #966

@sblatz sblatz requested a review from a team March 12, 2019 21:25
@sblatz sblatz removed the 🙅 waiting Issues that are blocked or has dependencies that are not ready label Mar 12, 2019
Copy link
Contributor

@boek boek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I think we should follow up and leverage the architecture to define whether or note the toolbar is in a "CustomTab" state versus an internal piece reaching out to the sessionManager.

@sblatz sblatz merged commit 33b83fb into mozilla-mobile:master Mar 13, 2019
@ghost ghost removed in progress labels Mar 13, 2019
@sblatz sblatz deleted the 832 branch March 14, 2019 21:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants