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

Issue 7740048: Chrome Linux DRT nativeKeyCode helper (Closed)

Created:
9 years, 4 months ago by Noel Gordon
Modified:
9 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add a GTK support routine that returns a simulated nativeKeyCode for a given windowKeyCode. Simulated since there's no keyboard attached when testing in webkit DRT, so DRT::eventSender.keyDown() must simulate keyboard events. https://bugs.webkit.org/show_bug.cgi?id=66679 BUG=94211 TEST=webkit LayoutTests/plugins/keyboard-events.html Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98599

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move keyboard_code_conversion_gtk.cc function comment to the header. #

Total comments: 1

Patch Set 3 : Make function positions match that in the header. #

Patch Set 4 : Patch for trys and landing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M ui/base/keycodes/keyboard_code_conversion_gtk.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ui/base/keycodes/keyboard_code_conversion_gtk.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/support/webkit_support.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/support/webkit_support.cc View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Noel Gordon
9 years, 4 months ago (2011-08-26 11:58:57 UTC) #1
tony
LGTM, thanks! http://codereview.chromium.org/7740048/diff/1/ui/base/keycodes/keyboard_code_conversion_gtk.cc File ui/base/keycodes/keyboard_code_conversion_gtk.cc (right): http://codereview.chromium.org/7740048/diff/1/ui/base/keycodes/keyboard_code_conversion_gtk.cc#newcode638 ui/base/keycodes/keyboard_code_conversion_gtk.cc:638: // input |keycode|. Return the native keycode. ...
9 years, 4 months ago (2011-08-26 16:24:50 UTC) #2
Noel Gordon
http://codereview.chromium.org/7740048/diff/1/ui/base/keycodes/keyboard_code_conversion_gtk.cc File ui/base/keycodes/keyboard_code_conversion_gtk.cc (right): http://codereview.chromium.org/7740048/diff/1/ui/base/keycodes/keyboard_code_conversion_gtk.cc#newcode638 ui/base/keycodes/keyboard_code_conversion_gtk.cc:638: // input |keycode|. Return the native keycode. On 2011/08/26 ...
9 years, 4 months ago (2011-08-26 16:42:12 UTC) #3
Noel Gordon
+ben,+sky: need OWNERS approval for ui/base.
9 years, 4 months ago (2011-08-26 16:54:10 UTC) #4
sky
LGTM http://codereview.chromium.org/7740048/diff/4001/ui/base/keycodes/keyboard_code_conversion_gtk.cc File ui/base/keycodes/keyboard_code_conversion_gtk.cc (right): http://codereview.chromium.org/7740048/diff/4001/ui/base/keycodes/keyboard_code_conversion_gtk.cc#newcode637 ui/base/keycodes/keyboard_code_conversion_gtk.cc:637: int GdkNativeKeyCodeForWindowsKeyCode(KeyboardCode keycode, bool shift) { nit: make ...
9 years, 4 months ago (2011-08-26 17:06:39 UTC) #5
Noel Gordon
On 2011/08/26 17:06:39, sky wrote: > nit: make position match that in header. Done, and ...
9 years, 4 months ago (2011-08-26 17:22:25 UTC) #6
Noel Gordon
linux_chromeos browser tests flaky with my change. Needed a --clobber try to turn it green. ...
9 years, 3 months ago (2011-08-29 03:05:15 UTC) #7
commit-bot: I haz the power
Try job failure for 7740048-10005 on win for steps "update_scripts, update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=51516 Step "update" is ...
9 years, 3 months ago (2011-08-29 04:26:42 UTC) #8
Noel Gordon
svn: Can't open file 'E:\b\depot_tools\tests\subversion_config\.svn\lock': The disk structure is corrupted and unreadable.
9 years, 3 months ago (2011-08-29 04:32:21 UTC) #9
commit-bot: I haz the power
9 years, 3 months ago (2011-08-29 06:36:10 UTC) #10
Change committed as 98599

Powered by Google App Engine
This is Rietveld 408576698