touch: Fix unit_tests crash.
touch: Fix unit_tests crash.

Setup XInput2 events only for the regular windows (and not for temporary ones). This was causing unit_tests to crash.

BUG=unit_tests crashes for touch
TEST=unit_tests

Review URL: http://codereview.chromium.org/6602050

git-svn-id: http://src.chromium.org/svn/trunk/src@76461 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 695b3fdb8848c778acc6f7130735ee8aa5eda3b8
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser