diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-09 13:19:56 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-09 13:19:56 +0100 |
commit | 8ae047bbbf0a732744060878339b2f6fdf4ba909 (patch) | |
tree | f7048b107ae8a39499f5ad0b77b29b865af65693 /widget/IMEData.h | |
parent | 1672355a777e96d2c92c308d2429247d6209999c (diff) | |
download | UXP-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.h | 4 |
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; |