diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 07:05:52 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 07:05:52 +0000 |
commit | c4f8fdcd67231e7786b690be805d9f036ed0f324 (patch) | |
tree | ded960ca991beaff02d51038bc00738d0682f99b /views/window/window.h | |
parent | 109763bb929004fefa409c342d1c14a78bfe126f (diff) | |
download | chromium_src-c4f8fdcd67231e7786b690be805d9f036ed0f324.zip chromium_src-c4f8fdcd67231e7786b690be805d9f036ed0f324.tar.gz chromium_src-c4f8fdcd67231e7786b690be805d9f036ed0f324.tar.bz2 |
Reverted 29255.
TBR: nick@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29256 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. |