Add info menu item in history home page

Desktop / Chromium - huayinz [chromium.org] - 16 June 2017 13:23 EDT

Before: + privacy disclaimers are always shown if signed in

After: + info menu item will show in toolbar if signed in and user can toggle the button to show privacy disclaimers

BUG=689322

Review-Url: https://codereview.chromium.org/2932413002 Cr-Commit-Position: refs/heads/master@{#480088}

9343320 Add info menu item in history home page
chrome/android/java/res/layout/history_header.xml | 1 +
.../android/java/res/menu/history_manager_menu.xml | 7 +++-
.../browser/download/ui/DownloadManagerUi.java | 10 ++----
.../chrome/browser/history/HistoryAdapter.java | 25 ++++++++++---
.../chrome/browser/history/HistoryManager.java | 29 +++++++++++++++
.../browser/history/HistoryManagerToolbar.java | 17 +++++++++
.../widget/selection/SelectableListToolbar.java | 31 +++++++++++++++-
.../browser/history/HistoryActivityTest.java | 42 ++++++++++++++++++++++
8 files changed, 147 insertions(+), 15 deletions(-)

Upstream: git.chromium.org


  • Share