Refactor taskbar anchoring tests on Windows to match Mac tests.
commited876a38a3afe16074ce8506b8d710c93bf86498
authormgiuca@chromium.org <mgiuca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Nov 2013 01:53:53 +0000 (22 01:53 +0000)
committermgiuca@chromium.org <mgiuca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Nov 2013 01:53:53 +0000 (22 01:53 +0000)
tree72cf30bda1be3c7b4daaae523a5d7948c3ccec68
parent4088783c8eeb9ccebc4cd6024ea3ba9316b37bd4
Refactor taskbar anchoring tests on Windows to match Mac tests.

This affects both AppListWinUnitTest and AppListPositionerUnitTest. It
now uses named constants and expressions instead of hard-coded numbers
in the tests. It also uses abstractions to set up state rather than
manually supplying the parameters in each test case.

Also moved app_list_win's FindAnchorPoint into the AppListWin class.

BUG=317944

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236676 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/app_list/app_list_positioner_unittest.cc
chrome/browser/ui/views/app_list/win/app_list_win.cc
chrome/browser/ui/views/app_list/win/app_list_win.h
chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc