summaryrefslogtreecommitdiffstats
path: root/webkit/tools/npapi_layout_test_plugin
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 21:01:04 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 21:01:04 +0000
commit3470a325a84b16c3f38eedb2cc062e5ad0706399 (patch)
treed36e7307231d6619cc7120e22c3ffdd82fdce1fd /webkit/tools/npapi_layout_test_plugin
parent0b6bf5e8e267315b6802a60c0fae3bcd03bd1e63 (diff)
downloadchromium_src-3470a325a84b16c3f38eedb2cc062e5ad0706399.zip
chromium_src-3470a325a84b16c3f38eedb2cc062e5ad0706399.tar.gz
chromium_src-3470a325a84b16c3f38eedb2cc062e5ad0706399.tar.bz2
Fullscreen Exit Bubble should not elide its label.
When drawing a Label it is important to adjust for RTL not just when drawing, but also when computing the size of the string. Before this change, we'd compute using Font::GetStringWidth (which uses ::GetTextExtentPoint32 *without* adjusting the string for RTL) and draw using DoDrawText (which adjusts for RTL and then draws using ::DrawText). After this change, we now use SizeStringInt for computing (so we now compute and draw using the same ::DrawText function, thereby adjusting the string for RTL in both cases). BUG=17949 TEST=Run chrome with --lang=he, press F11 and the string in the bubble at the top should not be elided. Review URL: http://codereview.chromium.org/354014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30863 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/npapi_layout_test_plugin')
0 files changed, 0 insertions, 0 deletions