diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-17 18:49:56 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-17 18:49:56 +0000 |
commit | 501ebf0409b21006e224116a324f18ad94edc725 (patch) | |
tree | e815af603baea78ddbc480ecf1d27c1ecc230b76 /base/linked_ptr_unittest.cc | |
parent | 2c05562d4c61d066139b0812c85ecbdca9f5b563 (diff) | |
download | chromium_src-501ebf0409b21006e224116a324f18ad94edc725.zip chromium_src-501ebf0409b21006e224116a324f18ad94edc725.tar.gz chromium_src-501ebf0409b21006e224116a324f18ad94edc725.tar.bz2 |
Use KF_ALTDOWN flag instead of GetKeyState(VK_MENU)
KF_ALTDOWN is more accurate than GetKeyState(VK_MENU). When usre presses
RightShift+RightAlt, the fake VK_CONTROL generated carries KF_ALTDOWN in
its flags but GetKeyState(VK_MENU) is clear.
BUG=30244
TEST=Verify RightAlt+RightShift does not change to RTL and issue 24888 does not regress. However, RightShift+RightAlt still changes RTL as this is the behavior of richedit.
Review URL: http://codereview.chromium.org/505026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34850 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linked_ptr_unittest.cc')
0 files changed, 0 insertions, 0 deletions