DescriptionInitialize XInput2 on demand - fixes ash_shell mouse events
MessagePumpX::HasXInput2 currently assumes a message pump has already been created and so XInput2 has been initialized. This may not always be the case (eg. when deciding early at startup whether we should load touch-specific resources).
Instead we now initialize XInput2 on demand - either when the message pump is created, or when HasInput2 is called earlier.
BUG=128367
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137694
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix variable name style #
Total comments: 3
Patch Set 3 : Apply CR feedback from mark #Patch Set 4 : merge with trunk #Messages
Total messages: 11 (0 generated)
|