[WebLayer] Reuse Chrome's InfoBarCompactLayout.java
//chrome's InfoBarCompactLayout.java has been componentized and //weblayer can now use it directly rather than a custom fork. This CL makes that change. The only differences in the //weblayer version were the following: - It had brought in the createCloseButton() implementation from //chrome's InfoBarLayout.java as InfoBarLayout.java wasn't brought into //weblayer for the initial implementation. The componentized InfoBarCompactLayout.java calls the now-componentized InfoBarLayout.java directly. The implementations are identical. - It forked a string resource; this CL undoes that forking. Again, the values of the resource were identical. There is no functional change. Bug: 1099169 Change-Id: Idefdf0c0726f79512f10cc82ddc93ffd453f7dc4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2265994Reviewed-by:Clark DuVall <cduvall@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#782989}
Showing
This diff is collapsed.
Please register or sign in to comment