Commit Graph

47 Commits (48ea10cd9d62ae924757a528656265f5805019f1)

Author SHA1 Message Date
Jeff Boek f9b2d65993 For #5745 - Create preference to disable domain autocompletion 4 years ago
Jonathan Almeida 9568bdaed8 Update Android Components and fix breaking tests 4 years ago
Tiger Oakes 52de2b8f38 Fix license on remaining files 4 years ago
Jeff Boek 11e2137fab
For #12806 - Adds unit tests to cover `ToolbarView.update()` (#12807) 4 years ago
Tiger Oakes a0491b702e
Fix nav graph and theme tests (#12567) 4 years ago
Tiger Oakes 1ff64cab67
Add tests for search (#12437) 4 years ago
Sebastian Kaspari 388c144a62 SearchFragmentStore: Remove Session reference from state and read values from BrowserStore. 4 years ago
Michael Comella 5ef6b49aa1
For #8795: remove redundant ConstraintLayout around BrowserToolbar. (#12014)
This is functionally equivalent to the code before this patch but should
be slightly more performant in theory because ConstraintLayout is
expensive to inflate.

The elevation and layoutParams set dynamically appeared to have no effect
with the wrapping view but broke the view when used by itself so I had
to remove them. I also updated a few other unnecessary params.

Theoretically this may have some perf benefits but I didn't see anything
outside noise levels after I took the numbers (but I didn't try very
hard).
4 years ago
ekager c77ddd8d26 For #11866 - Update back press logic for SearchFragment 4 years ago
Sachin 988513aa89
for #10568 moved awesomebar and toolbar into fragment_search (#11744) 4 years ago
Christian Sadilek ec1d4e8fca For #8399: Hide keyboard to prevent content resizes
This hides the keyboard after committing a URL in the
Toolbar right before we navigate from the SearchFragment
to the BrowserFragment. If the BrowserFragment is being
displayed before the keyboard is gone an expensive
resize of the engine view (content) is triggered when the
keyboard finally goes away. This is to prevent that.
4 years ago
Sawyer Blatz 208a58bc58
Issue #9598 & #8697: Fixes force expand crash (#9599) 4 years ago
Sawyer Blatz edd1f013ba For #5308: Show search shortcuts for search term queries 4 years ago
Christian Sadilek 20387401b1 Issue #7863: Ensure parent process triggers speculative connect 4 years ago
Harshal Lele e318cd7d15 fix #8135 - remove getColorFromAttr 4 years ago
Sawyer Blatz 13c9c39658 For #4383: Add feature flag 4 years ago
Sawyer Blatz 009a7f3020 For #4383: Enable dynamic bottom toolbar 4 years ago
Emily Kager 9adc617765 For #8358 - Make sure we don't cancel toolbar editing more than once 4 years ago
Sawyer Blatz faa4136685 For #7347: Fixes background of search field 4 years ago
kglazko 300d8317e1
Issue 5366 Vector Drawable Compat (#6904) 5 years ago
Sawyer Blatz 769c1e422d For #5694 & #6054: Allows users to change toolbar position (#6608)
* For #5694 & #6054: Adds preference screen for toolbar

* For #5694: Adds changing toolbar position functionality

* No issue: Updates telemetry links to actually work lol 😬

* For #6054: Adds toolbar position to core ping
5 years ago
Sebastian Kaspari 9543f38978 Use new toolbar API of AC 18.0.0. 5 years ago
Tiger Oakes 284cbab9ea Use .orEmpty() 5 years ago
Sawyer Blatz fdd2b59fb8 For #4155: Adds popup menu for browser toolbar 5 years ago
Sebastian Kaspari 61e84c161d Rename SearchStore/State/Action to SearchFragmentStore/State/Action. 5 years ago
Emily Kager b9f6f7fa93 For #4779 : Don't double navigate with global directions in HomeActivity 5 years ago
Nikit Bhandari 46de06d132 For #4339 reduce build warnings (#4340) 5 years ago
Amaan Marfatia 4c13f45e9e Fixes #4192: Private keyboard in private browsing (#4345)
Sets compliant keyboards to private mode when in private browsing.
5 years ago
Sawyer Blatz 6fa022c2f8
For #4124: Migrate BrowserToolbar to Libstate (#4279)
* For #4124: Migrate BrowserToolbar to Libstate

* Restores QuickActionSheetReducer

* Improve tests

* Make QuickActionSheetController

* Finalize tests

* Breaks out QuickActionSheetState

* Fix comments

* Adds BrowserStoreTest
5 years ago
Tiger Oakes c2e6e25bef Fixes #4005 - Move getColorFromAttr to Context 5 years ago
Jeff Boek e4ff70c542
For #3633 - Refactors the search screen to use lib-state
* For #3633 - Adds SearchStore

* For #3633 - Refactors AwesomeBarUIView

* For #3633 - Refactors ToolbarUIView to use lib-state

* For #3633 - Fixes a couple of state bugs

* For #3633 - Moves all user interaction to SearchInteractor

* For #3633 - Adds kdocs to SearchStore and SearchInteractor

* For #3633 - Adds documentation for the properties on SearchState
Also removes uneccessary property

* For #3633 - Creates `StateViewModel` to handle state restoration

* For #3633 - Adds a test for onTextChanged

* For #3633 - Adds tests for SearchInteractor

* For #3633 - Fixes bugs and adds documentation
5 years ago
Jeff Boek 4873d989a0 Moves the shared toolbar component to the components package 5 years ago
Colin Lee cbb26cb45f Handle multitasking via toolbar actions 5 years ago
Colin Lee f09dc2453f Fixes #351 Create home screen component for multitasking 5 years ago
Sebastian Kaspari cf260e4b8d Use ViewBoundFeatureWrapper and BackHandler from the base component. 5 years ago
Sawyer Blatz a4fe413537 Closes #412: Enforces consistent naming in colors.xml 5 years ago
Sawyer Blatz d09dc149ed
Closes #363 & Closes #364: Adds private browsing theme (#405)
* For #345 #346 - Adds private browsing theme

Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>

* Abstracts theme management

* Theme browser toolbar

* Remove unused imports

* Begin work on sharedPreferences

* fix lint

* #346 - Refactors ThemeManager to take a callback

* Adds clean status bar and nav bar

* lint

* Themes settings icons better

* Small clean up
5 years ago
ekager 0298950025 Closes #335 - Adds Report Site Issue Menu Item 5 years ago
Jeff Boek b8ab51318e For #355 - re-adds the request desktop functionality 5 years ago
Jeff Boek 98a1ae578e For #355 - Present the Library when the menu item is tapped 5 years ago
Colin Lee 623dc55eac Fixes #391: Home button is not visible 5 years ago
Jonathan Almeida 21508f49ca WIP: Integrate feature-customtabs component 5 years ago
Emily Kager e358ea138a Adds new home icon and adds padding to URL background 5 years ago
Jeff Boek 461664ed87 For #364 - Refactors BrowserFragment to use the ToolbarComponent
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
5 years ago
Jeff Boek dbea570747 For #364 - Moves edit mode to be a part of the toolbar component state
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
5 years ago
Colin Lee 0120558fce Enforce unidirectional arch better 5 years ago
Jeff Boek ed1e563087 Pull awesome bar into a component 5 years ago