Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Issue 144513002: [GFX] Add hostname elider. Add ability to elide strings at the beginning. (Closed)

Created:
6 years, 11 months ago by Greg Billock
Modified:
6 years, 10 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, jamesr
Visibility:
Public.

Description

[GFX] Add hostname elider. Add ability to elide strings at the beginning. [email protected] Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248726

Patch Set 1 #

Patch Set 2 : . #

Total comments: 30

Patch Set 3 : comments, test #

Total comments: 20

Patch Set 4 : tweaks #

Patch Set 5 : tweaks #

Patch Set 6 : Account for ios emulator #

Patch Set 7 : Follow ElideURL to chrome/browser/ui #

Patch Set 8 : update namespace, add test for short target lengths #

Total comments: 2

Patch Set 9 : Add comment #

Patch Set 10 : Mac compile workaround #

Patch Set 11 : Disable UI test on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -49 lines) Patch
M chrome/browser/ui/elide_url.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/elide_url.cc View 1 2 3 4 5 6 7 8 9 4 chunks +62 lines, -25 lines 0 comments Download
M chrome/browser/ui/tests/elide_url_unittest.cc View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
M ui/gfx/OWNERS View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ui/gfx/render_text.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M ui/gfx/text_elider.h View 1 2 3 4 5 6 7 4 chunks +8 lines, -3 lines 0 comments Download
M ui/gfx/text_elider.cc View 1 2 3 4 5 6 2 chunks +10 lines, -3 lines 0 comments Download
M ui/gfx/text_elider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +76 lines, -14 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
Greg Billock
6 years, 11 months ago (2014-01-22 01:08:12 UTC) #1
xji
Sorry that I have not been working on Chromium codebase for a long time. Could ...
6 years, 11 months ago (2014-01-24 21:19:04 UTC) #2
Greg Billock
On 2014/01/24 21:19:04, xji wrote: > Sorry that I have not been working on Chromium ...
6 years, 11 months ago (2014-01-24 21:54:22 UTC) #3
Greg Billock
On 2014/01/24 21:54:22, Greg Billock wrote: > On 2014/01/24 21:19:04, xji wrote: > > Sorry ...
6 years, 11 months ago (2014-01-24 21:56:19 UTC) #4
msw
https://codereview.chromium.org/144513002/diff/60001/ui/gfx/text_elider.cc File ui/gfx/text_elider.cc (right): https://codereview.chromium.org/144513002/diff/60001/ui/gfx/text_elider.cc#newcode401 ui/gfx/text_elider.cc:401: // Get domain and registry information from the URL. ...
6 years, 11 months ago (2014-01-25 02:38:22 UTC) #5
Greg Billock
https://codereview.chromium.org/144513002/diff/60001/ui/gfx/text_elider.cc File ui/gfx/text_elider.cc (right): https://codereview.chromium.org/144513002/diff/60001/ui/gfx/text_elider.cc#newcode401 ui/gfx/text_elider.cc:401: // Get domain and registry information from the URL. ...
6 years, 11 months ago (2014-01-27 19:11:30 UTC) #6
msw
https://codereview.chromium.org/144513002/diff/60001/ui/gfx/text_elider.cc File ui/gfx/text_elider.cc (right): https://codereview.chromium.org/144513002/diff/60001/ui/gfx/text_elider.cc#newcode431 ui/gfx/text_elider.cc:431: float subdomain_width = available_pixel_width - pixel_width_url_domain; On 2014/01/27 19:11:30, ...
6 years, 10 months ago (2014-01-28 19:59:51 UTC) #7
Greg Billock
https://codereview.chromium.org/144513002/diff/60001/ui/gfx/text_elider.cc File ui/gfx/text_elider.cc (right): https://codereview.chromium.org/144513002/diff/60001/ui/gfx/text_elider.cc#newcode431 ui/gfx/text_elider.cc:431: float subdomain_width = available_pixel_width - pixel_width_url_domain; On 2014/01/28 19:59:51, ...
6 years, 10 months ago (2014-01-28 21:40:27 UTC) #8
msw
LGTM
6 years, 10 months ago (2014-01-28 23:12:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/144513002/170001
6 years, 10 months ago (2014-01-28 23:52:48 UTC) #10
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=217562
6 years, 10 months ago (2014-01-29 00:46:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/144513002/170001
6 years, 10 months ago (2014-01-29 05:27:40 UTC) #12
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=118983
6 years, 10 months ago (2014-01-29 06:10:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/144513002/190001
6 years, 10 months ago (2014-01-29 22:10:07 UTC) #14
Greg Billock
On 2014/01/29 22:10:07, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 10 months ago (2014-01-29 22:16:24 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_chromeos_clang for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos_clang&number=69466
6 years, 10 months ago (2014-01-30 07:36:23 UTC) #16
Greg Billock
On 2014/01/30 07:36:23, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 10 months ago (2014-01-30 17:10:17 UTC) #17
Greg Billock
On 2014/01/30 17:10:17, Greg Billock wrote: > On 2014/01/30 07:36:23, I haz the power (commit-bot) ...
6 years, 10 months ago (2014-01-30 17:11:49 UTC) #18
sky
LGTM https://codereview.chromium.org/144513002/diff/230001/chrome/browser/ui/elide_url.cc File chrome/browser/ui/elide_url.cc (right): https://codereview.chromium.org/144513002/diff/230001/chrome/browser/ui/elide_url.cc#newcode72 chrome/browser/ui/elide_url.cc:72: void SplitHost(const GURL& url, Add description as to ...
6 years, 10 months ago (2014-02-03 17:25:28 UTC) #19
Greg Billock
https://codereview.chromium.org/144513002/diff/230001/chrome/browser/ui/elide_url.cc File chrome/browser/ui/elide_url.cc (right): https://codereview.chromium.org/144513002/diff/230001/chrome/browser/ui/elide_url.cc#newcode72 chrome/browser/ui/elide_url.cc:72: void SplitHost(const GURL& url, On 2014/02/03 17:25:28, sky wrote: ...
6 years, 10 months ago (2014-02-03 18:02:26 UTC) #20
Greg Billock
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-03 18:02:34 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/144513002/270001
6 years, 10 months ago (2014-02-03 18:02:46 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-03 18:30:26 UTC) #23
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, check_deps2git, chromedriver_unittests, ...
6 years, 10 months ago (2014-02-03 18:30:27 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 18:30:27 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 18:30:32 UTC) #26
Greg Billock
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-03 22:13:07 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/144513002/560001
6 years, 10 months ago (2014-02-03 22:14:53 UTC) #28
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:08:30 UTC) #29
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:08:33 UTC) #30
Greg Billock
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-03 23:08:54 UTC) #31
commit-bot: I haz the power
Failed to trigger a try job on android_dbg HTTP Error 400: Bad Request
6 years, 10 months ago (2014-02-04 01:32:05 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/144513002/720001
6 years, 10 months ago (2014-02-04 01:32:11 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-04 04:44:23 UTC) #34
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests, sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=222665
6 years, 10 months ago (2014-02-04 04:44:23 UTC) #35
Greg Billock
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-04 15:57:03 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/144513002/720001
6 years, 10 months ago (2014-02-04 15:58:16 UTC) #37
commit-bot: I haz the power
Change committed as 248726
6 years, 10 months ago (2014-02-04 16:01:51 UTC) #38
skia-commit-bot
6 years, 10 months ago (2014-02-04 16:01:55 UTC) #39
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698