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

Issue 255028: Pass unhandled keyup messages coming in from the renderer to the underlying v... (Closed)

Created:
11 years, 2 months ago by ananta
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, darin (slow to review), ben+cc_chromium.org
Visibility:
Public.

Description

Pass unhandled keyup messages coming in from the renderer to the underlying view. This is needed for system keyboard messages which are generated when the Alt key is pressed in addition to other keys to function correctly in ChromeFrame. The TabContentsView implementation for windows does the right thing by specifically checking for keydown events before processing them as accelerators. The TabContentsView implementation for Linux also treated keyup messages as accelerators, which is now fixed. This fixes parts of http://code.google.com/p/chromium/issues/detail?id=22996 Bug=22996 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27926

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -9 lines) Patch
M chrome/browser/renderer_host/render_view_host.cc View 1 1 chunk +1 line, -8 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
ananta
11 years, 2 months ago (2009-09-30 20:40:20 UTC) #1
jam
I'm actually removing this whole if statement in http://codereview.chromium.org/224023, which I'm about to check in ...
11 years, 2 months ago (2009-09-30 20:46:58 UTC) #2
ananta
11 years, 2 months ago (2009-10-02 18:50:57 UTC) #3
jcampan
LGTM
11 years, 2 months ago (2009-10-02 18:55:08 UTC) #4
jam
http://codereview.chromium.org/255028/diff/6001/6003 File chrome/browser/tab_contents/tab_contents_view_gtk.cc (right): http://codereview.chromium.org/255028/diff/6001/6003#newcode575 Line 575: event.type == WebKit::WebInputEvent::KeyUp) nit: should the comment be ...
11 years, 2 months ago (2009-10-02 19:08:15 UTC) #5
ananta
11 years, 2 months ago (2009-10-02 19:19:41 UTC) #6
Adding Avi so he can opine on whether there are issues with keyUp messages being
processed as accelerators on the Mac.

http://codereview.chromium.org/255028/diff/6001/6003
File chrome/browser/tab_contents/tab_contents_view_gtk.cc (right):

http://codereview.chromium.org/255028/diff/6001/6003#newcode575
Line 575: event.type == WebKit::WebInputEvent::KeyUp)
On 2009/10/02 19:08:15, John Abd-El-Malek wrote:
> nit: should the comment be updated?  also what about mac?

Done. Added avi to the list of reviewers for his opinion on the mac.

Powered by Google App Engine
This is Rietveld 408576698