diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /widget/IMEData.h | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'widget/IMEData.h')
-rw-r--r-- | widget/IMEData.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/widget/IMEData.h b/widget/IMEData.h index 7fb1241333..1ea33e18b9 100644 --- a/widget/IMEData.h +++ b/widget/IMEData.h @@ -451,18 +451,20 @@ struct InputContext final { bool IsInputAttributeChanged(const InputContext& aOldContext) const { return mIMEState.mEnabled != aOldContext.mIMEState.mEnabled || -#if defined(ANDROID) || defined(MOZ_WIDGET_GTK) || defined(XP_WIN) +#if defined(ANDROID) || defined(MOZ_WIDGET_GTK) || defined(XP_WIN) || \ + defined(XP_IOS) // input type and inputmode are supported by Windows IME API, GTK - // IME API and Android IME API + // IME API, Android IME API and iOS API. mHTMLInputType != aOldContext.mHTMLInputType || mHTMLInputMode != aOldContext.mHTMLInputMode || #endif -#if defined(ANDROID) || defined(MOZ_WIDGET_GTK) - // autocapitalize is supported by Android IME API and GTK IME API +#if defined(ANDROID) || defined(MOZ_WIDGET_GTK) || defined(XP_IOS) + // autocapitalize is supported by Android IME API, GTK IME API, and + // iOS API mAutocapitalize != aOldContext.mAutocapitalize || #endif -#if defined(ANDROID) - // enterkeyhint is only supported by Android IME API. +#if defined(ANDROID) || defined(XP_IOS) + // enterkeyhint is only supported by Android IME API and iOS API. mActionHint != aOldContext.mActionHint || #endif false; |