| Index: gfx/platform_font_gtk.h
|
| diff --git a/gfx/platform_font_gtk.h b/gfx/platform_font_gtk.h
|
| index d36142d6acaf5e919340bfde21f0ef98e489c0c3..a7f3c213c080979fe316b8bce0d9a9c202220833 100644
|
| --- a/gfx/platform_font_gtk.h
|
| +++ b/gfx/platform_font_gtk.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -27,6 +27,9 @@ class PlatformFontGtk : public PlatformFont {
|
| // pango_font_description_free().
|
| static PangoFontDescription* PangoFontFromGfxFont(const gfx::Font& gfx_font);
|
|
|
| + // Return the scale factor for fonts that account for DPI.
|
| + static float GetPangoScaleFactor();
|
| +
|
| // 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;
|
| @@ -46,9 +49,6 @@ class PlatformFontGtk : public PlatformFont {
|
| virtual int GetFontSize() const;
|
| virtual NativeFont GetNativeFont() const;
|
|
|
| - // Return the scale factor for fonts that account for DPI.
|
| - static float GetPangoScaleFactor();
|
| -
|
| private:
|
| // Create a new instance of this object with the specified properties. Called
|
| // from DeriveFont.
|
|
|