summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ime_input.cc
Commit message (Collapse)AuthorAgeFilesLines
* A dirty workaround for facebook.hbono@chromium.org2010-06-151-0/+13
| | | | | | | | | | Facebook deletes whitespace characters, including U+3000 (Ideographic Space) used by Traditional-Chinese IMEs as a place-holder, at the beginning of a comment box before WebKit replaces the place-holder with a Traditional-Chinese character. This prevents us from inputing characters with Tranditional-Chinese IMEs. As a workaround, this change just replaces U+3000 at the beginning of composition text with U+FF3F (Fullwidth Low Line), a place-holder character used by Japanese IMEs. (Fortunately, facebook does not delete it.) BUG=45396 TEST=Open www.facebook.com, type text with Traditional Chinese IMEs in its comment box. Review URL: http://codereview.chromium.org/2771008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49777 0039d316-1c4b-4281-b951-d872f2087c98
* Cancels an ongoing IME composition when receiving an IME_CANCEL_COMPOSITION ↵hbono@chromium.org2010-05-281-1/+12
| | | | | | | | | | | | event on Windows. This change just adds ImeInput::CancelIME() and use it when receiving an IME_CANCEL_COMPOSITION event. (I'm not sure it works well with all IMEs, though.) BUG=9883 TEST=none Review URL: http://codereview.chromium.org/2099012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48470 0039d316-1c4b-4281-b951-d872f2087c98
* Make backspace not go back while IME is active.thakis@chromium.org2009-10-191-1/+1
| | | | | | | | | | | Linux does this in GtkIMContextWrapper::ProcessFilteredKeyPressEvent() by setting hardware_keycode to 0. It's a pain to change an NSEvent, so I just added a bool "skip" to NativeWebKeybordEvent and set it to "true" for rawkeydowns while ime is active. BUG=25000 TEST=Open webpage. Focus text field. Type something, hit backspace. Text should be deleted. Focus background, hit backspace. Browser should go back one page. Focus text field, start IME (either by going to syspref->international->input menu and enabling e.g. "Kotoeri" and then selecting this in the top right corner and typing a single "a", or by just activating dead key ime on an us layout by hitting opt-u, opt-i, or opt-e), hit backspace. Browser should not go back but end IME mode. Review URL: http://codereview.chromium.org/295003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29388 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-101-1/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* Changes parameters used by IME code to fix several issues caused by Japanese ↵hbono@chromium.org2008-11-061-14/+23
| | | | | | | | | | | | | | IMEs. Recent Japanese IMEs (ATOK2008 and MSIME 2007) display a suggestion window (a window which contains suggestions) above a composition string. To fix this issue, we do not only send the lower-left corner of a composition string but also send its upper-left corner and its upper-right corner. So, this change changes IPC parameters used by IME from a tuple of integers to gfx::Rect. Also, this change fixes cursor positions for Japanese IMEs. BUG=2770 "IME: Candidate window of Japanese IME follows the end of composition" BUG=2771 "ATOK 2008 IME pop-ups are displayed below the main Chrome window." BUG=2775 "IME: Caret is always displayed at the last of IME composition." Review URL: http://codereview.chromium.org/7385 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4872 0039d316-1c4b-4281-b951-d872f2087c98
* A fix for Issue 2768 "IME: Current clause of Japanese IME doesn't appear to ↵hbono@chromium.org2008-11-041-7/+15
| | | | | | | | | | | reflect its rage change." This issue is caused by my code that cannot extract a target clause from a composition string when there is an input clause after a target clause. when a user changes the range of a target clause, Japanese IMEs creates a composite clause which consists of a new target clause and an input clause. My IME code treats such composite clause as a target clause and cannot reflect the change. To fix this problem, this code changes the algorithm which extracts a target clause. Review URL: http://codereview.chromium.org/8970 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4569 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome to the repository.initial.commit2008-07-261-0/+345
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15 0039d316-1c4b-4281-b951-d872f2087c98