• Stepan Khapugin's avatar
    Revert "Fix URL clipping on iOS 11." · 98929d43
    Stepan Khapugin authored
    This reverts commit 2d55caf6.
    
    Reason for revert: fails tests downstream 
    
    Original change's description:
    > Fix URL clipping on iOS 11.
    > 
    > Wraps omnibox textfield into a container that positions the textfield
    > inside of itself and clips its bounds so that the optimal clipping is
    > used. The clipping logic replicates that of the pre-iOS 11 solution
    > with UITextField overrides that are now broken in iOS 11.
    > To mask the clipped ends of the omnibox, a ClippingMaskView is used
    > as a maskView of the clipping view.
    > All of this is behind kClippingTextfield flag that is enabled by
    > default.
    > 
    > Bug: 749788
    > Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    > Change-Id: Ia03649618397d19990d39914fe1fb1b152b2760d
    > Reviewed-on: https://chromium-review.googlesource.com/779191
    > Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
    > Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
    > Reviewed-by: Justin Cohen <justincohen@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#525322}
    
    TBR=rohitrao@chromium.org,sdefresne@chromium.org,justincohen@chromium.org,stkhapugin@chromium.org
    
    Change-Id: I6b97cd711ef968ded8ff9a45574d6670b7c7f05f
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 749788
    Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Reviewed-on: https://chromium-review.googlesource.com/837087Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
    Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#525355}
    98929d43
web_toolbar_controller.mm 74.3 KB