* Add UI for always on feature
Add roboto flex font
* Add always on tutorial image resources with tab selectors
* Update UI chanegs for always on tutorial
* Add license headers for resources
Update text change with license header
* Refactor fragments creation for onboarding adapter
* Fix illegal state exception when tapping on backup now button
* Rename `CryptoWalletOnboardingPagerAdapter` to `WalletOnboardingPagerAdapter`
* Reset terms of use checkbox states
* Enable Bitcoin by default on Android
* Introduce supported coin types for account selector
* Return Bitcoin logo for Bitcoin mainnet and testnet
* Remove unused methods and simplify CryptoModel implementation
* Implement Wallet creation method that includes selected networks
* Refactor network model and remove unused networks
* Perform refactoring to onboarding fragments and their model
* Include new network selection fragment
* Return keyring IDs for Bitcoin mainnet and testnet
* Add Neon logo
* Include Bitcoin among supported networks
* Simplify layout to avoid view pager glitches
* Remove plus button from network selector
* Implement new auto span grid layout manager
* Implement new adapter that shows available networks
Chromium changes:
https://source.chromium.org/chromium/chromium/src/+/bfcf11b488c2d0156367fadbe184c18496bc69f1
M124: Read Aloud: fix browser controls position issues after theme change
If the theme is changed during playback, the player UI is recreated
while the main activity isn't visible the settings activity is on
screen instead.
* The top toolbar control container height is 0, so when called back
with browser controls offset changes, getToolbarExtraYOffset()
gives the wrong result, placing the toolbar too low.
* The bottom controls need to be translated to match the bottom
controls min height whenever the real view becomes visible, not
just at the end of min height animations.
* Plumb the Read Aloud mini player show status over to
BottomControlsMediator to help with positioning the bottom controls
after restore when the usual height change animation callback won't
be called.
(cherry picked from commit dc98643c9f66679b69636a5138e345338de3b758)
Bug: 329823963
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/4ee04e1e571efd8ee8ec0a29cb35cb1da9835bb8
4ee04e1
Compare
Browse
Copy full hash
Introduce common SearchActivity call-up mechanism.
This change introduces a SearchActivityClient, a standalone interface
that permits components to call up SearchActivity.
The component allows us to provide a simple scalable solution for all
SearchActivity use cases. The intention is to migrate multiple
different invocation mechanisms to a single, easily expandable
mechanism that can encompass them all.
Bug: 327023983
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/ee6035ab3770ea4e92fead9dd0622cfab6d75388
Update Read Aloud magic toolbar button when page is translated
The page's readability may have changed if it was translated, so the
button should check again and possibly show or hide itself.
Underlying changes:
- Add a TranslationObserver to the selected tab as needed
- Change how ReadAloudController notifies outside features of readability events
This is a reland of https://chromium-review.googlesource.com/c/chromium/src/+/5319377 with fixes: the TranslationObserver can't be registered in onPageLoadStarted() because it runs for a temporary WebContents during tab restore and there's no chance to unregister.
Bug: 326287049
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/367b1c908323ca11e1380dbded7d96b840a582bf
Revert "[SurfacePolish] Fix bug about toolbar flips to white when navigating"
This reverts commit 2c24369515ffb61dfca8e5ae252240e41b5571e4.
Reason for revert: Toolbar color got wrong when navigate to native pages and google webpages.
Original change's description:
> [SurfacePolish] Fix bug about toolbar flips to white when navigating
> from NTP to webpage
>
> When navigating from the NTP to a webpage, the toolbar color initially
> changes to the default toolbar color during the loading phase. It will
> change to the browser tab's color or stay unchanged after the loading
> phase. The loading process occurs directly on the NTP. However, with the
> Start Surface Polish enabled, the NTP's toolbar has a different color
> than the default toolbar, and this results in a flip of white when
> navigating from NTP to webpage, as shown in the
> image:
> https://drive.google.com/file/d/1ywogmzelW1OQwGdPCvrd0EndFkAbvCoM/
> view?usp=sharing&resourcekey=0-XV6pRmumU3L4vy36HRSJ4w.
> This CL aims to fix this problem.
>
> When navigating from the NTP to a webpage, the ToolbarPhone#mVisualState
> will immediately turn from VisualState.NEW_TAB_NORMAL or
> VisualState.NEW_TAB_SEARCH_ENGINE_NO_LOGO to VisualState.NORMAL called
> by function ToolbarPhone#onTabOrModelChanged. This is the starting point
> of the loading phase.
>
> The ending point of the loading phase is the time we know if we have a
> website theme color. The time we start to know whether the website has
> its theme color is the time point ToolbarPhone#onPrimaryColorChanged()
> gets called. Since this function won't be called when the website does
> not have a specific theme color, I added a function
> ToolbarPhone#onPrimaryColorGotUpdateNotified() instead. The newly added
> function will be called at the same time if
> ToolbarPhone#onPrimaryColorChanged() gets called. And the ending point
> is marked inside this function.
>
> After this CL, the navigation process will look like
> this:
> https://drive.google.com/file/d/1FchVCPWj3DnLaMoZ1Z5Ra_7Z6SIavRSV/
> view?usp=sharing&resourcekey=0-tT-y6F12OihXzxjeTnRaIw
>
> Bug: 323888159
> Change-Id: I0e790c2c140a118b8863194f78932168067861cd
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272687
> Reviewed-by: Theresa Sullivan <twellington@chromium.org>
> Commit-Queue: Xinyi Ji <xinyiji@chromium.org>
> Reviewed-by: Sky Malice <skym@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1266588}
Bug: 323888159
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/57a7761b2055997dccd9b566e1c42226734a1dbe
[Tab Group] Fix getTabGroupCount for tab groups with size 1
TabGroupModelFilter wasn't correctly tracking tab groups with size 1.
Increment when:
* Creating a single tab group.
* Adding a single tab that is in a tab group.
Decrement when:
* Closing the last tab in a group rather than when size becomes 1.
* Removing the last tab from a tab group with size 1.
Modify logic when adding a tab to the tab model as part of a group
so that the group is created later and we can properly signal if a
new group was created or not.
Bug: 41496693
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/8caccdd5507b623e0855a97d8cf08b9dbe350413
Revert "[E2E] Adjust Bottom Controls Toolbar height"
This reverts commit 868ff7f680a9e90147d4bca69b086a268f128cf8.
Reason for revert: See bug 327635899
Original change's description:
> [E2E] Adjust Bottom Controls Toolbar height
>
> Updates the BottomControls to use an appropriate Bar height when drawing ToEdge.
>
> Swiping on the Top Toolbar to switch tabs looks terrible, but I don't think hardly any users do that. Though we have bugs on that. Maybe we can add tests when we add that fix.
>
> BUG=41483234
>
> Change-Id: I4cbba784a2f5e3ea00cd619656d2768cb621f7df
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5276443
> Reviewed-by: Theresa Sullivan <twellington@chromium.org>
> Commit-Queue: Donn Denman <donnd@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1266214}
Bug: 41483234, 327635899
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/2c24369515ffb61dfca8e5ae252240e41b5571e4
[SurfacePolish] Fix bug about toolbar flips to white when navigating
from NTP to webpage
When navigating from the NTP to a webpage, the toolbar color initially
changes to the default toolbar color during the loading phase. It will
change to the browser tab's color or stay unchanged after the loading
phase. The loading process occurs directly on the NTP. However, with the
Start Surface Polish enabled, the NTP's toolbar has a different color
than the default toolbar, and this results in a flip of white when
navigating from NTP to webpage, as shown in the
image:
https://drive.google.com/file/d/1ywogmzelW1OQwGdPCvrd0EndFkAbvCoM/
view?usp=sharing&resourcekey=0-XV6pRmumU3L4vy36HRSJ4w.
This CL aims to fix this problem.
When navigating from the NTP to a webpage, the ToolbarPhone#mVisualState
will immediately turn from VisualState.NEW_TAB_NORMAL or
VisualState.NEW_TAB_SEARCH_ENGINE_NO_LOGO to VisualState.NORMAL called
by function ToolbarPhone#onTabOrModelChanged. This is the starting point
of the loading phase.
The ending point of the loading phase is the time we know if we have a
website theme color. The time we start to know whether the website has
its theme color is the time point ToolbarPhone#onPrimaryColorChanged()
gets called. Since this function won't be called when the website does
not have a specific theme color, I added a function
ToolbarPhone#onPrimaryColorGotUpdateNotified() instead. The newly added
function will be called at the same time if
ToolbarPhone#onPrimaryColorChanged() gets called. And the ending point
is marked inside this function.
After this CL, the navigation process will look like
this:
https://drive.google.com/file/d/1FchVCPWj3DnLaMoZ1Z5Ra_7Z6SIavRSV/
view?usp=sharing&resourcekey=0-tT-y6F12OihXzxjeTnRaIw
Bug: 323888159
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/868ff7f680a9e90147d4bca69b086a268f128cf8
[E2E] Adjust Bottom Controls Toolbar height
Updates the BottomControls to use an appropriate Bar height when drawing ToEdge.
Swiping on the Top Toolbar to switch tabs looks terrible, but I don't think hardly any users do that. Though we have bugs on that. Maybe we can add tests when we add that fix.
BUG=41483234
Change-Id: I4cbba784a2f5e3ea00cd619656d2768cb621f7df
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/569c01f6e22852817a35e507bf73739e6f4649c4
[Accessibility Settings] Move AccessibilitySettings to embedder
This continues the work of removing complexity from the accessibility
settings flow. In this CL we move AccessibilitySettings and the related
TextScalePreference files to the //chrome/ package.
AX-Relnotes: N/A
Bug: 326608838