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

Issue 97993006: [rAC, OSX] Force better initial size for sign-in (2nd try) (Closed)

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

Description

[rAC, OSX] Force better initial size for sign-in (2nd try) This is a re-land of http://crrev.com/103853004 (r240566), which was reverted in http://crrev.com/113913008 (r240603) The revert was due to a test failure with the root cause that AutofillDialogBrowserTest shows the dialog, but never runs the NSRunLoop - which means the visual display is not fully updated. And showing the sign-in dialog requires the main dialog's size to be non- zero. Fixes added: * AutofillSignInDelegate DCHECKs for invalid sizes (better callstacks) * AutofillDialogBrowserTest cycles run loops whenever dialog is shown ---- original description ---- Open the sign-in dialog with an initial size equal to the current dialog. This avoids one unnecessary resize until the content is loaded and makes the visual experience less jarring. ---- end original description ---- TBR=jochen@chromium.org R=isherman@chromium.org BUG=325518 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241009

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -6 lines) Patch
M chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc View 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.mm View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.mm View 1 chunk +7 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
groby-ooo-7-16
ilya:PTAL - this fixes a test breakage. jochen: FYI
7 years ago (2013-12-13 23:57:29 UTC) #1
Ilya Sherman
LGTM. For future reference, it's quite helpful to upload the original CL as patch set ...
7 years ago (2013-12-13 23:59:47 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/97993006/1
7 years ago (2013-12-14 00:05:43 UTC) #3
groby-ooo-7-16
Sorry, thought I had done that :( On Fri, Dec 13, 2013 at 3:59 PM, ...
7 years ago (2013-12-14 00:10:31 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=235908
7 years ago (2013-12-14 02:41:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/97993006/1
7 years ago (2013-12-14 02:46:05 UTC) #6
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=202269
7 years ago (2013-12-14 06:06:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/97993006/1
7 years ago (2013-12-16 17:56:22 UTC) #8
commit-bot: I haz the power
7 years ago (2013-12-16 20:35:20 UTC) #9
Message was sent while issue was closed.
Change committed as 241009

Powered by Google App Engine
This is Rietveld 408576698