Clip touch selection handles to top of client view's boundaries
commitf88df129629d6495e9e4692cafb76cba3c216769
authormohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 11 Apr 2014 22:53:02 +0000 (11 22:53 +0000)
committermohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 11 Apr 2014 22:53:02 +0000 (11 22:53 +0000)
treefbd7fcb1b8ab8fb39d6392104fe06705c25e0117
parenta734939009b85aeade1944ec4e24088d1babca01
Clip touch selection handles to top of client view's boundaries

To hide touch selection handles in fewer situations, we allow top of the
handles to go out of client view's boundaries and instead clip it to top
of the boundaries. For the bottom, we allow it to stick out of the
client view for a few pixels.

BUG=345473

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263384 0039d316-1c4b-4281-b951-d872f2087c98
ui/views/touchui/touch_selection_controller_impl.cc
ui/views/touchui/touch_selection_controller_impl.h
ui/views/touchui/touch_selection_controller_impl_unittest.cc