DescriptionAdd support of Pause/Resume for polling thread
This change adds the support of pause/resume of poll thread in the
NavigatorGamepad class. This way polling thread only runs whenever
gamepad data is accessed by the webpage. While in the case of gamepad
data release (Browser minimize and Tab switch) poll thread can be put
to paused state.
BUG=330094
TEST=http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html
R=tsepez@chromium.org
R=darin@chromium.org
R=scottmg@chromium.org
R=xingnan.wang@chromium.org
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Messages
Total messages: 1 (0 generated)
|