summaryrefslogtreecommitdiffstats
path: root/ui/gfx/platform_font_pango.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/platform_font_pango.h')
-rw-r--r--ui/gfx/platform_font_pango.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/gfx/platform_font_pango.h b/ui/gfx/platform_font_pango.h
index 77d64ba..cb93bf4 100644
--- a/ui/gfx/platform_font_pango.h
+++ b/ui/gfx/platform_font_pango.h
@@ -32,7 +32,7 @@ class UI_EXPORT PlatformFontPango : public PlatformFont {
// Position as an offset from the height of the drawn text, used to draw
// an underline. This is a negative number, so the underline would be
- // drawn at y + height + underline_position;
+ // drawn at y + height + underline_position.
double underline_position() const;
// The thickness to draw the underline.
double underline_thickness() const;
@@ -69,7 +69,7 @@ class UI_EXPORT PlatformFontPango : public PlatformFont {
// Potentially slow call to get pango metrics (average width, underline info).
void InitPangoMetrics();
- // Setup a Skia context to use the current typeface
+ // Setup a Skia context to use the current typeface.
void PaintSetup(SkPaint* paint) const;
// Make |this| a copy of |other|.
@@ -90,7 +90,7 @@ class UI_EXPORT PlatformFontPango : public PlatformFont {
int font_size_pixels_;
int style_;
- // Cached metrics, generated at construction
+ // Cached metrics, generated at construction.
int height_pixels_;
int ascent_pixels_;
@@ -103,6 +103,8 @@ class UI_EXPORT PlatformFontPango : public PlatformFont {
// The default font, used for the default constructor.
static Font* default_font_;
+
+ DISALLOW_COPY_AND_ASSIGN(PlatformFontPango);
};
} // namespace gfx