[go: nahoru, domu]

shelf: Separate back button and app list button.

Seperate the back button and app list button into separate elements.
Draws the background in ShelfView::OnPaint. This fixes issues with ink
drop and accessibility focusing not working correctly. Made changes to
ShelfView focus search to accommodate this.

Add back_button_unittest.
Removed app_list_button/back button ink drop unittest which tested
if different parts of the old app list button's ink drop acted
different if different parts were pressed. Not needed as the two
separate buttons' ink drops should work normally.
Removed app_list_button rtl unittest as the buttons should be flipped
normally by the views rtl handling.

Test: ash_unittests *Shelf* *ApplistButton* *BackButton*
Bug: 791638, 758402
Change-Id: I07bdd0b490ffb2619a13cebacf388e2e08190114
Reviewed-on: https://chromium-review.googlesource.com/761856
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Reviewed-by: Michael Wasserman <msw@chromium.org>
Commit-Queue: Sammie Quon <sammiequon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524301}
33 files changed