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

Issue 25358002: [rAC, OSX] Stop suggestions/inputs from flickering (Closed)

Created:
7 years, 2 months ago by groby-ooo-7-16
Modified:
7 years, 2 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, benquan, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

[rAC, OSX] Stop suggestions/inputs from flickering Stop visual dialog flicker when switching a section's input source from manual to suggestions or vice versa. 1) Coalesce "requestRelayout" messages, so they are only called once the current RunLoop iteration is done. Previously, they were executed immediately on each individual data change - multiple times while the controller was updating. 2) Change visibility of suggestions/inputs _after_ the views have been laid out. Prevents briefly observable layout flow. NOTRY=true BUG=286530 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226375

Patch Set 1 #

Patch Set 2 : Remove bad DCHECK. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -17 lines) Patch
M chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm View 5 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_section_container.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_section_container.mm View 1 7 chunks +8 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
groby-ooo-7-16
rsesek: PTAL
7 years, 2 months ago (2013-09-30 21:59:56 UTC) #1
Robert Sesek
Do the tests pass with this? You may need NSRunLoopRunAllPending(). If so, LGTM.
7 years, 2 months ago (2013-09-30 22:06:08 UTC) #2
groby-ooo-7-16
AFAICT, all tests pass - presumably due to the fact that they're all browser tests ...
7 years, 2 months ago (2013-09-30 22:22:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/25358002/1
7 years, 2 months ago (2013-09-30 22:23:22 UTC) #4
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=173532
7 years, 2 months ago (2013-10-01 03:35:47 UTC) #5
groby-ooo-7-16
Odd. Passing locally. Investigating further...
7 years, 2 months ago (2013-10-01 17:56:29 UTC) #6
groby-ooo-7-16
That was fun. Turns out that I have "Full Keyboard Access: All Controls", trybots have ...
7 years, 2 months ago (2013-10-01 21:18:32 UTC) #7
groby-ooo-7-16
(Sorry - also merged to HEAD, that caused all the non-DCHECK changes)
7 years, 2 months ago (2013-10-01 21:19:45 UTC) #8
Robert Sesek
Still LGTM
7 years, 2 months ago (2013-10-01 21:40:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/25358002/30001
7 years, 2 months ago (2013-10-01 21:47:09 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-01 22:54:31 UTC) #11
groby-ooo-7-16
NOTRY=true because the CQ hates me
7 years, 2 months ago (2013-10-02 01:09:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/25358002/30001
7 years, 2 months ago (2013-10-02 01:10:08 UTC) #13
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 01:11:53 UTC) #14
Message was sent while issue was closed.
Change committed as 226375

Powered by Google App Engine
This is Rietveld 408576698