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

Issue 137563002: OneClickSigninBubbleView: Only show title if no error present. [Mac+Views] (Closed)

Created:
6 years, 11 months ago by Oren Blasberg
Modified:
6 years, 10 months ago
Reviewers:
groby-ooo-7-16, Nico, sky
CC:
chromium-reviews, tim+watch_chromium.org, tfarina, rsimha+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

OneClickSigninBubbleView: Only show title if no error present. For the error case: - Hide the "You're now signed in to Chrome" title. - Change "OK, got it!" to just "OK" XIB changes: - Connected the close (OK) button to the closeButton_ outlet, which was for some reason missing before. Screenshots (disregard text of errors; samples were used): - Mac: http://i.imgur.com/hPDAY8i.png - Views: http://i.imgur.com/ZM9ktga.png BUG=333988 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248618

Patch Set 1 #

Patch Set 2 : Views: Update "OK" button label to just say "OK" when error message is present. #

Patch Set 3 : Mac side changes. #

Total comments: 16

Patch Set 4 : Resolve conflict in cc file. #

Patch Set 5 : Respond to a couple of groby's changes. #

Patch Set 6 : Use NSHeight instead of size.height. #

Patch Set 7 : Update cc file to compile again after a recent change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -21 lines) Patch
chrome/app/nibs/OneClickSigninBubble.xib View 1 2 3 4 6 chunks +13 lines, -3 lines 0 comments Download
chrome/browser/ui/cocoa/one_click_signin_view_controller.mm View 1 2 3 4 5 3 chunks +29 lines, -3 lines 0 comments Download
chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc View 1 2 3 4 5 6 2 chunks +18 lines, -15 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Oren Blasberg
6 years, 11 months ago (2014-01-23 01:47:22 UTC) #1
Nico
groby, can you do the mac half?
6 years, 11 months ago (2014-01-23 01:48:21 UTC) #2
sky
views LGTM
6 years, 11 months ago (2014-01-23 15:13:41 UTC) #3
groby-ooo-7-16
Looking. Sorry, was OOO.
6 years, 11 months ago (2014-01-27 20:43:46 UTC) #4
groby-ooo-7-16
https://codereview.chromium.org/137563002/diff/40001/chrome/browser/ui/cocoa/one_click_signin_view_controller.mm File chrome/browser/ui/cocoa/one_click_signin_view_controller.mm (right): https://codereview.chromium.org/137563002/diff/40001/chrome/browser/ui/cocoa/one_click_signin_view_controller.mm#newcode24 chrome/browser/ui/cocoa/one_click_signin_view_controller.mm:24: const CGFloat kTopErrorMsgMargin = 12; Please don't abbreviate. Also, ...
6 years, 11 months ago (2014-01-27 21:28:18 UTC) #5
Oren Blasberg
Thanks so much for the review! Ideally I would ask about some of these things ...
6 years, 10 months ago (2014-01-29 23:52:18 UTC) #6
groby-ooo-7-16
Happy to explain the layout thing in person. It's a personal nit, though - the ...
6 years, 10 months ago (2014-01-30 23:12:41 UTC) #7
Oren Blasberg
As discussed offline, the weird layout calculations were necessary because the bubble is made slightly ...
6 years, 10 months ago (2014-01-31 00:11:01 UTC) #8
groby-ooo-7-16
With that, LGTM.
6 years, 10 months ago (2014-01-31 00:53:22 UTC) #9
Oren Blasberg
The CQ bit was checked by orenb@chromium.org
6 years, 10 months ago (2014-02-03 17:49:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/orenb@chromium.org/137563002/140001
6 years, 10 months ago (2014-02-03 17:50:48 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-03 18:20:20 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=222318
6 years, 10 months ago (2014-02-03 18:20:21 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 18:20:23 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 18:20:28 UTC) #15
Oren Blasberg
The CQ bit was checked by orenb@chromium.org
6 years, 10 months ago (2014-02-03 19:36:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/orenb@chromium.org/137563002/430001
6 years, 10 months ago (2014-02-03 19:37:48 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-03 21:12:42 UTC) #18
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=255751
6 years, 10 months ago (2014-02-03 21:12:43 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 21:12:48 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 21:12:52 UTC) #21
Oren Blasberg
The CQ bit was checked by orenb@chromium.org
6 years, 10 months ago (2014-02-03 21:41:01 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/orenb@chromium.org/137563002/430001
6 years, 10 months ago (2014-02-03 21:41:47 UTC) #23
commit-bot: I haz the power
Change committed as 248618
6 years, 10 months ago (2014-02-03 23:50:41 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:50:41 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:50:43 UTC) #26
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:50:45 UTC) #27
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:50:49 UTC) #28
commit-bot: I haz the power
6 years, 10 months ago (2014-02-03 23:50:49 UTC) #29
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698