Add signals to make callback more reliable
commitc1873995ca73a5bb03f49fec459572eda534539c
authoryusufo <yusufo@chromium.org>
Thu, 13 Aug 2015 18:07:25 +0000 (13 11:07 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 13 Aug 2015 18:07:55 +0000 (13 18:07 +0000)
tree5e00444a0f93e48ae2f78a86b83886a3bb209737
parente289539dec6e74ff78d1815ade0b8fed48481e04
Add signals to make callback more reliable

Adds notifying the client on
pageLoadFailed: on security error and actual load fail
pageLoadAborted: on user starting new navigation while one is unfinished
tabVisible and  tabHidden.

BUG=517894

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

Cr-Commit-Position: refs/heads/master@{#343232}
chrome/android/java/src/android/support/customtabs/CustomTabsCallback.java
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTab.java
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java