MacViews: Fix app_list_unittests for mouseover change in r311143
commit5657bc22e55a5d9bc4e5cb63e9b4b0ffc55ed377
authortapted <tapted@chromium.org>
Wed, 14 Jan 2015 00:46:30 +0000 (13 16:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 14 Jan 2015 00:49:10 +0000 (14 00:49 +0000)
treee26567cfe6bfcfb06bc27b445996eca428423a35
parenta35c6d5cd11e0270f5c4d83c602a44707e1d49d0
MacViews: Fix app_list_unittests for mouseover change in r311143

Compile of app_list_unittests on toolkit-views enabled Mac regressed in
r311143 because it accessed aura::Window and there is no Aura on Mac
yet.

The MouseHoverToHighlight passes on Mac - it just needs to initialize
the event generator differently.

TapGestureToHighlight is disabled on Mac, since there are no touch
events on desktop Mac.

BUG=441573, 445520, 365977

Review URL: https://codereview.chromium.org/840373003

Cr-Commit-Position: refs/heads/master@{#311375}
ui/app_list/views/app_list_main_view_unittest.cc