summaryrefslogtreecommitdiffstats
path: root/gfx/canvas_mac.mm
Commit message (Collapse)AuthorAgeFilesLines
* Make Font::GetStringWidth() a shortcut for gfx::Canvas::SizeStringInt() on ↵pkasting@chromium.org2010-05-051-2/+8
| | | | | | | | | | | | Windows. These two functions already did the same thing on Mac and Linux. If they ever returned different results on Windows, it would lead to subtle bugs, since measurement and drawing would slightly disagree. Clean up a few other things so that all three implementations of GetStringWidth() are identical. BUG=38717 TEST=none Review URL: http://codereview.chromium.org/1928003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46492 0039d316-1c4b-4281-b951-d872f2087c98
* Status area improvements:chocobo@chromium.org2010-04-091-1/+1
| | | | | | | | | | | | | | - text is now 70% alpha - font is 1 size larger - 6 pixels between status icons - icon and text are lined up better - when clock changes text, bounds are reset properly TEST=none BUG=none Review URL: http://codereview.chromium.org/1589021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44128 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/gfx/canvas and app/gfx/font to gfx/.ben@chromium.org2010-03-231-0/+78
TBR=darin BUG=none TEST=none Review URL: http://codereview.chromium.org/1132006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42312 0039d316-1c4b-4281-b951-d872f2087c98