diff options
author | yusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-13 00:56:53 +0000 |
---|---|---|
committer | yusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-13 00:56:53 +0000 |
commit | 2f56f91cd78b919a7c04eaafd6fcaf54d886aafe (patch) | |
tree | 7fcbbf2b79e7aef8168a8a711417af172b3b31a6 /base/utf_offset_string_conversions_unittest.cc | |
parent | fb840d23c62b23fd56403068398ff619eebdd957 (diff) | |
download | chromium_src-2f56f91cd78b919a7c04eaafd6fcaf54d886aafe.zip chromium_src-2f56f91cd78b919a7c04eaafd6fcaf54d886aafe.tar.gz chromium_src-2f56f91cd78b919a7c04eaafd6fcaf54d886aafe.tar.bz2 |
Display [x] button in the "language and input" WebUI correctly.
Inline [x] buttons, which replace the "Remove" button, are introduced by r80683 but the change seems not to be working fine on Chrome OS. This change fixes the behavior of [x] buttons on Chrome OS.
http://src.chromium.org/viewvc/chrome?view=rev&revision=80683
* languageIsDeletable() obviously should not update the preload_engines preference. Remove pref manipulations from removePreloadEnginesByLanguageCode_() and renamed the function to canDeleteLanguage_().
* Update 'deletable' flags of menu items (= language names) not only when a new item is added, but also an IME checkbox is clicked. This is necessary because whether a menu item is removable or not can be determined by a set of IMEs enabled.
BUG=chromium-os:14015
BUG=chromium-os:11648
TEST=manually done, ran try bot as well.
Review URL: http://codereview.chromium.org/6826037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/utf_offset_string_conversions_unittest.cc')
0 files changed, 0 insertions, 0 deletions