-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS][MICE] Fix janky transition animations in web sign-in.
Ensure that the total container height is set with the same value across all subviews. Fixed: 1228678 Change-Id: I4e9f250b11bf560a28fbe4c6b527c0afab3bb901 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3059486 Auto-Submit: Nohemi Fernandez <fernandex@chromium.org> Commit-Queue: Jérôme <jlebel@chromium.org> Reviewed-by: Jérôme <jlebel@chromium.org> Cr-Commit-Position: refs/heads/master@{#906788}
- Loading branch information
Nohemi Fernandez
authored and
Chromium LUCI CQ
committed
Jul 29, 2021
1 parent
b81b778
commit 63a9421
Showing
5 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...ntication/signin/consistency_promo_signin/consistency_sheet/consistency_sheet_constants.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright 2021 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_CONSISTENCY_PROMO_SIGNIN_CONSISTENCY_SHEET_CONSISTENCY_SHEET_CONSTANTS_H_ | ||
#define IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_CONSISTENCY_PROMO_SIGNIN_CONSISTENCY_SHEET_CONSISTENCY_SHEET_CONSTANTS_H_ | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
// Maximum height ratio for the bottom sheet container view. | ||
extern const CGFloat kMaxBottomSheetHeightRatioWithWindow; | ||
|
||
#endif // IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_CONSISTENCY_PROMO_SIGNIN_CONSISTENCY_SHEET_CONSISTENCY_SHEET_CONSTANTS_H_ |
11 changes: 11 additions & 0 deletions
11
...tication/signin/consistency_promo_signin/consistency_sheet/consistency_sheet_constants.mm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2021 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#import "ios/chrome/browser/ui/authentication/signin/consistency_promo_signin/consistency_sheet/consistency_sheet_constants.h" | ||
|
||
#if !defined(__has_feature) || !__has_feature(objc_arc) | ||
#error "This file requires ARC support." | ||
#endif | ||
|
||
const CGFloat kMaxBottomSheetHeightRatioWithWindow = 0.75; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters