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

Issue 2954853004: [ios] TextBadgeView interface, implementation, and unit test 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] TextBadgeView interface, implementation, and unit test stubs. Added header, implementation, and unit test files for TextBadgeView. Updated the BUILD.gn file in the reading_list directory to include the header and implementation files in the reading_list_ui source set, and the unit test file in the unit_tests source set. The header, implementation, and unit test files are stub implementations. For context, the TextBadgeView is part of the User Education project. BUG=none. Review-Url: https://codereview.chromium.org/2954853004 Cr-Commit-Position: refs/heads/master@{#483205} Committed: https://chromium.googlesource.com/chromium/src/+/e28c24b9848609678128c3644f752bcf8d5832d7

Patch Set 1 #

Total comments: 4

Patch Set 2 : Moved to reading_list directory and added unit test stub. #

Total comments: 3

Patch Set 3 : Added unit test stubs. #

Total comments: 18

Patch Set 4 : Fixed initializers and unit tests. #

Total comments: 3

Patch Set 5 : Fixed initializer and unit test comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -0 lines) Patch
M ios/chrome/browser/ui/reading_list/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/reading_list/text_badge_view.h View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/reading_list/text_badge_view.mm View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/reading_list/text_badge_view_unittest.mm View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
edchin
Nice first CL. Please create a placeholder unit test file as well. Also rename the ...
3 years, 5 months ago (2017-06-26 22:24:08 UTC) #5
rohitrao (ping after 24h)
Looks good! Please consider adding some basic unittests in this CL. Even though the class ...
3 years, 5 months ago (2017-06-26 23:34:17 UTC) #6
edchin
https://codereview.chromium.org/2954853004/diff/1/ios/chrome/browser/ui/tools_menu/BUILD.gn File ios/chrome/browser/ui/tools_menu/BUILD.gn (right): https://codereview.chromium.org/2954853004/diff/1/ios/chrome/browser/ui/tools_menu/BUILD.gn#newcode10 ios/chrome/browser/ui/tools_menu/BUILD.gn:10: "text_badge_view.h", Per our discussion, please move this to the ...
3 years, 5 months ago (2017-06-27 00:39:42 UTC) #7
helenlyang
On 2017/06/27 00:39:42, edchin wrote: > https://codereview.chromium.org/2954853004/diff/1/ios/chrome/browser/ui/tools_menu/BUILD.gn > File ios/chrome/browser/ui/tools_menu/BUILD.gn (right): > > https://codereview.chromium.org/2954853004/diff/1/ios/chrome/browser/ui/tools_menu/BUILD.gn#newcode10 > ...
3 years, 5 months ago (2017-06-27 01:13:37 UTC) #10
jif
looks good, but can you tell me what is the reasoning behind the move to ...
3 years, 5 months ago (2017-06-27 15:11:47 UTC) #11
helenlyang
On 2017/06/27 15:11:47, jif wrote: > looks good, but can you tell me what is ...
3 years, 5 months ago (2017-06-27 17:38:09 UTC) #12
jif-google
On 2017/06/27 17:38:09, helenlyang wrote: > On 2017/06/27 15:11:47, jif wrote: > > looks good, ...
3 years, 5 months ago (2017-06-27 17:48:46 UTC) #13
jif
On 2017/06/27 17:48:46, jif-google wrote: > On 2017/06/27 17:38:09, helenlyang wrote: > > On 2017/06/27 ...
3 years, 5 months ago (2017-06-27 18:15:47 UTC) #14
gchatz
The CL description should match the guidelines I sent out yesterday, primarily 72 char width. ...
3 years, 5 months ago (2017-06-27 18:20:45 UTC) #15
rohitrao (ping after 24h)
lgtm once gchatz and edchin sign off, thanks!
3 years, 5 months ago (2017-06-27 19:25:10 UTC) #17
helenlyang
On 2017/06/27 19:25:10, rohitrao (ping after 24h) wrote: > lgtm once gchatz and edchin sign ...
3 years, 5 months ago (2017-06-27 22:46:02 UTC) #19
edchin
This is a good second iteration. I like the tests that you added. I've done ...
3 years, 5 months ago (2017-06-28 00:38:24 UTC) #20
edchin
https://codereview.chromium.org/2954853004/diff/40001/ios/chrome/browser/ui/reading_list/text_badge_view.mm File ios/chrome/browser/ui/reading_list/text_badge_view.mm (right): https://codereview.chromium.org/2954853004/diff/40001/ios/chrome/browser/ui/reading_list/text_badge_view.mm#newcode11 ios/chrome/browser/ui/reading_list/text_badge_view.mm:11: @interface TextBadgeView () On 2017/06/28 00:38:23, edchin wrote: > ...
3 years, 5 months ago (2017-06-28 00:40:01 UTC) #21
edchin
https://codereview.chromium.org/2954853004/diff/80001/ios/chrome/browser/ui/reading_list/text_badge_view.h File ios/chrome/browser/ui/reading_list/text_badge_view.h (right): https://codereview.chromium.org/2954853004/diff/80001/ios/chrome/browser/ui/reading_list/text_badge_view.h#newcode15 ios/chrome/browser/ui/reading_list/text_badge_view.h:15: - (instancetype)initWithFrame:(CGRect)frame displayText:(NSString*)text; We should designate this as the ...
3 years, 5 months ago (2017-06-28 00:51:14 UTC) #22
helenlyang
Addressed edchin's comments. https://codereview.chromium.org/2954853004/diff/80001/ios/chrome/browser/ui/reading_list/text_badge_view.h File ios/chrome/browser/ui/reading_list/text_badge_view.h (right): https://codereview.chromium.org/2954853004/diff/80001/ios/chrome/browser/ui/reading_list/text_badge_view.h#newcode10 ios/chrome/browser/ui/reading_list/text_badge_view.h:10: // Pill-shaped view that displays white ...
3 years, 5 months ago (2017-06-28 15:25:07 UTC) #23
edchin
lgtm -- once you make the two changes commented below. Thanks! https://codereview.chromium.org/2954853004/diff/110001/ios/chrome/browser/ui/reading_list/text_badge_view.h File ios/chrome/browser/ui/reading_list/text_badge_view.h (right): ...
3 years, 5 months ago (2017-06-28 19:54:57 UTC) #25
gchatz
lgtm with those changes as well. Thanks! https://codereview.chromium.org/2954853004/diff/110001/ios/chrome/browser/ui/reading_list/text_badge_view.h File ios/chrome/browser/ui/reading_list/text_badge_view.h (right): https://codereview.chromium.org/2954853004/diff/110001/ios/chrome/browser/ui/reading_list/text_badge_view.h#newcode14 ios/chrome/browser/ui/reading_list/text_badge_view.h:14: - (instancetype)initWithFrame:(CGRect)frame ...
3 years, 5 months ago (2017-06-28 20:10:17 UTC) #26
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/2954853004/130001
3 years, 5 months ago (2017-06-28 20:37:45 UTC) #29
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 23:59:14 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:130001) as
https://chromium.googlesource.com/chromium/src/+/e28c24b9848609678128c3644f75...

Powered by Google App Engine
This is Rietveld 408576698