widget/windows/winrt/UIABridge.idl

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #define DO_NO_IMPORTS 1
     7 import "oaidl.idl";
     8 import "oleacc.idl";
     9 import "Inspectable.idl";
    11   [uuid(C78B35B5-05DB-43AA-AE73-94C233A93C98)]
    12   interface IUIABridge : IInspectable {
    13     HRESULT Init([in] IInspectable* view, [in] IInspectable* window, [in] LONG_PTR inner);
    14     HRESULT Disconnect();
    15     HRESULT FocusChangeEvent();
    16   };
    18   [uuid(9F57311C-E8AE-4991-8D9F-E069EEE96D85)]
    19   interface IUIAElement : IInspectable {
    20     HRESULT SetFocusInternal([in] LONG_PTR accessible);
    21     HRESULT ClearFocus();
    22   };

mercurial