Improve back button behavior.
commit0cd941ea2fcb1c5c7d20dd5c5e6feba227e31ea9
authormariakhomenko <mariakhomenko@chromium.org>
Fri, 18 Sep 2015 21:56:57 +0000 (18 14:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 21:57:35 +0000 (18 21:57 +0000)
tree5fbde3dde54ef3a754c332868b28307cb1a522ce
parent0cccfc5b6874e290d1ce19ec24b0286e8d3a0f1e
Improve back button behavior.

When Chrome loads a URL from another app that resolves to an intent that
ends up in another application, get rid of Chrome from within the back
stack before the tab is closed. This allows the user to go back to the
original application that launched it (instead of getting stuck on a
different Chrome tab, potentially with a back stack).

BUG=487938

Review URL: https://codereview.chromium.org/1346283004

Cr-Commit-Position: refs/heads/master@{#349777}
chrome/android/java/src/org/chromium/chrome/browser/tab/ChromeTab.java