mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Issue #1348 - Part 2: Teach IMEState about Private Browsing mode.
This commit is contained in:
parent
8972304bba
commit
9d2e51ac97
3 changed files with 21 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue