Fix NTP nav dots measurement.
The old approach chose the nav dot width by measuring a phantom dot containing the string "Most Visited," but only when the Most Visited dot is shown. This approach fails when it isn't shown, or when the string "Apps" is longer than the string "Most Visited" in the user's local language. Screenshots on the bug. BUG=248495 Review URL: https://codereview.chromium.org/110523004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243529 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment