DescriptionAlternate NTP: Show detached bookmark bar
With the new full page NTP the detached bookmark bar was no longer visible.
The problem was that we relied on an instance of NewTabUI to control the bookmark bar visibility. The new full page NTP no longer has an instance of NewTabUI so the bookmark bar was never visible.
Fix was to move the relevant code out of NewTabUI and into BookmarkTabHelper.
BUG=175146
TEST=Ran with instant extended enabled. Verified that the detached bookmark bar was visible.
Added a new test BookmarkInstantExtendedBrowsertest.DetachedBookmarkBar. Verified that the test fails without my patch and passes with it.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182165
Patch Set 1 #Patch Set 2 : add tests #
Total comments: 2
Patch Set 3 : " #Patch Set 4 : address review comments #Patch Set 5 : " #Patch Set 6 : rebase #Patch Set 7 : move to unit_tests #
Total comments: 3
Patch Set 8 : Custom factory function #Patch Set 9 : rebase #Patch Set 10 : fix android build #
Messages
Total messages: 15 (0 generated)
|