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