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

Issue 482643004: Fix a trio of autofill popup issues (Closed)

Created:
6 years, 4 months ago by Evan Stade
Modified:
6 years, 3 months ago
CC:
chromium-reviews, creis+watch_chromium.org, benquan, browser-components-watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix a couple of autofill popup issues 1. The popup needs to hide when the renderer resizes (akin to hiding on scroll or orientation change). 2. There was a race condition where the renderer could say Show() then Hide(), but the Hide() would fall on deaf ears because the popup was still waiting for webdata. The linked bug occurred when the render view was auto-resized /after/ an orientation change. After the orientation change we'd get a text field changed event which would trigger the popup to reshow. The fix is to make the renderer resizing close the popup, but (2) and (3) above were necessary for this to actually work. BUG=401752 Committed: https://crrev.com/48c858891473fdbf4860a1fbdfe44f431d3b3f38 Cr-Commit-Position: refs/heads/master@{#291720}

Patch Set 1 #

Total comments: 1

Patch Set 2 : revert is_popup_possibly_showing_ chagnes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M components/autofill/content/renderer/autofill_agent.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autocomplete_history_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/renderer/render_view_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Evan Stade
+rouslan for components/autofill/ +jochen for content/ https://codereview.chromium.org/482643004/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/482643004/diff/1/content/renderer/render_view_impl.cc#newcode3358 content/renderer/render_view_impl.cc:3358: webview()->hidePopups(); note similar ...
6 years, 4 months ago (2014-08-21 00:42:12 UTC) #1
please use gerrit instead
Is it possible to add test coverage for this behavior?
6 years, 4 months ago (2014-08-21 00:58:57 UTC) #2
Evan Stade
On 2014/08/21 00:58:57, Rouslan Solomakhin wrote: > Is it possible to add test coverage for ...
6 years, 4 months ago (2014-08-21 01:02:58 UTC) #3
please use gerrit instead
In that case, LGTM, but you better pinch and rotate your device every day to ...
6 years, 4 months ago (2014-08-21 01:08:02 UTC) #4
Evan Stade
jam instead of jochen for content/
6 years, 4 months ago (2014-08-21 01:10:21 UTC) #5
jam
content lgtm
6 years, 4 months ago (2014-08-21 21:26:13 UTC) #6
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 4 months ago (2014-08-21 21:32:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/482643004/1
6 years, 4 months ago (2014-08-21 21:36:39 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 01:12:25 UTC) #9
Evan Stade
The CQ bit was unchecked by estade@chromium.org
6 years, 4 months ago (2014-08-22 01:29:18 UTC) #10
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 4 months ago (2014-08-25 16:04:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/482643004/20001
6 years, 4 months ago (2014-08-25 16:05:18 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-25 17:26:35 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (20001) as 6df92b0ded2258762a269973b67ed535d6b17904
6 years, 4 months ago (2014-08-25 18:27:01 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:35:55 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/48c858891473fdbf4860a1fbdfe44f431d3b3f38
Cr-Commit-Position: refs/heads/master@{#291720}

Powered by Google App Engine
This is Rietveld 408576698