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

Issue 6878089: Add and use a base::i18n::StringWithDirection for carrying titles. (Closed)

Created:
9 years, 8 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, tburkard+watch_chromium.org, brettw-cc_chromium.org, jam, Avi (use Gerrit), Paweł Hajdan Jr., jshin+watch_chromium.org
Visibility:
Public.

Description

Add and use a base::i18n::StringWithDirection for carrying titles. This is a refactoring of r82400. We're going to need the title direction in a bunch of different places; it's better to package it up as one object. BUG=27094 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82582

Patch Set 1 #

Total comments: 3

Patch Set 2 : ok #

Patch Set 3 : license #

Total comments: 4

Patch Set 4 : review feedback #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -43 lines) Patch
M base/i18n/rtl.h View 1 2 3 2 chunks +18 lines, -1 line 1 comment Download
M chrome/browser/notifications/balloon_host.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/web_contents_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
content/browser/renderer_host/render_view_host.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 3 chunks +4 lines, -3 lines 0 comments Download
M content/browser/tab_contents/interstitial_page.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/tab_contents/interstitial_page.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M content/browser/tab_contents/navigation_entry.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Evan Martin
Darin, I realized I'm gonna need to store the title+direction all over the place, like ...
9 years, 8 months ago (2011-04-21 00:01:48 UTC) #1
Evan Martin
+avi FYI
9 years, 8 months ago (2011-04-21 00:02:11 UTC) #2
darin (slow to review)
I assume you'll now go ahead and add WebStringWithDirection with implicit conversion to base::i18n::String16WithDirection to ...
9 years, 8 months ago (2011-04-21 02:55:59 UTC) #3
Evan Martin
I made your suggested changes.
9 years, 8 months ago (2011-04-21 17:56:34 UTC) #4
darin (slow to review)
http://codereview.chromium.org/6878089/diff/4002/base/i18n/rtl.h File base/i18n/rtl.h (right): http://codereview.chromium.org/6878089/diff/4002/base/i18n/rtl.h#newcode46 base/i18n/rtl.h:46: bool empty() const { return string_.empty(); } in chromium, ...
9 years, 8 months ago (2011-04-21 18:03:30 UTC) #5
Evan Martin
PTAL http://codereview.chromium.org/6878089/diff/4002/base/i18n/rtl.h File base/i18n/rtl.h (right): http://codereview.chromium.org/6878089/diff/4002/base/i18n/rtl.h#newcode46 base/i18n/rtl.h:46: bool empty() const { return string_.empty(); } On ...
9 years, 8 months ago (2011-04-21 18:11:52 UTC) #6
darin (slow to review)
On Thu, Apr 21, 2011 at 11:11 AM, <evan@chromium.org> wrote: > PTAL > > > ...
9 years, 8 months ago (2011-04-21 20:16:03 UTC) #7
darin (slow to review)
9 years, 8 months ago (2011-04-21 20:16:22 UTC) #8
LGTM

http://codereview.chromium.org/6878089/diff/9002/base/i18n/rtl.h
File base/i18n/rtl.h (right):

http://codereview.chromium.org/6878089/diff/9002/base/i18n/rtl.h#newcode38
base/i18n/rtl.h:38: public:
nit: public and private labels should be indented by 1 space right?

Powered by Google App Engine
This is Rietveld 408576698