summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/preferences.cc
Commit message (Collapse)AuthorAgeFilesLines
* Simplify Preferences::SetPreloadEngines() function.yusukes@google.com2010-04-121-36/+19
| | | | | | | | | | | | | Stop using SetInputMethodActivated cros API and use the generic API, SetImeConfig, instead. This fix greatly reduces total number of ibus_config_set_value() calls. I'm still not 100% certain, but this change might fix crosbug.com/2471, "Fails to activate an input method occasionally." ibus-daemon seems to ignore too frequent ibus_config_set_value("general", "preload_engines", ...) calls. BUG=crosbug.com/2471 TEST=see the bug Review URL: http://codereview.chromium.org/1596021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44241 0039d316-1c4b-4281-b951-d872f2087c98
* Retry of r44072, which is partially reverted by r44077.yusukes@google.com2010-04-121-3/+1
| | | | | | | | | BUG=none TEST=ran browser_tests on the linux_chromeos try bot. Review URL: http://codereview.chromium.org/1566036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44230 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break (browser_test failure on Chromium OS bot).yusukes@google.com2010-04-091-1/+3
| | | | | | | | | | This is partial revert of r44072. TBR=satorux Review URL: http://codereview.chromium.org/1619009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44077 0039d316-1c4b-4281-b951-d872f2087c98
* Adding 2 preferences for configuring "NextEngine" and "Trigger" hot-keys.yusukes@google.com2010-04-091-1/+37
| | | | | | | | | | | | | This change also disables the latter hot-key so that users can't disable IBus. This is preferable since "current input method is xkb:us::eng (for example) and it is enabled" and "current one is xkb:us::eng but it's disabled" are almost indistinguishable. This change depends on http://codereview.chromium.org/1528023 and http://codereview.chromium.org/1610013. BUG=none TEST=boot chrome os, activate English and Chinese, click omnibox, press lang menu, press English to enable "xkb:us::eng", press omnibox, press ctrl+space, verify that the menu shows "Chi" (not "Eng"). Review URL: http://codereview.chromium.org/1553018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44072 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos_language cleanup (Chrome part).yusukes@google.com2010-04-081-13/+14
| | | | | | | | | | | | | | | | | - Stopped using deprecated APIs: GetSupportedLanguages, GetActiveLanguages, ChangeLanguage, and SetLanguageActivated. - Use new APIs insted: GetSupportedInputMethods, GetActiveInputMethods, ChangeInputMethod, and SetInputMethodActivated - Use "InputMethodDescriptor(s)" instead of "InputLanguage(List)" - Stopped using the word "IME" as much as possible. Use "input method" instead. - Removed all LANGUAGE_CATEGORY_XXXs. This change depends on the cros DEPS roll: http://codereview.chromium.org/1593014 BUG=crosbug.com/2403 TEST=ran browser_tests Review URL: http://codereview.chromium.org/1540019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43937 0039d316-1c4b-4281-b951-d872f2087c98
* Adding "preload_engines" and "use_global_engine" preferences to Chrome side ↵yusukes@chromium.org2010-04-051-0/+49
| | | | | | | | | | | | | (2nd try; see r43475 and r43481). Modified chrome/browser/chromeos/cros/cros_in_process_browser_test.cc not to break browser_tests. Other files are not modified since the previous CL (r43475). BUG=crosbug.com/488 TEST=none Review URL: http://codereview.chromium.org/1599017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43603 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43475 - Adding "preload_engines" and "use_global_engine" preferences ↵rohitrao@chromium.org2010-04-021-49/+0
| | | | | | | | | | | | | | to Chrome side. BUG=crosbug.com/488 TEST=none Review URL: http://codereview.chromium.org/1546010 TBR=yusukes@chromium.org Review URL: http://codereview.chromium.org/1520012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43481 0039d316-1c4b-4281-b951-d872f2087c98
* Adding "preload_engines" and "use_global_engine" preferences to Chrome side.yusukes@chromium.org2010-04-021-0/+49
| | | | | | | | | BUG=crosbug.com/488 TEST=none Review URL: http://codereview.chromium.org/1546010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43475 0039d316-1c4b-4281-b951-d872f2087c98
* Moving Korean IME (ibus-hangul) preferences from IBus side (ibus-gconf & ↵yusukes@chromium.org2010-03-311-2/+28
| | | | | | | | | | | | ibus-memconf) to Chrome side. This change should make it easier to sync the IME preferences with cloud. BUG=crosbug.com/2299 BUG=crosbug.com/488 TEST=manual Review URL: http://codereview.chromium.org/1599005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43205 0039d316-1c4b-4281-b951-d872f2087c98
* Mocks for all libcros elements. Added library registry object that provides ↵zelidrag@chromium.org2010-03-231-6/+10
| | | | | | | | | | | access to all *Libray classes that used to be singletons. This registry adds an indirection layer that will let is replace the actual objects with mocks during test runs. BUG=chromium-os:2026 TEST=none Review URL: http://codereview.chromium.org/1142005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42405 0039d316-1c4b-4281-b951-d872f2087c98
* Move pref_{member,service} and important_file_writer from chrome/commonphajdan.jr@chromium.org2010-02-191-2/+2
| | | | | | | | | | | | | 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
* Refactor chromeos cros files into subdir 'cros'chocobo@chromium.org2010-02-041-1/+1
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/572012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38128 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to use libcros to make changes to touchpad settings.chocobo@google.com2009-10-211-5/+10
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/300011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29693 0039d316-1c4b-4281-b951-d872f2087c98
* Add UI for changing timezones.chocobo@google.com2009-10-151-0/+63
BUG=24876 TEST=none Review URL: http://codereview.chromium.org/267113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29183 0039d316-1c4b-4281-b951-d872f2087c98