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

Issue 10829047: Deprecate unused views::Label::SetURL(). (Closed)

Created:
8 years, 5 months ago by msw
Modified:
8 years, 4 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Deprecate unused views::Label::SetURL(). Reasons to deprecate: 1) This function is unused in production. 2) The directionality code was wrong: 2a: Used Unicode control character wrapping. 2b: DCHECKing URL validity precludes invalid schemes with RTL leading substrings anyway. 3) The only tangible benefit (calling ui::ElideURL) is minimal. 4) It's easy to restore (or re-impl better) if needed. BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148806

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -42 lines) Patch
M ui/views/controls/label.h View 3 chunks +0 lines, -5 lines 0 comments Download
M ui/views/controls/label.cc View 3 chunks +1 line, -29 lines 0 comments Download
M ui/views/controls/label_unittest.cc View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
msw
Hey Peter, please take a look; thanks! No worries if you'd like me to leave ...
8 years, 5 months ago (2012-07-26 23:59:34 UTC) #1
Peter Kasting
If it's unused, that's reason enough to kill it. I'm skeptical on your point 2 ...
8 years, 5 months ago (2012-07-27 01:13:01 UTC) #2
Peter Kasting
Forgot to write LGTM (due to my first sentence).
8 years, 5 months ago (2012-07-27 01:13:17 UTC) #3
msw
Just to explain my thoughts and learn from you (feel free to ignore): > I ...
8 years, 5 months ago (2012-07-27 01:43:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/10829047/1
8 years, 5 months ago (2012-07-27 01:43:43 UTC) #5
commit-bot: I haz the power
Presubmit check for 10829047-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-27 01:43:49 UTC) #6
msw
+Ben for OWNERS. Please take a look; thanks!
8 years, 5 months ago (2012-07-27 01:46:20 UTC) #7
Peter Kasting
On 2012/07/27 01:43:29, msw wrote: > Just to explain my thoughts and learn from you ...
8 years, 5 months ago (2012-07-27 01:59:35 UTC) #8
Ben Goodger (Google)
lgtm
8 years, 4 months ago (2012-07-27 17:11:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/10829047/1
8 years, 4 months ago (2012-07-27 17:55:37 UTC) #10
commit-bot: I haz the power
8 years, 4 months ago (2012-07-27 21:10:07 UTC) #11
Change committed as 148806

Powered by Google App Engine
This is Rietveld 408576698