diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 22:02:55 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 22:02:55 +0000 |
commit | d6b671d0968013c3205c50ebaf45f356e34a58c5 (patch) | |
tree | 52b215053c36e30e97de5ff97edb309700735ef0 /app/text_elider.h | |
parent | c5af1c1af7e02b4998b085d29ecf8249f679e50a (diff) | |
download | chromium_src-d6b671d0968013c3205c50ebaf45f356e34a58c5.zip chromium_src-d6b671d0968013c3205c50ebaf45f356e34a58c5.tar.gz chromium_src-d6b671d0968013c3205c50ebaf45f356e34a58c5.tar.bz2 |
Convert gfx::ElideText from using wstrings to string16.
BUG=23581
Review URL: http://codereview.chromium.org/3885003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/text_elider.h')
-rw-r--r-- | app/text_elider.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/text_elider.h b/app/text_elider.h index 6e86b05..8a5653d 100644 --- a/app/text_elider.h +++ b/app/text_elider.h @@ -40,10 +40,10 @@ std::wstring ElideUrl(const GURL& url, // Elides |text| to fit in |available_pixel_width|. If |elide_in_middle| is // set the ellipsis is placed in the middle of the string; otherwise it is // placed at the end. -std::wstring ElideText(const std::wstring& text, - const gfx::Font& font, - int available_pixel_width, - bool elide_in_middle); +string16 ElideText(const string16& text, + const gfx::Font& font, + int available_pixel_width, + bool elide_in_middle); // Elide a filename to fit a given pixel width, with an emphasis on not hiding // the extension unless we have to. If filename contains a path, the path will |