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

Unified Diff: cc/font_atlas.h

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/font_atlas.h
diff --git a/cc/font_atlas.h b/cc/font_atlas.h
index 53a23704e80a16c2d99a32489a961ed5a181227f..f9baea14fc2b8963457cd728e3052c11c28bbb24 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
« cc/active_animation.h ('K') | « cc/float_quad_unittest.cc ('k') | cc/font_atlas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698