diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 02:43:28 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 02:43:28 +0000 |
commit | 38dc6d7d2e7f36490dbe6aed60cccfc76b11af45 (patch) | |
tree | 45b735c54b023e85b119a39b6425966a4c57c884 /views/window/window.h | |
parent | a78410304ccc90a44852c9714317787c63bb50a3 (diff) | |
download | chromium_src-38dc6d7d2e7f36490dbe6aed60cccfc76b11af45.zip chromium_src-38dc6d7d2e7f36490dbe6aed60cccfc76b11af45.tar.gz chromium_src-38dc6d7d2e7f36490dbe6aed60cccfc76b11af45.tar.bz2 |
TBR: nick@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29240 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/window.h')
-rw-r--r-- | views/window/window.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/views/window/window.h b/views/window/window.h index becb8d0..f2f9e34 100644 --- a/views/window/window.h +++ b/views/window/window.h @@ -43,6 +43,16 @@ class Window { static gfx::Size GetLocalizedContentsSize(int col_resource_id, int row_resource_id); + // These versions of GetLocalizedContents allow a font to be specified + // other than the default UI font. + static int GetLocalizedContentsWidthForFont(int col_resource_id, + const gfx::Font& font); + static int GetLocalizedContentsHeightForFont(int row_resource_id, + const gfx::Font& font); + static gfx::Size GetLocalizedContentsSizeForFont(int col_resource_id, + int row_resource_id, + const gfx::Font& font); + // Closes all windows that aren't identified as "app windows" via // IsAppWindow. Called during application shutdown when the last "app window" // is closed. |