• manuk hovanesian's avatar
    Revert "omnibox: reset display url when re-navigating to the current page by clicking a link" · 81446466
    manuk hovanesian authored
    This reverts commit b7e58d9d.
    
    Reason for revert: Introduced regression issues relating to omnibox text being cleared.
    
    Original change's description:
    > omnibox: reset display url when re-navigating to the current page by clicking a link
    > 
    > Previously, if navigating a link did not cause a url change (e.g. clicking on the `stackoverflow` logo on the `stackoverflow.com` homepage reloads the same page), then the display url remained unchanged. If the user had deleted or edited the url, his changes would remain. Now, the url is reset.
    > 
    > Bug: 830491
    > Change-Id: If1aa07715175d7d5bd5b12a65d9e1d9529aca3b5
    > Reviewed-on: https://chromium-review.googlesource.com/1103233
    > Commit-Queue: manuk hovanesian <manukh@chromium.org>
    > Reviewed-by: Tommy Li <tommycli@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#568831}
    
    TBR=tommycli@chromium.org,manukh@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 830491
    Change-Id: If20093795454513c9734fa2c8ed686843e83a683
    Reviewed-on: https://chromium-review.googlesource.com/1113879Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
    Commit-Queue: manuk hovanesian <manukh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#570165}
    81446466
omnibox_view_browsertest.cc 78 KB