diff options
author | yukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-31 07:46:05 +0000 |
---|---|---|
committer | yukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-31 07:46:05 +0000 |
commit | 1317783897c3641729eba2ff8e79d9cfffab7b39 (patch) | |
tree | e1fc405a191e20db448401d04e3262d5cd5bf3fe /chrome/app | |
parent | 57e007a4069b315a356ec72aed1ed2f12caeb51c (diff) | |
download | chromium_src-1317783897c3641729eba2ff8e79d9cfffab7b39.zip chromium_src-1317783897c3641729eba2ff8e79d9cfffab7b39.tar.gz chromium_src-1317783897c3641729eba2ff8e79d9cfffab7b39.tar.bz2 |
Shows Omnibox autocompletion when IME on.
**** NOTE: This CL was cloned from codereview.chromium.org/13952009
Shows the inline autocompletion in Omnibox even when IME is turned on.
This CL adds a new textfield to show the inline autocompletion so it will not affect (or be affected by) a IME, leaving the Omnibox textfield under the control of IME.
The way to hide the Omnibox popup window when IME popup is open is changed. The old way is just to stop requesting autocompletion. The new way is to close the Omnibox popup but continue requesting autocompletion.
This CL supports only ChromeOS and Windows. I'll support other platforms later.
How to see the improvement with this CL:
1. Visit gmail.com several times by typing it so Chrome suggests gmail.com when you type [gm].
2. Enable Japanese IME.
3. Type [g] or [gm]. Preedit is [g] or [gm], or its full-width versions.
Old behavior: No inline autocompletion is shown.
New behavior: [g]mail.com or [gm]ail.com is suggested as the inline autocompletion, with the normal text color (black by default) and focused selection background color (blue by default).
4. Hit enter key. Preedit is committed.
Old and new behavior (no change here): [g]mail.com or [gm]ail.com is suggested as the inline autocompletion, with the normal text color (black by default) and focused selection background color (blue by default).
5. Hit enter key. You visit gmail.com.
BUG=159105
Review URL: https://chromiumcodereview.appspot.com/14219006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/generated_resources.grd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 92f6af2..cf8b32f 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -6829,6 +6829,12 @@ Keep your key file in a safe place. You will need it to create new versions of y <message name="IDS_FLAGS_ENABLE_RESET_PROFILE_SETTINGS_DESCRIPTION" desc="Description for the flag to enable a feature to reset profile settings that are often modified by malware."> Enables the option in chrome://settings to reset settings in your profile that are often modified by malware. </message> + <message name="IDS_FLAGS_ENABLE_OMNIBOX_AUTO_COMPLETION_FOR_IME_NAME" desc="Title for the flag to enable omnibox auto-completion for IMEs."> + Enable omnibox auto-completion when IME is active + </message> + <message name="IDS_FLAGS_ENABLE_OMNIBOX_AUTO_COMPLETION_FOR_IME_DESCRIPTION" desc="Description for the flag to enable auto-completion for IMEs."> + Enables omnibox auto-completion when IME is active. The auto-completion for IME is shown in the same style as the normal(non-IME) auto-completion. + </message> <message name="IDS_GENERIC_EXPERIMENT_CHOICE_AUTOMATIC" desc="Generic 'Automatic' experiment choice option name."> Automatic |