Add unit tests for drag handle nudge.
Other changes: Add test methods to drag_handle class Modified shelf_widget GetDragHandle() to return DragHandle* instead of View* Modified DragHandle::ShowDragHandleNudge() to fetch timeout for current pref instead of taking it as an argument. Fixed bug where ShowDraghandleNudge did not call handleNudgeShown. Revert "Revert "Add unit tests for drag handle nudge."" This reverts commit 4b6df1eb. Bug: 1034168 Change-Id: I73258ce83cd681a936fec907b04ef065b6d10592 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2080558Reviewed-by:Manu Cornet <manucornet@chromium.org> Commit-Queue: Yulun Wu <yulunwu@chromium.org> Cr-Commit-Position: refs/heads/master@{#745695}
Showing
Please register or sign in to comment