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

Issue 2964233002: [ios] BubbleViewController and BubbleView stubs. (Closed)

Created:
3 years, 5 months ago by helenlyang
Modified:
3 years, 5 months ago
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews+chrome_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] BubbleViewController and BubbleView stubs. Added bubble_view_controller interface and implementation stubs, bubble_view interface and implementation stubs, and unit test stubs. These files live in the bubble_promo directory. For context, they are being used for the User Education project. BUG=740145 . Review-Url: https://codereview.chromium.org/2964233002 Cr-Commit-Position: refs/heads/master@{#485735} Committed: https://chromium.googlesource.com/chromium/src/+/5d0b9fa8555eb3a5b4ebada265794d04ac33c49b

Patch Set 1 #

Total comments: 24

Patch Set 2 : Add BubbleView, remove BubbleConfiguration #

Total comments: 3

Patch Set 3 : Add BubbleView property to BubbleVC #

Total comments: 36

Patch Set 4 : Rename directory, add unit test dep, other comments #

Total comments: 10

Patch Set 5 : Fix enum style, comments, and label attributes #

Total comments: 3

Patch Set 6 : Move view initialization to loadView, rebase #

Total comments: 1

Patch Set 7 : Add initial values for enums #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -0 lines) Patch
M ios/chrome/browser/ui/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A ios/chrome/browser/ui/bubble/BUILD.gn View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/bubble/OWNERS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/bubble/bubble_view.h View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/bubble/bubble_view.mm View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/bubble/bubble_view_controller.h View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/bubble/bubble_view_controller.mm View 1 2 3 4 5 6 1 chunk +49 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/bubble/bubble_view_controller_unittest.mm View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M ios/chrome/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 58 (30 generated)
edchin
The more I think about this, I think we need to make 2 changes: 1) ...
3 years, 5 months ago (2017-07-01 15:29:28 UTC) #7
edchin
On 2017/07/01 15:29:28, edchin wrote: > The more I think about this, I think we ...
3 years, 5 months ago (2017-07-01 15:34:00 UTC) #8
helenlyang
Thanks for the comments. I agree that the configuration object seems unnecessary now, especially since ...
3 years, 5 months ago (2017-07-05 20:35:37 UTC) #9
edchin
It's looking good. We'll finalize the interface tomorrow with marq@. https://codereview.chromium.org/2964233002/diff/40001/ios/chrome/browser/ui/bubble_promo/bubble_configuration.h File ios/chrome/browser/ui/bubble_promo/bubble_configuration.h (right): https://codereview.chromium.org/2964233002/diff/40001/ios/chrome/browser/ui/bubble_promo/bubble_configuration.h#newcode11 ...
3 years, 5 months ago (2017-07-06 04:56:19 UTC) #11
helenlyang
I added a private BubbleView property to BubbleVC and removed intrinsicContentSize based on our discussion ...
3 years, 5 months ago (2017-07-06 22:21:57 UTC) #12
edchin
On 2017/07/06 22:21:57, helenlyang wrote: > I added a private BubbleView property to BubbleVC and ...
3 years, 5 months ago (2017-07-07 04:24:10 UTC) #13
gchatz
https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/bubble_promo/BUILD.gn File ios/chrome/browser/ui/bubble_promo/BUILD.gn (right): https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/bubble_promo/BUILD.gn#newcode19 ios/chrome/browser/ui/bubble_promo/BUILD.gn:19: source_set("unit_tests") { This target is never depended on. So ...
3 years, 5 months ago (2017-07-07 04:29:11 UTC) #14
gchatz
https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/BUILD.gn File ios/chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/BUILD.gn#newcode397 ios/chrome/browser/ui/BUILD.gn:397: "//ios/chrome/browser/ui/bubble_promo", On 2017/07/07 04:24:10, edchin wrote: > Let's put ...
3 years, 5 months ago (2017-07-07 04:30:39 UTC) #15
edchin
https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/BUILD.gn File ios/chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/BUILD.gn#newcode397 ios/chrome/browser/ui/BUILD.gn:397: "//ios/chrome/browser/ui/bubble_promo", On 2017/07/07 04:30:39, gchatz wrote: > On 2017/07/07 ...
3 years, 5 months ago (2017-07-07 05:06:24 UTC) #16
helenlyang
Responded to all comments--PTAL. Thank you! https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/BUILD.gn File ios/chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/BUILD.gn#newcode275 ios/chrome/browser/ui/BUILD.gn:275: "//ios/chrome/browser/ui/bubble_promo", On 2017/07/07 ...
3 years, 5 months ago (2017-07-07 23:29:16 UTC) #18
gchatz
https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/bubble_promo/bubble_view.mm File ios/chrome/browser/ui/bubble_promo/bubble_view.mm (right): https://codereview.chromium.org/2964233002/diff/80001/ios/chrome/browser/ui/bubble_promo/bubble_view.mm#newcode12 ios/chrome/browser/ui/bubble_promo/bubble_view.mm:12: @property(nonatomic, readonly, weak) UILabel* label; On 2017/07/07 23:29:16, helenlyang ...
3 years, 5 months ago (2017-07-08 00:39:48 UTC) #19
gchatz
lgtm with comments. Thanks! https://codereview.chromium.org/2964233002/diff/100001/ios/chrome/browser/ui/bubble/bubble_view.mm File ios/chrome/browser/ui/bubble/bubble_view.mm (right): https://codereview.chromium.org/2964233002/diff/100001/ios/chrome/browser/ui/bubble/bubble_view.mm#newcode31 ios/chrome/browser/ui/bubble/bubble_view.mm:31: // Overriding sizeThatFits allows BubbleViewController ...
3 years, 5 months ago (2017-07-08 00:46:22 UTC) #20
edchin
Please address these comments as well before landing this CL. https://codereview.chromium.org/2964233002/diff/100001/ios/chrome/browser/ui/bubble/bubble_view.h File ios/chrome/browser/ui/bubble/bubble_view.h (right): https://codereview.chromium.org/2964233002/diff/100001/ios/chrome/browser/ui/bubble/bubble_view.h#newcode15 ...
3 years, 5 months ago (2017-07-08 07:58:26 UTC) #21
helenlyang
https://codereview.chromium.org/2964233002/diff/100001/ios/chrome/browser/ui/bubble/bubble_view.h File ios/chrome/browser/ui/bubble/bubble_view.h (right): https://codereview.chromium.org/2964233002/diff/100001/ios/chrome/browser/ui/bubble/bubble_view.h#newcode15 ios/chrome/browser/ui/bubble/bubble_view.h:15: BubbleArrowDirectionDown On 2017/07/08 07:58:26, edchin wrote: > Our convention ...
3 years, 5 months ago (2017-07-10 17:15:23 UTC) #22
rohitrao (ping after 24h)
https://codereview.chromium.org/2964233002/diff/120001/ios/chrome/browser/ui/bubble/bubble_view_controller.mm File ios/chrome/browser/ui/bubble/bubble_view_controller.mm (right): https://codereview.chromium.org/2964233002/diff/120001/ios/chrome/browser/ui/bubble/bubble_view_controller.mm#newcode19 ios/chrome/browser/ui/bubble/bubble_view_controller.mm:19: self.view = [[BubbleView alloc] initWithText:text Should this assignment be ...
3 years, 5 months ago (2017-07-10 17:44:28 UTC) #28
edchin
https://codereview.chromium.org/2964233002/diff/120001/ios/chrome/browser/ui/bubble/bubble_view_controller.mm File ios/chrome/browser/ui/bubble/bubble_view_controller.mm (right): https://codereview.chromium.org/2964233002/diff/120001/ios/chrome/browser/ui/bubble/bubble_view_controller.mm#newcode19 ios/chrome/browser/ui/bubble/bubble_view_controller.mm:19: self.view = [[BubbleView alloc] initWithText:text On 2017/07/10 17:44:28, rohitrao ...
3 years, 5 months ago (2017-07-10 17:51:59 UTC) #29
helenlyang
https://codereview.chromium.org/2964233002/diff/120001/ios/chrome/browser/ui/bubble/bubble_view_controller.mm File ios/chrome/browser/ui/bubble/bubble_view_controller.mm (right): https://codereview.chromium.org/2964233002/diff/120001/ios/chrome/browser/ui/bubble/bubble_view_controller.mm#newcode19 ios/chrome/browser/ui/bubble/bubble_view_controller.mm:19: self.view = [[BubbleView alloc] initWithText:text On 2017/07/10 17:51:59, edchin ...
3 years, 5 months ago (2017-07-10 18:21:28 UTC) #30
rohitrao (ping after 24h)
lgtm, thanks!
3 years, 5 months ago (2017-07-11 11:47:36 UTC) #35
marq (ping after 24h)
LGTM with nit. https://codereview.chromium.org/2964233002/diff/140001/ios/chrome/browser/ui/bubble/bubble_view.h File ios/chrome/browser/ui/bubble/bubble_view.h (right): https://codereview.chromium.org/2964233002/diff/140001/ios/chrome/browser/ui/bubble/bubble_view.h#newcode13 ios/chrome/browser/ui/bubble/bubble_view.h:13: BubbleArrowDirectionUp, nit: Provide an initial value ...
3 years, 5 months ago (2017-07-11 12:21:26 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2964233002/160001
3 years, 5 months ago (2017-07-11 15:58:13 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/498025)
3 years, 5 months ago (2017-07-11 17:51:34 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2964233002/160001
3 years, 5 months ago (2017-07-11 17:57:15 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/498271)
3 years, 5 months ago (2017-07-11 19:56:19 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2964233002/160001
3 years, 5 months ago (2017-07-11 20:18:44 UTC) #47
gchatz
On 2017/07/11 19:56:19, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 5 months ago (2017-07-11 20:18:50 UTC) #48
gchatz
On 2017/07/11 20:18:50, gchatz wrote: > On 2017/07/11 19:56:19, commit-bot: I haz the power wrote: ...
3 years, 5 months ago (2017-07-11 20:23:50 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2964233002/160001
3 years, 5 months ago (2017-07-11 22:37:52 UTC) #55
commit-bot: I haz the power
3 years, 5 months ago (2017-07-12 00:06:51 UTC) #58
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/5d0b9fa8555eb3a5b4ebada26579...

Powered by Google App Engine
This is Rietveld 408576698