Bug 984463 - Update GeckoEditableListener constants to match IMEMessage constants. r=masayuki

This commit is contained in:
Jim Chen 2014-03-21 13:44:59 -04:00
parent 1b5f5e3e5b
commit 8e3a90b7bf
2 changed files with 3 additions and 2 deletions

View File

@ -53,8 +53,8 @@ interface GeckoEditableListener {
final int NOTIFY_IME_REPLY_EVENT = -1;
final int NOTIFY_IME_OF_FOCUS = 1;
final int NOTIFY_IME_OF_BLUR = 2;
final int NOTIFY_IME_TO_COMMIT_COMPOSITION = 4;
final int NOTIFY_IME_TO_CANCEL_COMPOSITION = 5;
final int NOTIFY_IME_TO_COMMIT_COMPOSITION = 7;
final int NOTIFY_IME_TO_CANCEL_COMPOSITION = 8;
// IME enabled state for notifyIMEContext()
final int IME_STATE_DISABLED = 0;
final int IME_STATE_ENABLED = 1;

View File

@ -482,6 +482,7 @@ struct SizeConstraints {
};
// IMEMessage is shared by IMEStateManager and TextComposition.
// Update values in GeckoEditable.java if you make changes here.
// XXX Negative values are used in Android...
enum IMEMessage MOZ_ENUM_TYPE(int8_t)
{