Disable core keyboard device as well when entering touchview.
commit892bc4bbcc63e5baef2d7c67bc8e71e4e86d21f3
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 14 Aug 2014 11:21:02 +0000 (14 11:21 +0000)
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 14 Aug 2014 11:22:38 +0000 (14 11:22 +0000)
treec5e70da015f09eb2e8f6eb4019d81c02801e5737
parent283bd830f02d4966990aec0f2a84be266d91315d
Disable core keyboard device as well when entering touchview.

Repeated keypress events seem to be coming from the core keyboard device for the internal keyboard. Amazingly, they seem to come from the correct device (for my external keyboard at least) so this patch may be all we need.

BUG=402868
TEST=Flip open device past 180 to enter touchview. Hold a key on keyboard. Key is not typed. External keyboard still works while in touchview.

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

Cr-Commit-Position: refs/heads/master@{#289524}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289524 0039d316-1c4b-4281-b951-d872f2087c98
ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.h