summaryrefslogtreecommitdiffstats
path: root/o3d/core/cross/standard_param.cc
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 01:19:15 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 01:19:15 +0000
commite7354bb9d013b913dedaa8a45e2243fb559cf60b (patch)
treed153ed2a1831d9158d5ccd4b33ed38d003605fc0 /o3d/core/cross/standard_param.cc
parentee77fcf1bab6f960d3b452ce86703af602bcb6d6 (diff)
downloadchromium_src-e7354bb9d013b913dedaa8a45e2243fb559cf60b.zip
chromium_src-e7354bb9d013b913dedaa8a45e2243fb559cf60b.tar.gz
chromium_src-e7354bb9d013b913dedaa8a45e2243fb559cf60b.tar.bz2
[Mac] Refactor omnibox popup to fix click-drag display.
Fix the confusion between highlighted and selected cells by overriding |-mouseDown:| and directly implementing the desired behaviors. Which are: - while mouse is down in the view, the item under the mouse looks selected, like it would if you used the arrow keys to move it around (rather than highlighted). - dragging off with mouse down reverts to previous selection (the one matching the field's contents). - releasing while mouse is off-view reverts to previous selection. - dragging back with mouse still down selects the cell under the mouse. Additionally, refactor to remove useless utility object. The custom matrix now just messages the C++ object directly. BUG=25435 TEST=See bug. Review URL: http://codereview.chromium.org/646063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39411 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core/cross/standard_param.cc')
0 files changed, 0 insertions, 0 deletions