Refactored Windows taskbar anchoring functions into AppListPositioner.
commite8aa0eb02f44b2403b225d9dd54a8a23a6cb03dd
authormgiuca@chromium.org <mgiuca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 19 Nov 2013 09:51:35 +0000 (19 09:51 +0000)
committermgiuca@chromium.org <mgiuca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 19 Nov 2013 09:51:35 +0000 (19 09:51 +0000)
treef11c77cc19813dc29d84c0dbe4dc8cf661892fa9
parent86e2f6a09770232a7a73458c0dd422ca0b49d426
Refactored Windows taskbar anchoring functions into AppListPositioner.

The shelf anchoring calculations are now platform-neutral, and much more
general. The platform-specific client code can now request that the app
launcher be anchored to a specific screen corner, the shelf corner, or
the mouse position on the shelf.

BUG=317944

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235955 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/app_list/app_list_positioner.cc [new file with mode: 0644]
chrome/browser/ui/app_list/app_list_positioner.h [new file with mode: 0644]
chrome/browser/ui/app_list/app_list_positioner_unittest.cc [new file with mode: 0644]
chrome/browser/ui/views/app_list/win/app_list_win.cc
chrome/chrome_browser_ui.gypi
chrome/chrome_tests_unit.gypi