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

Issue 9432029: GTK Keyboard Support for New Autofill (Closed)

Created:
8 years, 10 months ago by csharp
Modified:
8 years, 8 months ago
CC:
chromium-reviews, GeorgeY, yusukes+watch_chromium.org, dhollowa+watch_chromium.org, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dyu1, James Su, Ilya Sherman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

GTK Keyboard Support for New Autofill Adds keyboard support to the new browser autofill. BUG=51644 TEST=When using the new autofill, keyboard presses should work as they do in the old autofill Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129553

Patch Set 1 #

Patch Set 2 : Using keyboard listener to get keypresses #

Total comments: 30

Patch Set 3 : #

Total comments: 18

Patch Set 4 : #

Total comments: 6

Patch Set 5 : Modifying wraparound #

Total comments: 6

Patch Set 6 : Fixing Shift #

Total comments: 2

Patch Set 7 : Fixing switch case #

Total comments: 12

Patch Set 8 : #

Total comments: 1

Patch Set 9 : Removing unneeded defn #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -60 lines) Patch
M chrome/browser/autofill/autofill_external_delegate.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
A chrome/browser/autofill/autofill_popup_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +109 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_popup_view.h View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_popup_view.cc View 1 2 3 4 5 6 7 8 2 chunks +53 lines, -4 lines 0 comments Download
M chrome/browser/autofill/autofill_popup_view_browsertest.cc View 1 2 3 chunks +3 lines, -31 lines 0 comments Download
M chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h View 1 2 3 4 5 6 7 3 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc View 1 2 3 4 5 6 8 chunks +57 lines, -19 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
csharp
Here is quick a quick change I made to allow the Autofill popup to get ...
8 years, 10 months ago (2012-02-22 16:35:39 UTC) #1
Elliot Glaysher
+suzhe / +jam for comments on modifying the RWH key handling stuff.
8 years, 10 months ago (2012-02-22 22:05:11 UTC) #2
jam
On 2012/02/22 22:05:11, Elliot Glaysher wrote: > +suzhe / +jam for comments on modifying the ...
8 years, 10 months ago (2012-02-23 19:23:44 UTC) #3
csharp
On 2012/02/23 19:23:44, John Abd-El-Malek wrote: > On 2012/02/22 22:05:11, Elliot Glaysher wrote: > > ...
8 years, 10 months ago (2012-02-23 19:44:14 UTC) #4
csharp
If no one has any issues with it I'll add this functionality to render_widget_host_view (since ...
8 years, 10 months ago (2012-02-27 14:46:16 UTC) #5
csharp
This code now uses the keyboard listener I add to take the key presses it ...
8 years, 9 months ago (2012-03-09 22:42:23 UTC) #6
Ilya Sherman
https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc File chrome/browser/autofill/autofill_popup_view.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc#newcode24 chrome/browser/autofill/autofill_popup_view.cc:24: if (web_contents) { nit: How about "if (!web_contents) return;" ...
8 years, 9 months ago (2012-03-15 20:10:56 UTC) #7
Ilya Sherman
Apologies for the delay in reviewing this, by the way. For some reason I thought ...
8 years, 9 months ago (2012-03-15 20:21:42 UTC) #8
csharp
https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc File chrome/browser/autofill/autofill_popup_view.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc#newcode24 chrome/browser/autofill/autofill_popup_view.cc:24: if (web_contents) { On 2012/03/15 20:10:56, Ilya Sherman wrote: ...
8 years, 9 months ago (2012-03-21 15:32:28 UTC) #9
Ilya Sherman
https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc File chrome/browser/autofill/autofill_popup_view.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc#newcode79 chrome/browser/autofill/autofill_popup_view.cc:79: new_selected_line = -1; On 2012/03/21 15:32:28, csharp wrote: > ...
8 years, 9 months ago (2012-03-21 23:35:29 UTC) #10
csharp
https://chromiumcodereview.appspot.com/9432029/diff/14001/chrome/browser/autofill/autofill_popup_view.cc File chrome/browser/autofill/autofill_popup_view.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/14001/chrome/browser/autofill/autofill_popup_view.cc#newcode19 chrome/browser/autofill/autofill_popup_view.cc:19: selected_line_(-1) { On 2012/03/21 23:35:30, Ilya Sherman wrote: > ...
8 years, 9 months ago (2012-03-23 15:10:52 UTC) #11
csharp
https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc File chrome/browser/autofill/autofill_popup_view.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc#newcode79 chrome/browser/autofill/autofill_popup_view.cc:79: new_selected_line = -1; On 2012/03/21 23:35:30, Ilya Sherman wrote: ...
8 years, 9 months ago (2012-03-23 15:15:19 UTC) #12
Ilya Sherman
https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc File chrome/browser/autofill/autofill_popup_view.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/7001/chrome/browser/autofill/autofill_popup_view.cc#newcode79 chrome/browser/autofill/autofill_popup_view.cc:79: new_selected_line = -1; On 2012/03/23 15:15:19, csharp wrote: > ...
8 years, 9 months ago (2012-03-23 22:31:12 UTC) #13
Ilya Sherman
https://chromiumcodereview.appspot.com/9432029/diff/24001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc File chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/24001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc#newcode240 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc:240: case GDK_KP_Delete: Also, it looks like this is still ...
8 years, 9 months ago (2012-03-24 00:53:21 UTC) #14
csharp
https://chromiumcodereview.appspot.com/9432029/diff/24001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc File chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/24001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc#newcode240 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc:240: case GDK_KP_Delete: On 2012/03/24 00:53:21, Ilya Sherman wrote: > ...
8 years, 9 months ago (2012-03-26 14:13:45 UTC) #15
Ilya Sherman
https://chromiumcodereview.appspot.com/9432029/diff/32001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc File chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/32001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc#newcode244 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc:244: break; nit: You can just write this all (lines ...
8 years, 9 months ago (2012-03-26 23:07:34 UTC) #16
csharp
https://chromiumcodereview.appspot.com/9432029/diff/32001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc File chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/32001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc#newcode244 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc:244: break; On 2012/03/26 23:07:34, Ilya Sherman wrote: > nit: ...
8 years, 9 months ago (2012-03-27 13:45:06 UTC) #17
Ilya Sherman
https://chromiumcodereview.appspot.com/9432029/diff/38001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc File chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/38001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc#newcode242 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc:242: return RemoveSelectedLine(); This should be "return (event->state == GDK_SHIFT_MASK) ...
8 years, 9 months ago (2012-03-27 17:52:40 UTC) #18
csharp
https://chromiumcodereview.appspot.com/9432029/diff/38001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc File chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/38001/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc#newcode242 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc:242: return RemoveSelectedLine(); On 2012/03/27 17:52:40, Ilya Sherman wrote: > ...
8 years, 9 months ago (2012-03-27 18:06:20 UTC) #19
Ilya Sherman
LGTM with a few final nits https://chromiumcodereview.appspot.com/9432029/diff/36006/chrome/browser/autofill/autofill_popup_unittest.cc File chrome/browser/autofill/autofill_popup_unittest.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/36006/chrome/browser/autofill/autofill_popup_unittest.cc#newcode5 chrome/browser/autofill/autofill_popup_unittest.cc:5: #include "chrome/browser/autofill/autofill_popup_view.h" nit: ...
8 years, 9 months ago (2012-03-27 18:19:53 UTC) #20
csharp
https://chromiumcodereview.appspot.com/9432029/diff/36006/chrome/browser/autofill/autofill_popup_unittest.cc File chrome/browser/autofill/autofill_popup_unittest.cc (right): https://chromiumcodereview.appspot.com/9432029/diff/36006/chrome/browser/autofill/autofill_popup_unittest.cc#newcode5 chrome/browser/autofill/autofill_popup_unittest.cc:5: #include "chrome/browser/autofill/autofill_popup_view.h" On 2012/03/27 18:19:53, Ilya Sherman wrote: > ...
8 years, 9 months ago (2012-03-27 19:02:44 UTC) #21
Ilya Sherman
Still LGTM https://chromiumcodereview.appspot.com/9432029/diff/34003/chrome/browser/autofill/autofill_popup_view.h File chrome/browser/autofill/autofill_popup_view.h (right): https://chromiumcodereview.appspot.com/9432029/diff/34003/chrome/browser/autofill/autofill_popup_view.h#newcode91 chrome/browser/autofill/autofill_popup_view.h:91: const int kNoSelection; nit: There's no need ...
8 years, 9 months ago (2012-03-27 19:09:04 UTC) #22
Elliot Glaysher
lgtm
8 years, 9 months ago (2012-03-28 17:54:40 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/9432029/42001
8 years, 9 months ago (2012-03-28 18:11:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/9432029/44004
8 years, 9 months ago (2012-03-28 19:18:47 UTC) #25
commit-bot: I haz the power
Try job failure for 9432029-44004 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 9 months ago (2012-03-28 22:23:07 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/9432029/44004
8 years, 9 months ago (2012-03-28 22:25:13 UTC) #27
commit-bot: I haz the power
8 years, 8 months ago (2012-03-29 01:40:35 UTC) #28
Change committed as 129553

Powered by Google App Engine
This is Rietveld 408576698