summaryrefslogtreecommitdiffstats
path: root/app/gfx/text_elider.h
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 02:16:10 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 02:16:10 +0000
commit7322c44018c4e7b8bd58c67f52986660fb365d76 (patch)
tree4bb67ec23689e83682a5aa228e3b8c402880baa8 /app/gfx/text_elider.h
parent0c875075a6c45e9979b8345e5f5f9d4b747e05c3 (diff)
downloadchromium_src-7322c44018c4e7b8bd58c67f52986660fb365d76.zip
chromium_src-7322c44018c4e7b8bd58c67f52986660fb365d76.tar.gz
chromium_src-7322c44018c4e7b8bd58c67f52986660fb365d76.tar.bz2
ChromeFont->gfx::Font
Does not rename the files yet. http://crbug.com/11387 Review URL: http://codereview.chromium.org/113441 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/gfx/text_elider.h')
-rw-r--r--app/gfx/text_elider.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/gfx/text_elider.h b/app/gfx/text_elider.h
index 61bfada..5872ed4 100644
--- a/app/gfx/text_elider.h
+++ b/app/gfx/text_elider.h
@@ -47,19 +47,19 @@ std::wstring GetCleanStringFromUrl(const GURL& url,
// is displayed properly in an RTL context. Please refer to
// http://crbug.com/6487 for more information.
std::wstring ElideUrl(const GURL& url,
- const ChromeFont& font,
+ const gfx::Font& font,
int available_pixel_width,
const std::wstring& languages);
std::wstring ElideText(const std::wstring& text,
- const ChromeFont& font,
+ const gfx::Font& font,
int available_pixel_width);
// 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
// be removed if filename doesn't fit into available_pixel_width.
std::wstring ElideFilename(const FilePath& filename,
- const ChromeFont& font,
+ const gfx::Font& font,
int available_pixel_width);
// SortedDisplayURL maintains a string from a URL suitable for display to the