summaryrefslogtreecommitdiffstats
path: root/cc/font_atlas.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 20:58:10 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 20:58:10 +0000
commit184fac5add06d5f4670fa6be4a4d3b39232d51bb (patch)
tree7efc1d20146fcafdbe408fa67292117c41e9393f /cc/font_atlas.h
parentfb7ffba75e81a79436434bab0715be0d6e67bc07 (diff)
downloadchromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.zip
chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.tar.gz
chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.tar.bz2
cc: Rename cc classes and members to match filenames
BUG=155413 Review URL: https://codereview.chromium.org/11189043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/font_atlas.h')
-rw-r--r--cc/font_atlas.h12
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