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

Issue 23815005: Import GTK WebInputEvent factory to content (Closed)

Created:
7 years, 3 months ago by garykac
Modified:
7 years, 3 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, miu+watch_chromium.org, aelias_OOO_until_Jul13, jdduke (slow)
Visibility:
Public.

Description

Import GTK WebInputEvent factory to content (Migrated from crrev.com/21133002) This imports the GTK WebInputEvent factory into content as a set of WebInputEventBuilders. The functionality should be exacly the same except for the handling of the following keycodes which changed due to moving from the WebCore GDK -> windows keycode mapping to ui/base: 0xD7 (XK_multiply) is mapped to 0xA6 (VKEY_MULTIPLY) instead of 0 (VKEY_UKNOWN). 0xA6 (XK_brokenbar), 0xAB (XK_guillemotleft), 0xB0 (XK_degree), 0xBB (XK_guillemotright), 0xD9 (XK_Ugrave) and 0xF9 (XK_ugrave) map to 0xE2 (VKEY_OEM_102) instead of 0 (VKEY_UNKNOWN). I think these are progressions. BUG=263189 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223533

Patch Set 1 #

Patch Set 2 : Review comments from 21133002 #

Total comments: 15

Patch Set 3 : Fixup name of last_click_event_window #

Patch Set 4 : Re-sync/merge #

Patch Set 5 : Merge defs of scrollbarPixelsPerTick #

Unified diffs Side-by-side diffs Delta from patch set Stats (+841 lines, -25 lines) Patch
M content/browser/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
A content/browser/renderer_host/input/web_input_event_builders_gtk.h View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/web_input_event_builders_gtk.cc View 1 2 3 4 1 chunk +606 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc View 1 chunk +171 lines, -0 lines 0 comments Download
M content/browser/renderer_host/native_web_keyboard_event_gtk.cc View 3 chunks +5 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 2 3 4 9 chunks +12 lines, -17 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
garykac
(Taking over crrev.com/2113302 from jamesr) https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc File content/browser/renderer_host/input/web_input_event_builders_gtk.cc (right): https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc#newcode89 content/browser/renderer_host/input/web_input_event_builders_gtk.cc:89: // Handle the AltGr ...
7 years, 3 months ago (2013-09-09 15:29:46 UTC) #1
Seigo Nonaka
lgtm lgtm with ntis. https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc File content/browser/renderer_host/input/web_input_event_builders_gtk.cc (right): https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc#newcode37 content/browser/renderer_host/input/web_input_event_builders_gtk.cc:37: gint double_click_time = 250; nit: ...
7 years, 3 months ago (2013-09-10 04:14:32 UTC) #2
garykac
jam, can you OWNER review? https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc File content/browser/renderer_host/input/web_input_event_builders_gtk.cc (right): https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc#newcode37 content/browser/renderer_host/input/web_input_event_builders_gtk.cc:37: gint double_click_time = 250; ...
7 years, 3 months ago (2013-09-10 18:54:35 UTC) #3
jam
On 2013/09/10 18:54:35, garykac wrote: > jam, can you OWNER review? lgtm for files outside ...
7 years, 3 months ago (2013-09-11 02:50:00 UTC) #4
garykac
+nduca as OWNER for content/browser/renderer_host/input
7 years, 3 months ago (2013-09-11 19:59:24 UTC) #5
garykac
ping for OWNER review (cc'ing aelias, jdduke as alternate OWNERS)
7 years, 3 months ago (2013-09-14 17:19:05 UTC) #6
jdduke (slow)
https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc File content/browser/renderer_host/input/web_input_event_builders_gtk.cc (right): https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc#newcode25 content/browser/renderer_host/input/web_input_event_builders_gtk.cc:25: static GdkWindow* lack_click_event_window = 0; nit: last_click_event_window https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc#newcode50 content/browser/renderer_host/input/web_input_event_builders_gtk.cc:50: ...
7 years, 3 months ago (2013-09-16 15:31:55 UTC) #7
garykac
https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc File content/browser/renderer_host/input/web_input_event_builders_gtk.cc (right): https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc#newcode25 content/browser/renderer_host/input/web_input_event_builders_gtk.cc:25: static GdkWindow* lack_click_event_window = 0; On 2013/09/16 15:31:55, jdduke ...
7 years, 3 months ago (2013-09-16 22:45:05 UTC) #8
jdduke (slow)
lgtm https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc File content/browser/renderer_host/input/web_input_event_builders_gtk.cc (right): https://codereview.chromium.org/23815005/diff/3001/content/browser/renderer_host/input/web_input_event_builders_gtk.cc#newcode579 content/browser/renderer_host/input/web_input_event_builders_gtk.cc:579: static const float scrollbarPixelsPerTick = 160.0f / 3.0f; ...
7 years, 3 months ago (2013-09-16 23:46:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/garykac@chromium.org/23815005/36001
7 years, 3 months ago (2013-09-17 01:25:28 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-17 04:06:05 UTC) #11
Message was sent while issue was closed.
Change committed as 223533

Powered by Google App Engine
This is Rietveld 408576698