summaryrefslogtreecommitdiffstats
path: root/gfx/gtk_util.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 04:14:42 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 04:14:42 +0000
commit450d54eceb47146fb4fd9af724a8589e0c1baa69 (patch)
tree86befc74041c9a77529d850fe640d903d4a263b6 /gfx/gtk_util.h
parent8a12e2bc1f606a0b8436d7498ec49751baff178f (diff)
downloadchromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.zip
chromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.tar.gz
chromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.tar.bz2
Also set the canvas size. I missed this in the last patch.
BUG=26354 Review URL: http://codereview.chromium.org/1243001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/gtk_util.h')
-rw-r--r--gfx/gtk_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gfx/gtk_util.h b/gfx/gtk_util.h
index 3a30ad9..cc1fa8a 100644
--- a/gfx/gtk_util.h
+++ b/gfx/gtk_util.h
@@ -43,6 +43,10 @@ GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap* bitmap);
void SubtractRectanglesFromRegion(GdkRegion* region,
const std::vector<Rect>& cutouts);
+// Returns the resolution (DPI) used by pango. A negative values means the
+// resolution hasn't been set.
+double GetPangoResolution();
+
} // namespace gfx
namespace {