Commit 7122bbaa authored by Javier Ernesto Flores Robles's avatar Javier Ernesto Flores Robles Committed by Commit Bot

[iOS][MF] Tweaks to the Manual Fallback popover

Sets the background color to white.
Changes the preffered height to 360.

Bug: 878388, 845472
Change-Id: If4ff0363808af7c373e4f70d9d664196867fdbb6
Reviewed-on: https://chromium-review.googlesource.com/c/1350967Reviewed-by: default avatarYi Su <mrsuyi@chromium.org>
Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611632}
parent 499f14ff
...@@ -70,6 +70,7 @@ initWithBaseViewController:(UIViewController*)viewController ...@@ -70,6 +70,7 @@ initWithBaseViewController:(UIViewController*)viewController
popoverPresentationController.permittedArrowDirections = popoverPresentationController.permittedArrowDirections =
UIPopoverArrowDirectionUp | UIMenuControllerArrowDown; UIPopoverArrowDirectionUp | UIMenuControllerArrowDown;
popoverPresentationController.delegate = self; popoverPresentationController.delegate = self;
popoverPresentationController.backgroundColor = UIColor.whiteColor;
} }
#pragma mark - ChromeCoordinator #pragma mark - ChromeCoordinator
......
...@@ -27,7 +27,7 @@ namespace { ...@@ -27,7 +27,7 @@ namespace {
constexpr float PopoverPreferredWidth = 320; constexpr float PopoverPreferredWidth = 320;
// This is the maximum height used for |self.preferredContentSize|. // This is the maximum height used for |self.preferredContentSize|.
constexpr float PopoverMaxHeight = 250; constexpr float PopoverMaxHeight = 360;
} // namespace } // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment