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 | 6d74ecc97756a5c72216986e83885d284be669ad (patch) | |
tree | f7048b107ae8a39499f5ad0b77b29b865af65693 /widget | |
parent | 0dcbef9fe9e07c06596aca61d21f3db5810bea22 (diff) | |
download | aura-central-6d74ecc97756a5c72216986e83885d284be669ad.tar.gz |
Issue mcp-graveyard/UXP%1348 - Part 2: Teach IMEState about Private Browsing mode.
Diffstat (limited to 'widget')
-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; |