Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java

Issue 2891343003: [Home] Make the new NTP over the tab switcher design the default (Closed)
Patch Set: [Home] Make the new NTP over the tab switcher design the default Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java
index 0cfe57c1a9fe16021a02d236a8d69e2b875a857c..6db1a5646df539617e73ad07ecf42f8e5698ec9b 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java
@@ -1234,4 +1234,12 @@ public class BottomSheet
preferences.edit().putBoolean(BOTTOM_SHEET_HELP_BUBBLE_SHOWN, true).apply();
}
+
+ /** Ends all animations. */
+ @VisibleForTesting
+ public void endAnimationsForTests() {
+ if (mSettleAnimator != null) mSettleAnimator.end();
+ mSettleAnimator = null;
+ endTransitionAnimations();
+ }
}

Powered by Google App Engine
This is Rietveld 408576698