Make NewTabPageAdapter the only source of truth for adapter item positions.
Also while I'm here: * Eliminate some hard coded position calculations * Contain the remaining position calculations in helper functions * Rename some members for consistency and clarity * Delete unused NewTabPageRecyclerView#getLinearLayoutManager BUG=616090 Review-Url: https://codereview.chromium.org/2158413004 Cr-Commit-Position: refs/heads/master@{#407498}
Showing
This diff is collapsed.
Please register or sign in to comment