summaryrefslogtreecommitdiffstats
path: root/widget/IMEData.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-09 13:19:56 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-09 13:19:56 +0100
commit8ae047bbbf0a732744060878339b2f6fdf4ba909 (patch)
treef7048b107ae8a39499f5ad0b77b29b865af65693 /widget/IMEData.h
parent1672355a777e96d2c92c308d2429247d6209999c (diff)
downloadUXP-8ae047bbbf0a732744060878339b2f6fdf4ba909.tar
UXP-8ae047bbbf0a732744060878339b2f6fdf4ba909.tar.gz
UXP-8ae047bbbf0a732744060878339b2f6fdf4ba909.tar.lz
UXP-8ae047bbbf0a732744060878339b2f6fdf4ba909.tar.xz
UXP-8ae047bbbf0a732744060878339b2f6fdf4ba909.zip
Issue #1348 - Part 2: Teach IMEState about Private Browsing mode.
Diffstat (limited to 'widget/IMEData.h')
-rw-r--r--widget/IMEData.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/widget/IMEData.h b/widget/IMEData.h
index b12497be3..04245df26 100644
--- a/widget/IMEData.h
+++ b/widget/IMEData.h
@@ -300,6 +300,10 @@ struct InputContext final
* compatibility with webapps relying on key listeners. */
bool mMayBeIMEUnaware;
+ /* Whether the owning document of the input element has been loaded
+ * in private browsing mode. */
+ bool mInPrivateBrowsing;
+
bool IsOriginMainProcess() const
{
return mOrigin == ORIGIN_MAIN;