summaryrefslogtreecommitdiffstats
path: root/chrome/browser/language_combobox_model.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove wchar_t* methods from prefs.viettrungluu@chromium.org2010-08-121-1/+1
| | | | | | | | | BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3136004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55848 0039d316-1c4b-4281-b951-d872f2087c98
* Change a bunch of string types.estade@chromium.org2010-06-291-2/+1
| | | | | | | | | | | | | Started out just trying to change PrefService::GetString and ::SetString. This snowballed a little bit. Had to change a bunch of url strings in search_engines/ from wstring to string (some of them may be better off as GURLs, but UTF-8 is a step in the right direction, since that's what GURL uses internally, as well as externally via its setters/getters). TODO (later patch): things that ask for accepted languages should use std::string, not std::wstring. BUG=none TEST=try bots Review URL: http://codereview.chromium.org/2854015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51157 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce header dependencies in chrome/phajdan.jr@chromium.org2010-05-111-0/+1
| | | | | | | | | TEST=if it compiles, it is perfect BUG=none Review URL: http://codereview.chromium.org/2001007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46894 0039d316-1c4b-4281-b951-d872f2087c98
* Move RTL related functions from app/l10n_util to base/i18n/rtlben@chromium.org2010-03-201-5/+6
| | | | | | | | | | TBR=darin BUG=none TEST=none Review URL: http://codereview.chromium.org/1073005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42182 0039d316-1c4b-4281-b951-d872f2087c98
* Language selection menu rearranged to main menu with main languages and ↵glotov@google.com2010-03-091-0/+11
| | | | | | | | | | | | | sub-menu with all others. BUG=35248 TEST=Switch the language used by the ChromiumOS using the top left corner menu of the Network selection wizard. Or you may use the following command on desktop using Chromium (built with GYP_DEFINES="chromeos=1"): out/Debug/chrome --login-manager --login-name=nework Review URL: http://codereview.chromium.org/732001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41061 0039d316-1c4b-4281-b951-d872f2087c98
* chrome 6: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-081-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/671025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40964 0039d316-1c4b-4281-b951-d872f2087c98
* Separated basic language-list code from the combobox modelglotov@google.com2010-03-051-12/+24
| | | | | | | | | | | | implementation. This is because we needed a menu (not combobox) with languages in another part of Chromium (CL 661475). BUG=none TEST=none Review URL: http://codereview.chromium.org/668068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40751 0039d316-1c4b-4281-b951-d872f2087c98
* Move pref_{member,service} and important_file_writer from chrome/commonphajdan.jr@chromium.org2010-02-191-1/+1
| | | | | | | | | | | | | to chrome/browser. This is a part of an effort to remove bad dependency of chrome/common on chrome/browser. TEST=unit_tests and ui_tests, just moving code BUG=none Review URL: http://codereview.chromium.org/621004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39428 0039d316-1c4b-4281-b951-d872f2087c98
* Maps our internal Chinese locale codes to those expected by the ICU API for jshin@chromium.org2010-02-111-26/+10
| | | | | | | | | | | | | | | | | | | | | | | the display name of a locale and expected by Google (in case of 'nb vs no'). 1. Map zh-CN and zh-TW to zh-Hans and zh-Hant in GetDisplay 2. Map nb to no before adding 'hl' param for Google services. This will be removed once Google begins to honor 'nb'. 3. While doing so, I found that language_combox_model.cc has the exactly the same code as in l10n_util.cc and refactored it. BUG=34531 TEST=1. app_unittest: L10nUt*.LocaleDispla* 2. See the bug 34531 3. On Windows, the language menu in Options | Under the hood | Fonts & Language Menu | Language tab lists 'Chinese (Simplified Han)' and 'Chinese (Traditional Han)' for Simplified Chinese and Traditional Chinese in English Chrome along with Chinese names for those two languages. This is the behavior without this CL and it should't change with the refactoring. Review URL: http://codereview.chromium.org/596033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38813 0039d316-1c4b-4281-b951-d872f2087c98
* Move LanguageComboboxModel to chrome/browsermattm@chromium.org2009-08-191-0/+164
BUG=13524 TEST=none Review URL: http://codereview.chromium.org/172083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23683 0039d316-1c4b-4281-b951-d872f2087c98