summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authoryukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-01 17:01:50 +0000
committeryukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-01 17:01:50 +0000
commit7682076160467ecef5f3e788006036f834df5b7d (patch)
tree30511a8e648f475ff1e6258b735872004d84c91b /build
parent2a684221ee7fe5a83b0c51e87424ad9f3828b2bc (diff)
downloadchromium_src-7682076160467ecef5f3e788006036f834df5b7d.zip
chromium_src-7682076160467ecef5f3e788006036f834df5b7d.tar.gz
chromium_src-7682076160467ecef5f3e788006036f834df5b7d.tar.bz2
Supports FontList in Textfield.
The current interface of Textfield does not support FontList while RenderText supports FontList. This CL supports FontList in Textfield. The direct cause of crbug.com/263169 was that RenderText always uses the IDS_UI_FONT_FAMILY_CROS font set ignoring what font is specified for Textfield on ChromeOS. (See https://code.google.com/p/chromium/codesearch#chromium/src/ui/views/controls/textfield/native_textfield_views.cc&q=IDS_UI_FONT_FAMILY_CROS&sq=package:chromium&type=cs&l=88 ) The Omnibox font size is carefully calculated, but the font is ignored right now. This CL changes the following: - Supports FontList in Textfield so Omnibox layer can specify the font set, such as IDS_UI_FONT_FAMILY_CROS, for the underlying Textfield. - Makes NativeTextfieldViews follow the specified font set via Textfield on ChromeOS. BUG=263169,263196 TEST=Test manually. Review URL: https://chromiumcodereview.appspot.com/19666006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/android/pylib/gtest/filter/ui_unittests_disabled2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/pylib/gtest/filter/ui_unittests_disabled b/build/android/pylib/gtest/filter/ui_unittests_disabled
index eaf1b74..ac8c536 100644
--- a/build/android/pylib/gtest/filter/ui_unittests_disabled
+++ b/build/android/pylib/gtest/filter/ui_unittests_disabled
@@ -25,7 +25,7 @@ FontTest.Height
FontTest.LoadArial
FontTest.LoadArialBold
FontTest.Widths
-ResourceBundleTest.DelegateGetFont
+ResourceBundleTest.DelegateGetFontList
TextEliderTest.ElideEmail
TextEliderTest.ElideEmailMoreSpace
TextEliderTest.ElideRectangleText