Commit Graph

21 Commits (c667cfa0aed57854f5a67c9a9be89810c338096b)

Author SHA1 Message Date
Mugurell 660f0609cb For #18122 - Update browser layout for find in page bar with bottom toolbar
With a dynamic bottom toolbar the  browser extends all the way to the bottom of
the screen and so when the find in page bar is shown it will be so above the
bottom part of the browser which may contain exactly the searched for items.

To fix the browser must effectively be placed at the top of the newly shown
find in page bar.
3 years ago
Mugurell b36431a6df For #18616 - Update browser and toolbar layout when toolbar is at top
FindInPageIntegration which already updated the toolbar to make room for the
find in page bar now receives more data based on which it will be able to
better update the layout of BrowserFragment to to support showing the find in
page bar.
3 years ago
Michael Comella 4437ddd536 No issue: Move Do and OpenClass to utils pkg.
They were both in their packages by themselves, which feels unnecessary.
Unfortunately, a utils pkg is discouraged by kotlin but we don't have a
better place for them right now. Maybe an annotations/ pkg for the
latter?
4 years ago
Mihai Adrian 0a412a1a6a For #6992 Always hide toolbar when showing find in page bar (#7567) 4 years ago
Christian Sadilek 7552bacb32 For #778: Follow-up to fix find in page 5 years ago
Tiger Oakes 78bc829735 Closes #778 - Progressive Web Apps! (#4914) 5 years ago
Christian Sadilek ac2611d744 Upgrade to A-C 15.0.0-SNAPSHOT (incl. required changes) (#5578)
* Upgrade to Mozilla Android components 15.0.0-SNAPSHOT

* Update findinpage integration to use browser-state

* Use new UseCases APIs after download migration.
5 years ago
Mihai Adrian 1767bd5569 For #5174 Changed FindInPage height to toolbar height to cover QAB (#5376) 5 years ago
Petru Lingurar 53341f620a Code cleanup - Remove unused FindInPageBarBehavior
There is a "unused" lint suppression in place with the comment
"Referenced from XML". I found no such usage.
It's documentation says that this Behavior will always position FindInPageBar
above BrowserToolbar but the current code ensures
BrowserToolbar.visibility == GONE when FindInPageBar.visibility == VISIBLE
so there's no need for such behavior.
5 years ago
Jonathan Almeida 23f5ac0fb9 For #4066: Create InflationAwareFeature for lazy inflation 5 years ago
Colin Lee 519c3bde5d For #4066: Provide lazy inflation of Find In Page View 5 years ago
Sebastian Kaspari 9b1e63224c Closes #4052: Remove pending intent workaround. (#4059)
Previously we needed to set a static launch function to be invoked when the find in page
integration should be launched. Now we can access the integration class directly and
can avoid the static property that caused issues when used by multiple activities.
5 years ago
Emily Kager ce2d597af3 For #203 - Adds find in page and request desktop site to custom tab menu (#3835) 5 years ago
ekager 7fa4cf4487 Use sessionId in FIP Integration, use pendingIntent for startActivity 5 years ago
ekager 6d0a4fdb4d Revert "For #3609 - Remove FIP Integration, Use FIP Feature"
This reverts commit 428643d598e938f58a2fe4abfee417c46edec167.
5 years ago
Emily Kager 084fab77d4 For #3609 - Remove FIP Integration, Use FIP Feature (#3637) 5 years ago
ekager 98a40aabd7 For #2223 , For #371 - Replace Toolbar with FIP when opened 5 years ago
Colin Lee 96b68948b5
For #1710: Create scaffolding for Robolectric tests (#2282) 5 years ago
Grisha Kruglov 77e7c6d33c A-C breaking change: FindInPageIntegration needs an engineView 5 years ago
Sebastian Kaspari cf260e4b8d Use ViewBoundFeatureWrapper and BackHandler from the base component. 5 years ago
Jeff Boek a6004fea20 Closes #146 & Closes #147: Integrates find in page
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
5 years ago