DescriptionAdd an option in language settings for activating the IME menu on the shelf.
A flag "enable-ime-menu" is added to turn on this feature. When building Chrome OS with the command line flag: --enable-ime-menu, the div section 'language-options-ime-menu-template' in language settings page will show. Otherwise, this section will be hidden.
Once the checkbox 'activate-ime-menu' is checked by users, the preference value pref::kLanguageImeMenuActivated will be set to be true.
BUG=570761
TEST=Verified bug not repro on local build.
Committed: https://crrev.com/103ed21273e49ddff067a378d0eed30a816bd1b4
Cr-Commit-Position: refs/heads/master@{#368529}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 12
Patch Set 5 : Add enable-ime-menu flag #
Total comments: 18
Patch Set 6 : Remove pref kLangugaeImeMenuFlagEnabled #
Total comments: 2
Patch Set 7 : #Patch Set 8 : Rename function ImeMenuEnabled() as IsImeMenuEnabled() #
Total comments: 4
Patch Set 9 : Address michaelpg's commments #Patch Set 10 : Add isChromeOS conditions for menu related functions in language_options.js #Patch Set 11 : Fix test failure. #Messages
Total messages: 50 (24 generated)
|