Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 10800050: Call XkbSetDetectableAutoRepeat() on Chrome start-up (Closed)

Created:
8 years, 5 months ago by Yusuke Sato
Modified:
8 years, 5 months ago
CC:
chromium-reviews, erikwright (departed), sadrul, brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Call XkbSetDetectableAutoRepeat() on Chrome start-up so the server does not send KeyRelease events when the user holds a key. Without this, superfluous DOM key event might be sent to a page, which is bad for compatibility reasons. Note that Gdk (used by Chrome for Linux) calls the Xkb function during its initialization. BUG=138092 TEST=see the bug for demo html; confirmed only one KeyUp DOM event is sent to the page even when a key is long-pressed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147863

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M base/message_pump_aurax11.cc View 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Yusuke Sato
Sadrul, could you have a look at this?
8 years, 5 months ago (2012-07-20 04:20:39 UTC) #1
sadrul
LGTM. But I am not entirely sure if something else needs to change after this ...
8 years, 5 months ago (2012-07-20 17:24:50 UTC) #2
Yusuke Sato
+derat Please let me know if you have a comment.
8 years, 5 months ago (2012-07-20 17:28:35 UTC) #3
Yusuke Sato
Let me add my comments first. I believe the change is safe for the following ...
8 years, 5 months ago (2012-07-20 20:29:31 UTC) #4
Daniel Erat
lgtm
8 years, 5 months ago (2012-07-23 14:50:30 UTC) #5
Yusuke Sato
+mark Could you do an owners review?
8 years, 5 months ago (2012-07-23 15:41:25 UTC) #6
Mark Mentovai
lgtm
8 years, 5 months ago (2012-07-23 15:42:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusukes@chromium.org/10800050/1
8 years, 5 months ago (2012-07-23 15:51:53 UTC) #8
commit-bot: I haz the power
8 years, 5 months ago (2012-07-23 17:03:54 UTC) #9
Change committed as 147863

Powered by Google App Engine
This is Rietveld 408576698