summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorxji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 20:07:47 +0000
committerxji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 20:07:47 +0000
commit2248d729d57ca026d78e88355f760bb4048f8430 (patch)
treea40bdff57f59eac86f9adadd5baaee88172b9978 /chrome/common
parent9debcda5ca7a1b952cebb342a845cb0be1bb94c4 (diff)
downloadchromium_src-2248d729d57ca026d78e88355f760bb4048f8430.zip
chromium_src-2248d729d57ca026d78e88355f760bb4048f8430.tar.gz
chromium_src-2248d729d57ca026d78e88355f760bb4048f8430.tar.bz2
This CL fixes issue 2780 -- RTL: Omnibar - message "Press Tab to search Google" doesn't show correctly in a "New Tab" for RTL locales
Because of the bug in PosFromChar() (see bug report for detailed information), we actually calculate the width of the string ourselves using font.GetStringWidth(). BUG=http://crbug.com/2780 TEST= 1 Start Chrome with a *new user data directory* and make sure the UI language is Hebrew. 2 Type www.google.com in the omnibox and press Enter. 3 Close and re-open the browser. 4 Type character "h" in Ominibox 5 Message "Press Tab to search Google" should show correctly, not only "Tab" is displayed Review URL: http://codereview.chromium.org/155789 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
0 files changed, 0 insertions, 0 deletions