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

Issue 10825324: Start of New Autofill UI for Windows (Closed)

Created:
8 years, 4 months ago by csharp
Modified:
7 years, 11 months ago
Reviewers:
tfarina, Nico, Ilya Sherman, sky
CC:
chromium-reviews, dhollowa+watch_chromium.org, browser-components-watch_chromium.org, tfarina
Visibility:
Public.

Description

Start of New Autofill UI for Windows Add some very basic functionality for the new Autofill UI system for windows. It currently just shows an empty popup in the correct location. Future CLs will add the actual functionality. BUG=51644 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155476

Patch Set 1 : #

Total comments: 31

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 26

Patch Set 4 : #

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Total comments: 1

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Total comments: 4

Patch Set 11 : #

Total comments: 26

Patch Set 12 : Fix test failures #

Patch Set 13 : rebading #

Patch Set 14 : #

Patch Set 15 : rebasing #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -8 lines) Patch
M chrome/browser/autofill/autofill_external_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -8 lines 0 comments Download
A chrome/browser/ui/views/autofill/autofill_external_delegate_views.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/autofill/autofill_external_delegate_views_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +96 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/autofill/autofill_popup_view_views.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/autofill/autofill_popup_view_views.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +75 lines, -0 lines 1 comment Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 46 (0 generated)
csharp
8 years, 4 months ago (2012-08-13 19:04:34 UTC) #1
Ilya Sherman
Can haz tests? Otherwise lg :) https://chromiumcodereview.appspot.com/10825324/diff/2001/chrome/browser/autofill/autofill_external_delegate.cc File chrome/browser/autofill/autofill_external_delegate.cc (left): https://chromiumcodereview.appspot.com/10825324/diff/2001/chrome/browser/autofill/autofill_external_delegate.cc#oldcode348 chrome/browser/autofill/autofill_external_delegate.cc:348: // none, so ...
8 years, 4 months ago (2012-08-14 05:12:09 UTC) #2
csharp
I don't think that tests would add much here, since this is mostly just adding ...
8 years, 4 months ago (2012-08-14 19:06:13 UTC) #3
Ilya Sherman
LGTM. Perhaps Scott can comment on the feasibility/best practice of tests for the views code. ...
8 years, 4 months ago (2012-08-14 19:27:12 UTC) #4
sky
You can write a browser test (or interactive ui test if necessary), that generates mouse ...
8 years, 4 months ago (2012-08-14 20:14:53 UTC) #5
csharp
Added a basic browser test to ensure that the popup can open and close without ...
8 years, 4 months ago (2012-08-15 19:39:58 UTC) #6
sky
http://codereview.chromium.org/10825324/diff/4003/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc File chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc (right): http://codereview.chromium.org/10825324/diff/4003/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc#newcode28 chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc:28: view_->Hide(); Why do you need hide here? http://codereview.chromium.org/10825324/diff/4003/chrome/browser/ui/views/autofill/autofill_external_delegate_views.h File ...
8 years, 4 months ago (2012-08-15 21:07:28 UTC) #7
dyu1
Should the browser test be in a seperate file for consistency? Even though there is ...
8 years, 4 months ago (2012-08-15 22:03:49 UTC) #8
Ilya Sherman
On 2012/08/15 22:03:49, dyu1 wrote: > Should the browser test be in a seperate file ...
8 years, 4 months ago (2012-08-15 22:07:40 UTC) #9
csharp
Sorry for all the views questions, I haven't done any work with views before so ...
8 years, 4 months ago (2012-08-16 19:16:27 UTC) #10
sky
http://codereview.chromium.org/10825324/diff/4003/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc File chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc (right): http://codereview.chromium.org/10825324/diff/4003/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc#newcode28 chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc:28: view_->Hide(); On 2012/08/16 19:16:27, csharp wrote: > On 2012/08/15 ...
8 years, 4 months ago (2012-08-16 20:00:15 UTC) #11
csharp
http://codereview.chromium.org/10825324/diff/4003/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc File chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc (right): http://codereview.chromium.org/10825324/diff/4003/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc#newcode28 chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc:28: view_->Hide(); On 2012/08/16 20:00:15, sky wrote: > On 2012/08/16 ...
8 years, 4 months ago (2012-08-16 21:39:15 UTC) #12
sky
http://codereview.chromium.org/10825324/diff/3012/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc File chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc (right): http://codereview.chromium.org/10825324/diff/3012/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc#newcode34 chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc:34: view_->Hide(); I know I asked this before, but how ...
8 years, 4 months ago (2012-08-16 23:02:01 UTC) #13
csharp
http://codereview.chromium.org/10825324/diff/3012/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc File chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc (right): http://codereview.chromium.org/10825324/diff/3012/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc#newcode34 chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc:34: view_->Hide(); On 2012/08/16 23:02:01, sky wrote: > I know ...
8 years, 4 months ago (2012-08-20 20:59:00 UTC) #14
sky
http://codereview.chromium.org/10825324/diff/3012/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc File chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc (right): http://codereview.chromium.org/10825324/diff/3012/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc#newcode34 chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc:34: view_->Hide(); On 2012/08/20 20:59:00, csharp wrote: > On 2012/08/16 ...
8 years, 4 months ago (2012-08-21 15:29:41 UTC) #15
csharp
http://codereview.chromium.org/10825324/diff/3012/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc File chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc (right): http://codereview.chromium.org/10825324/diff/3012/chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc#newcode34 chrome/browser/ui/views/autofill/autofill_external_delegate_views.cc:34: view_->Hide(); On 2012/08/21 15:29:41, sky wrote: > On 2012/08/20 ...
8 years, 4 months ago (2012-08-21 20:23:57 UTC) #16
sky
http://codereview.chromium.org/10825324/diff/18015/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc File chrome/browser/ui/views/autofill/autofill_popup_view_views.cc (right): http://codereview.chromium.org/10825324/diff/18015/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc#newcode39 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc:39: if (popup_.get()) Did you verify this all works correctly ...
8 years, 4 months ago (2012-08-21 22:27:38 UTC) #17
csharp
http://codereview.chromium.org/10825324/diff/18015/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc File chrome/browser/ui/views/autofill/autofill_popup_view_views.cc (right): http://codereview.chromium.org/10825324/diff/18015/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc#newcode39 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc:39: if (popup_.get()) On 2012/08/21 22:27:38, sky wrote: > Did ...
8 years, 3 months ago (2012-08-23 19:44:17 UTC) #18
sky
http://codereview.chromium.org/10825324/diff/25001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h File chrome/browser/ui/views/autofill/autofill_popup_view_views.h (right): http://codereview.chromium.org/10825324/diff/25001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h#newcode24 chrome/browser/ui/views/autofill/autofill_popup_view_views.h:24: class AutofillPopupViewViews : public views::WidgetDelegateView, As far as I ...
8 years, 3 months ago (2012-08-23 22:34:36 UTC) #19
csharp
http://codereview.chromium.org/10825324/diff/25001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h File chrome/browser/ui/views/autofill/autofill_popup_view_views.h (right): http://codereview.chromium.org/10825324/diff/25001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h#newcode24 chrome/browser/ui/views/autofill/autofill_popup_view_views.h:24: class AutofillPopupViewViews : public views::WidgetDelegateView, On 2012/08/23 22:34:36, sky ...
8 years, 3 months ago (2012-08-24 20:34:53 UTC) #20
sky
http://codereview.chromium.org/10825324/diff/31003/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc File chrome/browser/ui/views/autofill/autofill_popup_view_views.cc (right): http://codereview.chromium.org/10825324/diff/31003/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc#newcode19 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc:19: class AutofillPopupViewViews::AutofillPopupWidget The ownership is still slightly wrong here. ...
8 years, 3 months ago (2012-08-28 15:51:37 UTC) #21
csharp
http://codereview.chromium.org/10825324/diff/31003/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc File chrome/browser/ui/views/autofill/autofill_popup_view_views.cc (right): http://codereview.chromium.org/10825324/diff/31003/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc#newcode19 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc:19: class AutofillPopupViewViews::AutofillPopupWidget On 2012/08/28 15:51:37, sky wrote: > The ...
8 years, 3 months ago (2012-08-29 17:19:38 UTC) #22
sky
I think you got it this time. LGTM http://codereview.chromium.org/10825324/diff/39001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h File chrome/browser/ui/views/autofill/autofill_popup_view_views.h (right): http://codereview.chromium.org/10825324/diff/39001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h#newcode30 chrome/browser/ui/views/autofill/autofill_popup_view_views.h:30: virtual ...
8 years, 3 months ago (2012-08-29 20:56:40 UTC) #23
Ilya Sherman
http://codereview.chromium.org/10825324/diff/39001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h File chrome/browser/ui/views/autofill/autofill_popup_view_views.h (right): http://codereview.chromium.org/10825324/diff/39001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h#newcode49 chrome/browser/ui/views/autofill/autofill_popup_view_views.h:49: bool popup_closing_; nit: I don't see this used anywhere ...
8 years, 3 months ago (2012-08-29 22:36:44 UTC) #24
csharp
Thanks for helping me figure out views :) http://codereview.chromium.org/10825324/diff/39001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h File chrome/browser/ui/views/autofill/autofill_popup_view_views.h (right): http://codereview.chromium.org/10825324/diff/39001/chrome/browser/ui/views/autofill/autofill_popup_view_views.h#newcode30 chrome/browser/ui/views/autofill/autofill_popup_view_views.h:30: virtual ...
8 years, 3 months ago (2012-08-31 19:36:07 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/43001
8 years, 3 months ago (2012-08-31 19:37:58 UTC) #26
commit-bot: I haz the power
Try job failure for 10825324-43001 (retry) on mac_rel for steps "browser_tests, unit_tests". It's a second ...
8 years, 3 months ago (2012-08-31 21:19:20 UTC) #27
tfarina
http://codereview.chromium.org/10825324/diff/43001/chrome/browser/ui/views/autofill/autofill_external_delegate_views.h File chrome/browser/ui/views/autofill/autofill_external_delegate_views.h (right): http://codereview.chromium.org/10825324/diff/43001/chrome/browser/ui/views/autofill/autofill_external_delegate_views.h#newcode8 chrome/browser/ui/views/autofill/autofill_external_delegate_views.h:8: #include "base/memory/scoped_ptr.h" unused here. http://codereview.chromium.org/10825324/diff/43001/chrome/browser/ui/views/autofill/autofill_external_delegate_views.h#newcode14 chrome/browser/ui/views/autofill/autofill_external_delegate_views.h:14: class WebContents; unused ...
8 years, 3 months ago (2012-09-02 12:08:04 UTC) #28
tfarina
http://codereview.chromium.org/10825324/diff/43001/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc File chrome/browser/ui/views/autofill/autofill_popup_view_views.cc (right): http://codereview.chromium.org/10825324/diff/43001/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc#newcode58 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc:58: web_contents_->GetRenderViewHost()->AddKeyboardListener(this); Why are you adding this view as listener? ...
8 years, 3 months ago (2012-09-02 12:13:25 UTC) #29
csharp
http://codereview.chromium.org/10825324/diff/43001/chrome/browser/ui/views/autofill/autofill_external_delegate_views.h File chrome/browser/ui/views/autofill/autofill_external_delegate_views.h (right): http://codereview.chromium.org/10825324/diff/43001/chrome/browser/ui/views/autofill/autofill_external_delegate_views.h#newcode8 chrome/browser/ui/views/autofill/autofill_external_delegate_views.h:8: #include "base/memory/scoped_ptr.h" On 2012/09/02 12:08:04, tfarina wrote: > unused ...
8 years, 3 months ago (2012-09-05 17:28:52 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/43004
8 years, 3 months ago (2012-09-05 17:29:42 UTC) #31
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser.gypi: While running patch -p1 --forward --force; patching file chrome/chrome_browser.gypi ...
8 years, 3 months ago (2012-09-05 17:29:48 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/44011
8 years, 3 months ago (2012-09-05 18:59:45 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/53002
8 years, 3 months ago (2012-09-06 14:57:23 UTC) #34
commit-bot: I haz the power
Try job failure for 10825324-53002 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-09-06 16:24:08 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/53002
8 years, 3 months ago (2012-09-06 16:37:43 UTC) #36
commit-bot: I haz the power
Try job failure for 10825324-53002 (retry) on mac_rel for step "sync_integration_tests". It's a second try, ...
8 years, 3 months ago (2012-09-06 18:19:09 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/53002
8 years, 3 months ago (2012-09-06 20:40:51 UTC) #38
commit-bot: I haz the power
Try job failure for 10825324-53002 (retry) on win_rel for step "runhooks". It's a second try, ...
8 years, 3 months ago (2012-09-06 22:46:18 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/53002
8 years, 3 months ago (2012-09-07 12:57:46 UTC) #40
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser.gypi: While running patch -p1 --forward --force; patching file chrome/chrome_browser.gypi ...
8 years, 3 months ago (2012-09-07 12:57:49 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/58002
8 years, 3 months ago (2012-09-07 14:32:06 UTC) #42
commit-bot: I haz the power
Try job failure for 10825324-58002 (retry) (retry) on mac_rel for step "sync_integration_tests". It's a second ...
8 years, 3 months ago (2012-09-07 16:59:05 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10825324/58002
8 years, 3 months ago (2012-09-07 18:05:51 UTC) #44
commit-bot: I haz the power
Change committed as 155476
8 years, 3 months ago (2012-09-07 20:53:02 UTC) #45
Nico
7 years, 11 months ago (2013-01-12 00:05:38 UTC) #46
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/10825324/diff/58002/chrome/browser/ui/...
File chrome/browser/ui/views/autofill/autofill_popup_view_views.cc (right):

https://chromiumcodereview.appspot.com/10825324/diff/58002/chrome/browser/ui/...
chrome/browser/ui/views/autofill/autofill_popup_view_views.cc:16: const SkColor
kPopupBackground = SkColorSetARGB(0xFF, 0x00, 0x00, 0x00);
This requires a static initializer for what it's worth.

Powered by Google App Engine
This is Rietveld 408576698