diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-09 13:19:56 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-11 13:45:02 +0100 |
commit | e338d996999867b5d4f66d47837c56dba73a7f6b (patch) | |
tree | 84b4304ce865be29f62fa952fb4d1c8c1fb19fe9 /widget/IMEData.h | |
parent | f61a99e5ed6de754e9e99d05634c508f0b4d951a (diff) | |
download | UXP-e338d996999867b5d4f66d47837c56dba73a7f6b.tar UXP-e338d996999867b5d4f66d47837c56dba73a7f6b.tar.gz UXP-e338d996999867b5d4f66d47837c56dba73a7f6b.tar.lz UXP-e338d996999867b5d4f66d47837c56dba73a7f6b.tar.xz UXP-e338d996999867b5d4f66d47837c56dba73a7f6b.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; |