Commit b62c1998 authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Add exclusive touch to toolbar buttons

This CL enables the exclusive touch on the toolbar buttons. It won't
be possible to do two actions at the same time including a button.

Bug: 878348
Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
Change-Id: I2a2e6f93cc42731ccd0d5730464cf0eb1ceca278
Reviewed-on: https://chromium-review.googlesource.com/1219487Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590278}
parent 5dc19a54
...@@ -493,6 +493,7 @@ const int styleCount = 2; ...@@ -493,6 +493,7 @@ const int styleCount = 2;
constraint.active = YES; constraint.active = YES;
if (IsUIRefreshPhase1Enabled()) { if (IsUIRefreshPhase1Enabled()) {
button.configuration = self.toolbarConfiguration; button.configuration = self.toolbarConfiguration;
button.exclusiveTouch = YES;
} }
} }
......
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