diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 23:09:55 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 23:09:55 +0000 |
commit | 96baf3e81b1df4b0836d70c3cded9795e63fa789 (patch) | |
tree | 4332d128a05777ae34641ca2f185b7b548330b8d /cc/font_atlas.h | |
parent | 1597399122fa6d8343dc6d5cdb771f95908c09b1 (diff) | |
download | chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.zip chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.gz chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.bz2 |
cc: Rename cc classes and members to match filenames
Fixed reland of https://chromiumcodereview.appspot.com/11189043/
TBR=jam@chromium.org,jamesr@chromium.org
BUG=155413
Review URL: https://codereview.chromium.org/11231054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/font_atlas.h')
-rw-r--r-- | cc/font_atlas.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cc/font_atlas.h b/cc/font_atlas.h index 53a2370..f9baea1 100644 --- a/cc/font_atlas.h +++ b/cc/font_atlas.h @@ -23,13 +23,13 @@ namespace cc { class IntSize; // This class provides basic ability to draw text onto the heads-up display. -class CCFontAtlas { +class FontAtlas { public: - static scoped_ptr<CCFontAtlas> create(SkBitmap bitmap, IntRect asciiToRectTable[128], int fontHeight) + static scoped_ptr<FontAtlas> create(SkBitmap bitmap, IntRect asciiToRectTable[128], int fontHeight) { - return make_scoped_ptr(new CCFontAtlas(bitmap, asciiToRectTable, fontHeight)); + return make_scoped_ptr(new FontAtlas(bitmap, asciiToRectTable, fontHeight)); } - ~CCFontAtlas(); + ~FontAtlas(); // Draws multiple lines of text where each line of text is separated by '\n'. // - Correct glyphs will be drawn for ASCII codes in the range 32-127; any characters @@ -43,7 +43,7 @@ public: void drawDebugAtlas(SkCanvas*, const gfx::Point& destPosition) const; private: - CCFontAtlas(SkBitmap, IntRect asciiToRectTable[128], int fontHeight); + FontAtlas(SkBitmap, IntRect asciiToRectTable[128], int fontHeight); void drawOneLineOfTextInternal(SkCanvas*, const SkPaint&, const std::string&, const gfx::Point& destPosition) const; @@ -55,7 +55,7 @@ private: int m_fontHeight; - DISALLOW_COPY_AND_ASSIGN(CCFontAtlas); + DISALLOW_COPY_AND_ASSIGN(FontAtlas); }; } // namespace cc |