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

Issue 103493003: Revert of Implement eliding/truncating at end in RenderText (Closed)

Created:
7 years ago by szym
Modified:
7 years ago
CC:
chromium-reviews, tfarina, James Su, erikwright+watch_chromium.org, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -422 lines) Patch
M base/i18n/rtl.h View 1 chunk +1 line, -3 lines 0 comments Download
M base/i18n/rtl.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M base/i18n/rtl_unittest.cc View 2 chunks +0 lines, -64 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.h View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 chunk +206 lines, -51 lines 0 comments Download
M ui/gfx/render_text.h View 5 chunks +0 lines, -16 lines 0 comments Download
M ui/gfx/render_text.cc View 7 chunks +4 lines, -112 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 chunk +0 lines, -71 lines 7 comments Download
M ui/gfx/text_elider.h View 2 chunks +1 line, -35 lines 0 comments Download
M ui/gfx/text_elider.cc View 4 chunks +73 lines, -55 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
szym
Created Revert of Implement eliding/truncating at end in RenderText
7 years ago (2013-12-13 17:59:12 UTC) #1
szym
On 2013/12/13 17:59:12, szym wrote: > Created Revert of Implement eliding/truncating at end in RenderText ...
7 years ago (2013-12-13 18:00:20 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/103493003/1
7 years ago (2013-12-13 18:01:49 UTC) #3
commit-bot: I haz the power
Change committed as 240694
7 years ago (2013-12-13 18:03:16 UTC) #4
msw
LGTM, thanks for the revert. I posted some comments that should help Anuj re-land with ...
7 years ago (2013-12-13 20:46:34 UTC) #5
Anuj
https://codereview.chromium.org/103493003/diff/1/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (left): https://codereview.chromium.org/103493003/diff/1/ui/gfx/render_text_unittest.cc#oldcode425 ui/gfx/render_text_unittest.cc:425: { L"012" L"abc" , L"012a\x2026" }, Why does that ...
7 years ago (2013-12-13 21:05:58 UTC) #6
msw
7 years ago (2013-12-13 21:17:10 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/103493003/diff/1/ui/gfx/render_text_unittest.cc
File ui/gfx/render_text_unittest.cc (left):

https://codereview.chromium.org/103493003/diff/1/ui/gfx/render_text_unittest....
ui/gfx/render_text_unittest.cc:425: { L"012" L"abc"                  ,
L"012a\x2026"               },
On 2013/12/13 21:05:59, Anuj wrote:
> Why does that matter? 012 is just some random string here.

It's just a nit, but I asked to keep the test simple and directed. You could
prepend 50 more random characters before each of these strings, but why would
you? The less redundant code and meaningless data we have, the less future
maintainers will have to parse to understand our intent.

Powered by Google App Engine
This is Rietveld 408576698