[Touchless] Add "Remove" context menu item for last tab button
Selecting remove will remove last navigation from history and switch last button to Google logo. The logic is implemented by remembering timestamp of last removed history entry in SharedPreferences. Only History items with later timestamp are displayed on last tab button. BUG=959317 R=wylieb@chromium.org Change-Id: I8e67afca631bbc233d90f34791eff146bc1f37dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1644155Reviewed-by:Brandon Wylie <wylieb@chromium.org> Commit-Queue: Pavel Yatsuk <pavely@chromium.org> Cr-Commit-Position: refs/heads/master@{#666044}
Showing
Please register or sign in to comment