DescriptionAdding CrHome-specific implementation for home page tile.
This CL adds an HomePageClient for Android that is only set if the
kChromeHome feature is enabled because the normal NTP has a working
home button.
If either kChromeHome or kPinHomePageAsTileFeature is not enabled,
the MostVisited tiles will not contain the home tile.
Special case: The home tile can be removed as every tile and will be
blacklisted then.
By explicitly enabling (or reenabling) the Homepage, the blacklisting
will be undone and the tile will reappear as first tile.
Removing the home tile does not disable the Homepage setting (because
this setting also controls the start-up page and the home tile is not
visually linked to the home page .... besides having the same URL).
BUG=703994
Review-Url: https://codereview.chromium.org/2897293002
Cr-Commit-Position: refs/heads/master@{#476258}
Committed: https://chromium.googlesource.com/chromium/src/+/3fc1f818eaab417801a21886ce9c293701b10486
Patch Set 1 #
Total comments: 16
Patch Set 2 : Handle empty home page urls #
Total comments: 12
Patch Set 3 : Refactor tests and initialization #
Messages
Total messages: 23 (11 generated)
|