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

Unified Diff: gfx/platform_font_gtk.h

Issue 6081007: Start sorting methods in class declarations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 9 years, 11 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
« no previous file with comments | « gfx/native_theme_linux.h ('k') | gfx/test_suite.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « gfx/native_theme_linux.h ('k') | gfx/test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698