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

Issue 866523002: [Abandoned] Add Autofill to the <webview> chrome://chrome-signin page (Closed)

Created:
5 years, 11 months ago by noms (inactive)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, lazyboy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Autofill to the <webview> chrome://chrome-signin page The change in the chrome_autofill_client.cc is needed to enable the autofill popup on Mac. BUG=447938 TEST=Start Chrome. Navigate to chrome://chrome-signin. Enter a correct username with an incorrect password. After the password error appears, you should be able to autofill that username. Committed: https://crrev.com/4a1e13b16b5ef2cb6f7c800ad3c08f1f44bef285 Cr-Commit-Position: refs/heads/master@{#314889} Committed: https://crrev.com/e6d3ca36ec225b0e13e385318c6c4f35fad4ca47 Cr-Commit-Position: refs/heads/master@{#316899}

Patch Set 1 : cleanup & fix locale #

Patch Set 2 : mac: fix popup #

Total comments: 1

Patch Set 3 : fix native view bit #

Total comments: 4

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : resimplify native view bit #

Patch Set 6 : Fixed crash because save bubble wasn't initialized #

Patch Set 7 : re-re-re-reeeebase #

Patch Set 8 : reitveld ate my patch #

Patch Set 9 : no autofill in extensions/apps #

Total comments: 2

Patch Set 10 : gah. words have meanings. :/ #

Patch Set 11 : add dcheck for the chrome signin page #

Total comments: 8

Patch Set 12 : only allow autofill in the signin page #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -8 lines) Patch
M chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.cc View 1 3 4 7 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 78 (18 generated)
noms (inactive)
Hiya! I've added autofill to webview, and hopefully not entirely incorrectly. Please take a look! ...
5 years, 10 months ago (2015-02-04 21:53:44 UTC) #5
Evan Stade
https://codereview.chromium.org/866523002/diff/80001/chrome/browser/ui/autofill/chrome_autofill_client.cc File chrome/browser/ui/autofill/chrome_autofill_client.cc (right): https://codereview.chromium.org/866523002/diff/80001/chrome/browser/ui/autofill/chrome_autofill_client.cc#newcode193 chrome/browser/ui/autofill/chrome_autofill_client.cc:193: web_contents()->GetContentNativeView(), I'm not familiar with the differences between GetNativeView ...
5 years, 10 months ago (2015-02-04 21:57:23 UTC) #6
noms (inactive)
On 2015/02/04 21:57:23, Evan Stade wrote: > https://codereview.chromium.org/866523002/diff/80001/chrome/browser/ui/autofill/chrome_autofill_client.cc > File chrome/browser/ui/autofill/chrome_autofill_client.cc (right): > > https://codereview.chromium.org/866523002/diff/80001/chrome/browser/ui/autofill/chrome_autofill_client.cc#newcode193 ...
5 years, 10 months ago (2015-02-04 21:59:44 UTC) #7
noms (inactive)
On 2015/02/04 21:57:23, Evan Stade wrote: > https://codereview.chromium.org/866523002/diff/80001/chrome/browser/ui/autofill/chrome_autofill_client.cc > File chrome/browser/ui/autofill/chrome_autofill_client.cc (right): > > https://codereview.chromium.org/866523002/diff/80001/chrome/browser/ui/autofill/chrome_autofill_client.cc#newcode193 ...
5 years, 10 months ago (2015-02-04 21:59:46 UTC) #8
Evan Stade
On 2015/02/04 21:59:46, Monica Dinculescu wrote: > On 2015/02/04 21:57:23, Evan Stade wrote: > > ...
5 years, 10 months ago (2015-02-04 22:00:41 UTC) #9
noms (inactive)
On 2015/02/04 22:00:41, Evan Stade wrote: > On 2015/02/04 21:59:46, Monica Dinculescu wrote: > > ...
5 years, 10 months ago (2015-02-04 22:11:16 UTC) #10
Fady Samuel
This is a bit outside of my understanding and I'm in a weird timezone at ...
5 years, 10 months ago (2015-02-04 22:55:30 UTC) #12
noms (inactive)
On 2015/02/04 22:00:41, Evan Stade wrote: > On 2015/02/04 21:59:46, Monica Dinculescu wrote: > > ...
5 years, 10 months ago (2015-02-05 00:13:35 UTC) #14
lazyboy
The WebViewGuest* changes LGTM. Narrowing down the container_view() override for <webview> looks fine too. https://chromiumcodereview.appspot.com/866523002/diff/120001/chrome/browser/ui/autofill/chrome_autofill_client.cc ...
5 years, 10 months ago (2015-02-05 00:39:50 UTC) #15
lazyboy
FYI https://chromiumcodereview.appspot.com/866523002/diff/120001/chrome/browser/ui/autofill/chrome_autofill_client.cc File chrome/browser/ui/autofill/chrome_autofill_client.cc (right): https://chromiumcodereview.appspot.com/866523002/diff/120001/chrome/browser/ui/autofill/chrome_autofill_client.cc#newcode192 chrome/browser/ui/autofill/chrome_autofill_client.cc:192: if (extensions::WebViewGuest::FromWebContents(web_contents())) #if defined(ENABLE_EXTENSIONS) this call and the ...
5 years, 10 months ago (2015-02-05 00:43:56 UTC) #16
noms (inactive)
https://codereview.chromium.org/866523002/diff/120001/chrome/browser/ui/autofill/chrome_autofill_client.cc File chrome/browser/ui/autofill/chrome_autofill_client.cc (right): https://codereview.chromium.org/866523002/diff/120001/chrome/browser/ui/autofill/chrome_autofill_client.cc#newcode189 chrome/browser/ui/autofill/chrome_autofill_client.cc:189: // If the webcontents is inside a webview, use ...
5 years, 10 months ago (2015-02-05 02:50:33 UTC) #18
Evan Stade
https://codereview.chromium.org/866523002/diff/140001/chrome/browser/ui/autofill/chrome_autofill_client.cc File chrome/browser/ui/autofill/chrome_autofill_client.cc (left): https://codereview.chromium.org/866523002/diff/140001/chrome/browser/ui/autofill/chrome_autofill_client.cc#oldcode193 chrome/browser/ui/autofill/chrome_autofill_client.cc:193: web_contents()->GetNativeView(), when I look at what this view is ...
5 years, 10 months ago (2015-02-05 03:12:56 UTC) #19
noms (inactive)
https://codereview.chromium.org/866523002/diff/140001/chrome/browser/ui/autofill/chrome_autofill_client.cc File chrome/browser/ui/autofill/chrome_autofill_client.cc (left): https://codereview.chromium.org/866523002/diff/140001/chrome/browser/ui/autofill/chrome_autofill_client.cc#oldcode193 chrome/browser/ui/autofill/chrome_autofill_client.cc:193: web_contents()->GetNativeView(), On 2015/02/05 03:12:56, Evan Stade wrote: > when ...
5 years, 10 months ago (2015-02-05 18:56:08 UTC) #20
Evan Stade
autofill lgtm
5 years, 10 months ago (2015-02-05 21:44:08 UTC) #21
Fady Samuel
lgtm
5 years, 10 months ago (2015-02-05 21:50:52 UTC) #22
noms (inactive)
Woot. Thanks!
5 years, 10 months ago (2015-02-05 21:51:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866523002/160001
5 years, 10 months ago (2015-02-05 21:53:08 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:160001)
5 years, 10 months ago (2015-02-05 21:57:08 UTC) #26
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/4a1e13b16b5ef2cb6f7c800ad3c08f1f44bef285 Cr-Commit-Position: refs/heads/master@{#314889}
5 years, 10 months ago (2015-02-05 21:58:40 UTC) #27
Vitaly Buka (NO REVIEWS)
A revert of this CL (patchset #5 id:160001) has been created in https://codereview.chromium.org/887003007/ by vitalybuka@chromium.org. ...
5 years, 10 months ago (2015-02-06 22:28:39 UTC) #28
noms (inactive)
Hi Fady and Vaclav, I think I've fixed the crash (needed to throw more factories ...
5 years, 10 months ago (2015-02-11 21:36:43 UTC) #32
vabr (Chromium)
On 2015/02/11 21:36:43, Monica Dinculescu wrote: > Hi Fady and Vaclav, > > I think ...
5 years, 10 months ago (2015-02-12 14:40:30 UTC) #33
Fady Samuel
On 2015/02/12 14:40:30, vabr (Chromium) wrote: > On 2015/02/11 21:36:43, Monica Dinculescu wrote: > > ...
5 years, 10 months ago (2015-02-12 14:48:57 UTC) #34
noms (inactive)
no autofill in extensions/apps
5 years, 10 months ago (2015-02-12 18:01:36 UTC) #35
noms (inactive)
Oh, TIL "git cl upload -m" as a typo sends an email. Sorry for the ...
5 years, 10 months ago (2015-02-12 18:05:55 UTC) #37
Fady Samuel
https://codereview.chromium.org/866523002/diff/280001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc File chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc (right): https://codereview.chromium.org/866523002/diff/280001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc#newcode83 chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc:83: // <webview> outside of Chrome Apps does not handle ...
5 years, 10 months ago (2015-02-12 19:16:27 UTC) #38
noms (inactive)
https://codereview.chromium.org/866523002/diff/280001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc File chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc (right): https://codereview.chromium.org/866523002/diff/280001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc#newcode83 chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc:83: // <webview> outside of Chrome Apps does not handle ...
5 years, 10 months ago (2015-02-12 19:55:28 UTC) #39
vabr (Chromium)
Thanks, Monica. Looking at patch set 9, I understand that password manager cannot execute at ...
5 years, 10 months ago (2015-02-12 20:03:45 UTC) #40
Fady Samuel
On 2015/02/12 20:03:45, vabr (Chromium) wrote: > Thanks, Monica. > > Looking at patch set ...
5 years, 10 months ago (2015-02-12 20:08:07 UTC) #41
jww
On 2015/02/12 20:08:07, Fady Samuel wrote: > On 2015/02/12 20:03:45, vabr (Chromium) wrote: > > ...
5 years, 10 months ago (2015-02-12 20:24:21 UTC) #42
vabr (Chromium)
On 2015/02/12 20:08:07, Fady Samuel wrote: > On 2015/02/12 20:03:45, vabr (Chromium) wrote: > > ...
5 years, 10 months ago (2015-02-12 20:26:18 UTC) #43
noms (inactive)
Hmm, let me try to clear some things up that might answer everyone's concerns: - ...
5 years, 10 months ago (2015-02-13 18:07:07 UTC) #44
noms (inactive)
On 2015/02/13 18:07:07, Monica Dinculescu wrote: > Hmm, let me try to clear some things ...
5 years, 10 months ago (2015-02-16 18:58:06 UTC) #45
Fady Samuel
On 2015/02/16 18:58:06, Monica Dinculescu wrote: > On 2015/02/13 18:07:07, Monica Dinculescu wrote: > > ...
5 years, 10 months ago (2015-02-16 19:01:58 UTC) #46
jww
On 2015/02/16 19:01:58, Fady Samuel wrote: > On 2015/02/16 18:58:06, Monica Dinculescu wrote: > > ...
5 years, 10 months ago (2015-02-17 19:17:26 UTC) #47
jww
On 2015/02/17 19:17:26, jww wrote: > On 2015/02/16 19:01:58, Fady Samuel wrote: > > On ...
5 years, 10 months ago (2015-02-17 19:27:43 UTC) #49
jww
On 2015/02/17 19:27:43, jww wrote: > On 2015/02/17 19:17:26, jww wrote: > > On 2015/02/16 ...
5 years, 10 months ago (2015-02-17 19:51:53 UTC) #50
noms (inactive)
DCHECK has been added!
5 years, 10 months ago (2015-02-17 20:15:57 UTC) #52
engedy
LGTM % comments. Joel, one question also for you. https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc File chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc (right): https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc#newcode90 chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc:90: ...
5 years, 10 months ago (2015-02-18 13:34:27 UTC) #53
engedy
https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc File chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc (right): https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc#newcode94 chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc:94: ChromePasswordManagerClient::CreateForWebContentsWithAutofillClient( On 2015/02/18 13:34:27, engedy wrote: > Could you ...
5 years, 10 months ago (2015-02-18 13:35:28 UTC) #54
Fady Samuel
https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc File chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc (right): https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc#newcode90 chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc:90: DCHECK(web_view_guest_->GetOwnerSiteURL().GetOrigin().spec() == On 2015/02/18 13:34:27, engedy wrote: > @Joel, ...
5 years, 10 months ago (2015-02-18 14:08:20 UTC) #55
Fady Samuel
On 2015/02/18 14:08:20, Fady Samuel wrote: > https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc > File chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc > (right): > > ...
5 years, 10 months ago (2015-02-18 14:09:41 UTC) #56
engedy
On 2015/02/18 14:09:41, Fady Samuel wrote: > On 2015/02/18 14:08:20, Fady Samuel wrote: > > ...
5 years, 10 months ago (2015-02-18 14:17:10 UTC) #57
noms (inactive)
Changed the DCHECK into an early return. Also, I've tested with the bubble flag -- ...
5 years, 10 months ago (2015-02-18 18:33:13 UTC) #59
jww
https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc File chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc (right): https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc#newcode90 chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc:90: DCHECK(web_view_guest_->GetOwnerSiteURL().GetOrigin().spec() == On 2015/02/18 18:33:12, Monica Dinculescu wrote: > ...
5 years, 10 months ago (2015-02-18 20:08:45 UTC) #61
noms (inactive)
I've also updated the CL description to match the contents of the CL https://codereview.chromium.org/866523002/diff/320001/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc File ...
5 years, 10 months ago (2015-02-18 21:04:03 UTC) #62
jww
On 2015/02/18 21:04:03, Monica Dinculescu wrote: > I've also updated the CL description to match ...
5 years, 10 months ago (2015-02-18 21:17:28 UTC) #63
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866523002/340001
5 years, 10 months ago (2015-02-18 21:21:43 UTC) #65
commit-bot: I haz the power
Committed patchset #12 (id:340001)
5 years, 10 months ago (2015-02-18 21:49:27 UTC) #66
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/e6d3ca36ec225b0e13e385318c6c4f35fad4ca47 Cr-Commit-Position: refs/heads/master@{#316899}
5 years, 10 months ago (2015-02-18 21:50:14 UTC) #67
noms (inactive)
A revert of this CL (patchset #12 id:340001) has been created in https://codereview.chromium.org/944513002/ by noms@chromium.org. ...
5 years, 10 months ago (2015-02-19 19:39:00 UTC) #68
engedy
(+mkwst)
5 years, 10 months ago (2015-02-20 15:39:29 UTC) #70
engedy
@Fady, in order to give Mike and me some more context, could you please briefly ...
5 years, 10 months ago (2015-02-20 17:29:20 UTC) #71
noms (inactive)
On 2015/02/20 17:29:20, engedy wrote: > @Fady, in order to give Mike and me some ...
5 years, 10 months ago (2015-02-20 18:41:27 UTC) #72
engedy
In that case, we can no longer rely on scheme-based suppression of the password manager ...
5 years, 10 months ago (2015-02-20 19:55:49 UTC) #73
noms (inactive)
On 2015/02/20 19:55:49, engedy wrote: > In that case, we can no longer rely on ...
5 years, 10 months ago (2015-02-23 15:03:05 UTC) #74
noms (inactive)
vabr@/engedy@: ping! What should be the next steps for this CL? Can password autofill and ...
5 years, 9 months ago (2015-03-04 19:26:41 UTC) #75
vabr (Chromium)
> I think that Password Autofill is really the requirement for webview (imagine if > ...
5 years, 9 months ago (2015-03-05 16:11:17 UTC) #76
vabr (Chromium)
The recent response on http://crbug.com/458279#c6 implies that the use-case from https://codereview.chromium.org/866523002/#msg74 here is not possible. ...
5 years, 9 months ago (2015-03-06 09:14:03 UTC) #77
noms (inactive)
5 years, 9 months ago (2015-03-16 15:54:26 UTC) #78
On 2015/03/06 09:14:03, vabr (Chromium) wrote:
> The recent response on http://crbug.com/458279#c6 implies that the use-case
from
> https://codereview.chromium.org/866523002/#msg74 here is not possible.
> 
> So as an alternative to using password autofill in read-only mode, we should
> still consider not using it in webview at all.

Alright. I will close this CL and the bug as won't fix. We can revisit this
decision in the future.

Thanks everyone for sticking with this CL and not killing me in the process! :)

Powered by Google App Engine
This is Rietveld 408576698