summaryrefslogtreecommitdiffstats
path: root/win8/metro_driver
diff options
context:
space:
mode:
authorshrikant@chromium.org <shrikant@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-03 23:04:15 +0000
committershrikant@chromium.org <shrikant@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-03 23:04:15 +0000
commitbaf3e1fa68088227b84c8186ef3c295d1d9aaee0 (patch)
tree526e9260d578ceb11070adcd93c5f5cb40c77fc9 /win8/metro_driver
parentb626e217821cc60b332372b49a90e5c264ecafc6 (diff)
downloadchromium_src-baf3e1fa68088227b84c8186ef3c295d1d9aaee0.zip
chromium_src-baf3e1fa68088227b84c8186ef3c295d1d9aaee0.tar.gz
chromium_src-baf3e1fa68088227b84c8186ef3c295d1d9aaee0.tar.bz2
Modified to pass keyboard flags as it is from metro driver.
(This might introduce some problem as per original comment, so please let me know if you remember any such issues. But ideally I think we should pass metro keyboard flags without modifications.) BUG=254697 R=ananta,cpu TEST=Please follow steps as described in the bug. Review URL: https://chromiumcodereview.appspot.com/18584005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/metro_driver')
-rw-r--r--win8/metro_driver/chrome_app_view_ash.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/win8/metro_driver/chrome_app_view_ash.cc b/win8/metro_driver/chrome_app_view_ash.cc
index 87ac885..db5a224 100644
--- a/win8/metro_driver/chrome_app_view_ash.cc
+++ b/win8/metro_driver/chrome_app_view_ash.cc
@@ -776,9 +776,7 @@ HRESULT ChromeAppViewAsh::OnAcceleratorKeyDown(
if (FAILED(hr))
return hr;
- // The AURA event handling code does not handle the system key down event for
- // the Alt key if we pass in the flag EF_ALT_DOWN.
- uint32 keyboard_flags = GetKeyboardEventFlags() & ~ui::EF_ALT_DOWN;
+ uint32 keyboard_flags = GetKeyboardEventFlags();
switch (event_type) {
case winui::Core::CoreAcceleratorKeyEventType_SystemCharacter: