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

Issue 1814513002: Fix sizing issues in the tab modal signin flow. (Closed)

Created:
4 years, 9 months ago by anthonyvd
Modified:
4 years, 8 months ago
Reviewers:
Robert Sesek, Dan Beam, sky
CC:
chromium-reviews, tfarina, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix sizing issues in the tab modal signin flow. This change increases the height of the sign in portion of the flow to be tall enough to fit the content without a scrollbar. Longer content doesn't break the flow but makes the scrollbar appear. It also fixes the size of the details text in the sync confirmation portion to a pixel value to prevent it from being affected by content font size settings. BUG=593499, 591131, 589656 Committed: https://crrev.com/0ac524ae54c5fc198593f34aa242ac504508f023 Cr-Commit-Position: refs/heads/master@{#385225}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address feedback. #

Total comments: 3

Patch Set 3 : Auto-size sync confirmation dialog on views platforms #

Patch Set 4 : Auto-size sync confirmation dialog on mac #

Patch Set 5 : Rebase #

Total comments: 6

Patch Set 6 : Address feedback. #

Patch Set 7 : Rebase #

Patch Set 8 : Address message handler related feedback #

Total comments: 8

Patch Set 9 : Address documentation-related feedback #

Total comments: 2

Patch Set 10 : Combine Initialized and Resize messages in sync confirmation #

Patch Set 11 : Fix unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -85 lines) Patch
M chrome/browser/resources/sync_confirmation/sync_confirmation.css View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/resources/sync_confirmation/sync_confirmation.js View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h View 1 2 3 4 5 6 7 8 2 chunks +24 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.mm View 1 2 3 4 6 chunks +46 lines, -23 lines 0 comments Download
M chrome/browser/ui/signin_view_controller.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/signin_view_controller_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/ui/signin_view_controller_delegate.cc View 1 2 3 4 5 6 7 3 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc View 1 2 3 6 chunks +30 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler.cc View 1 2 3 4 5 6 7 4 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/sync_confirmation_handler.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/signin/sync_confirmation_handler.cc View 1 2 3 4 5 6 7 8 9 4 chunks +29 lines, -20 lines 0 comments Download
M chrome/browser/ui/webui/signin/sync_confirmation_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (4 generated)
anthonyvd
Hi everyone, can you please take a look at these small tweaks to the tab-modal ...
4 years, 9 months ago (2016-03-16 21:04:11 UTC) #2
Robert Sesek
cocoa/ LGTM
4 years, 9 months ago (2016-03-16 21:19:50 UTC) #3
sky
views LGTM
4 years, 9 months ago (2016-03-16 21:56:00 UTC) #4
Dan Beam
i think this is just kicking the can down the road. i think you should ...
4 years, 9 months ago (2016-03-17 01:49:29 UTC) #5
anthonyvd
There are multiple things that converge into making this change this specific way: 1- The ...
4 years, 9 months ago (2016-03-17 16:33:31 UTC) #6
Dan Beam
https://codereview.chromium.org/1814513002/diff/20001/chrome/browser/resources/sync_confirmation/sync_confirmation.css File chrome/browser/resources/sync_confirmation/sync_confirmation.css (right): https://codereview.chromium.org/1814513002/diff/20001/chrome/browser/resources/sync_confirmation/sync_confirmation.css#newcode39 chrome/browser/resources/sync_confirmation/sync_confirmation.css:39: font-size: 13px; how does this differ from the effective ...
4 years, 9 months ago (2016-03-17 22:37:26 UTC) #7
Dan Beam
On 2016/03/17 16:33:31, anthonyvd wrote: > There are multiple things that converge into making this ...
4 years, 9 months ago (2016-03-17 22:40:01 UTC) #8
anthonyvd
On 2016/03/17 22:40:01, Dan Beam wrote: > On 2016/03/17 16:33:31, anthonyvd wrote: > > There ...
4 years, 9 months ago (2016-03-18 17:54:30 UTC) #9
anthonyvd
Feedback addressed. rsesek@, sky@, I made some bigger changes to the sync confirmation code to ...
4 years, 9 months ago (2016-03-18 17:59:45 UTC) #10
anthonyvd
https://codereview.chromium.org/1814513002/diff/20001/chrome/browser/resources/sync_confirmation/sync_confirmation.css File chrome/browser/resources/sync_confirmation/sync_confirmation.css (right): https://codereview.chromium.org/1814513002/diff/20001/chrome/browser/resources/sync_confirmation/sync_confirmation.css#newcode39 chrome/browser/resources/sync_confirmation/sync_confirmation.css:39: font-size: 13px; On 2016/03/17 22:37:26, Dan Beam wrote: > ...
4 years, 9 months ago (2016-03-18 18:01:49 UTC) #11
Dan Beam
https://codereview.chromium.org/1814513002/diff/20001/chrome/browser/resources/sync_confirmation/sync_confirmation.css File chrome/browser/resources/sync_confirmation/sync_confirmation.css (right): https://codereview.chromium.org/1814513002/diff/20001/chrome/browser/resources/sync_confirmation/sync_confirmation.css#newcode39 chrome/browser/resources/sync_confirmation/sync_confirmation.css:39: font-size: 13px; On 2016/03/18 18:01:48, anthonyvd wrote: > On ...
4 years, 9 months ago (2016-03-18 18:10:08 UTC) #12
anthonyvd
On 2016/03/18 18:10:08, Dan Beam wrote: > https://codereview.chromium.org/1814513002/diff/20001/chrome/browser/resources/sync_confirmation/sync_confirmation.css > File chrome/browser/resources/sync_confirmation/sync_confirmation.css (right): > > https://codereview.chromium.org/1814513002/diff/20001/chrome/browser/resources/sync_confirmation/sync_confirmation.css#newcode39 ...
4 years, 9 months ago (2016-03-18 18:53:31 UTC) #13
anthonyvd
https://codereview.chromium.org/1814513002/diff/80001/chrome/browser/ui/signin_view_controller_delegate.cc File chrome/browser/ui/signin_view_controller_delegate.cc (right): https://codereview.chromium.org/1814513002/diff/80001/chrome/browser/ui/signin_view_controller_delegate.cc#newcode28 chrome/browser/ui/signin_view_controller_delegate.cc:28: web_contents_->GetWebUI()->RegisterMessageCallback( On 2016/03/18 18:10:08, Dan Beam wrote: > hmmm, ...
4 years, 9 months ago (2016-03-18 18:53:40 UTC) #14
Dan Beam
https://codereview.chromium.org/1814513002/diff/80001/chrome/browser/ui/signin_view_controller_delegate.cc File chrome/browser/ui/signin_view_controller_delegate.cc (right): https://codereview.chromium.org/1814513002/diff/80001/chrome/browser/ui/signin_view_controller_delegate.cc#newcode28 chrome/browser/ui/signin_view_controller_delegate.cc:28: web_contents_->GetWebUI()->RegisterMessageCallback( On 2016/03/18 18:53:40, anthonyvd wrote: > On 2016/03/18 ...
4 years, 9 months ago (2016-03-18 21:07:47 UTC) #15
anthonyvd
Hi everyone. I'm back from vacation so I addressed feedback. There have been significant changes ...
4 years, 8 months ago (2016-04-04 14:15:56 UTC) #16
Robert Sesek
https://codereview.chromium.org/1814513002/diff/140001/chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h File chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h (right): https://codereview.chromium.org/1814513002/diff/140001/chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h#newcode75 chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h:75: bool wait_for_size_; Can you document what these variables are? ...
4 years, 8 months ago (2016-04-04 14:54:34 UTC) #17
sky
https://codereview.chromium.org/1814513002/diff/140001/chrome/browser/ui/signin_view_controller_delegate.h File chrome/browser/ui/signin_view_controller_delegate.h (right): https://codereview.chromium.org/1814513002/diff/140001/chrome/browser/ui/signin_view_controller_delegate.h#newcode45 chrome/browser/ui/signin_view_controller_delegate.h:45: virtual void ResizeNativeView(int height) = 0; Document units of ...
4 years, 8 months ago (2016-04-04 15:04:02 UTC) #18
anthonyvd
https://codereview.chromium.org/1814513002/diff/140001/chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h File chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h (right): https://codereview.chromium.org/1814513002/diff/140001/chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h#newcode75 chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h:75: bool wait_for_size_; On 2016/04/04 14:54:34, Robert Sesek wrote: > ...
4 years, 8 months ago (2016-04-04 20:35:24 UTC) #19
Robert Sesek
lgtm
4 years, 8 months ago (2016-04-04 21:45:13 UTC) #20
sky
LGTM
4 years, 8 months ago (2016-04-04 22:48:44 UTC) #21
Dan Beam
lgtm https://codereview.chromium.org/1814513002/diff/160001/chrome/browser/resources/sync_confirmation/sync_confirmation.js File chrome/browser/resources/sync_confirmation/sync_confirmation.js (right): https://codereview.chromium.org/1814513002/diff/160001/chrome/browser/resources/sync_confirmation/sync_confirmation.js#newcode26 chrome/browser/resources/sync_confirmation/sync_confirmation.js:26: chrome.send('resizeNativeView', [document.body.scrollHeight]); nit: why do you need both ...
4 years, 8 months ago (2016-04-05 06:42:41 UTC) #22
anthonyvd
https://codereview.chromium.org/1814513002/diff/160001/chrome/browser/resources/sync_confirmation/sync_confirmation.js File chrome/browser/resources/sync_confirmation/sync_confirmation.js (right): https://codereview.chromium.org/1814513002/diff/160001/chrome/browser/resources/sync_confirmation/sync_confirmation.js#newcode26 chrome/browser/resources/sync_confirmation/sync_confirmation.js:26: chrome.send('resizeNativeView', [document.body.scrollHeight]); On 2016/04/05 06:42:41, Dan Beam wrote: > ...
4 years, 8 months ago (2016-04-05 14:24:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814513002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814513002/200001
4 years, 8 months ago (2016-04-05 18:11:44 UTC) #26
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 8 months ago (2016-04-05 18:18:01 UTC) #27
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 18:19:14 UTC) #29
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/0ac524ae54c5fc198593f34aa242ac504508f023
Cr-Commit-Position: refs/heads/master@{#385225}

Powered by Google App Engine
This is Rietveld 408576698