Linux/ozone GYP builds default to use_pango==true, but linux/ozone GN builds default to use_pango==false. This results in an empty implementation of content::GetFontList_SlowBlocking() being compiled in, which breaks a Pepper API that the Flash plugin depends on
Remove ContentClient::ShouldOptimizeForMemoryUsage and behave like Android all of the time
This is a sensible default for a general purpose webview that can be embedded in many running applications. If we think that the browser specifically would benefit from a different behaviour on the desktop in future, we could always add a new API for tuning things like this
When getting screensize for powerwash reset, making sure the currentScreen is 'reset', not 'account-picker'.
BUG=615088
TEST=Multiple tests on M52, the corrupted powerwash proposal UI doesn't happen any more.
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Current generator's functions are not virtual and doesn't allow the subclass to have polymorphism for the mocks in the test. This CL makes those functions virtual and overridable.
CancelAwareAnimatorListener and Refactor Custom Tab Toolbar Animation
This CL does two things.
1. Introduce CancelAwareAnimatorListener to Chrome. For vanilla
AnimationListener in Android, onAnimationCancel() and onAnimationEnd()
will both be called if Animator is canclled. This is a confusing
behavior and it caused problems in various places.
2. Change the way security icon animation works in custom tab, making
it able to refresh its theme when the color of the toolbar changes.
Prior to this change it was possible for the AcceleratorRegistrarImpl
to outlive the WindowManager and then attempt to use it. This patch
ensures any AcceleratorRegistrarImpl are destroyed when the
WindowManager loses its connection.