other-licenses/ia2/AccessibleDocument.idl

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 /*************************************************************************
michael@0 2 *
michael@0 3 * File Name (AccessibleDocument.idl)
michael@0 4 *
michael@0 5 * IAccessible2 IDL Specification
michael@0 6 *
michael@0 7 * Copyright (c) 2013 Linux Foundation
michael@0 8 * All rights reserved.
michael@0 9 *
michael@0 10 *
michael@0 11 * Redistribution and use in source and binary forms, with or without
michael@0 12 * modification, are permitted provided that the following conditions
michael@0 13 * are met:
michael@0 14 *
michael@0 15 * 1. Redistributions of source code must retain the above copyright
michael@0 16 * notice, this list of conditions and the following disclaimer.
michael@0 17 *
michael@0 18 * 2. Redistributions in binary form must reproduce the above
michael@0 19 * copyright notice, this list of conditions and the following
michael@0 20 * disclaimer in the documentation and/or other materials
michael@0 21 * provided with the distribution.
michael@0 22 *
michael@0 23 * 3. Neither the name of the Linux Foundation nor the names of its
michael@0 24 * contributors may be used to endorse or promote products
michael@0 25 * derived from this software without specific prior written
michael@0 26 * permission.
michael@0 27 *
michael@0 28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
michael@0 29 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
michael@0 30 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
michael@0 31 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
michael@0 32 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
michael@0 33 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michael@0 34 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
michael@0 35 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
michael@0 36 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
michael@0 37 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
michael@0 38 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
michael@0 39 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
michael@0 40 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
michael@0 41 *
michael@0 42 * This BSD License conforms to the Open Source Initiative "Simplified
michael@0 43 * BSD License" as published at:
michael@0 44 * http://www.opensource.org/licenses/bsd-license.php
michael@0 45 *
michael@0 46 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
michael@0 47 * mark may be used in accordance with the Linux Foundation Trademark
michael@0 48 * Policy to indicate compliance with the IAccessible2 specification.
michael@0 49 *
michael@0 50 ************************************************************************/
michael@0 51
michael@0 52 import "objidl.idl";
michael@0 53 import "oaidl.idl";
michael@0 54 import "oleacc.idl";
michael@0 55
michael@0 56 /** @brief This interface represents documents.
michael@0 57
michael@0 58 This interface is used for a representation of documents.
michael@0 59 */
michael@0 60 [object, uuid(C48C7FCF-4AB5-4056-AFA6-902D6E1D1149)]
michael@0 61 interface IAccessibleDocument : IUnknown
michael@0 62 {
michael@0 63 /** @brief Returns the most recently used anchor target within a document.
michael@0 64
michael@0 65 A document's most recently targeted in-page anchor is returned. A typical use
michael@0 66 of this method is to fetch the anchor target within an HTML document. In this
michael@0 67 case anchor targets are those which has been defined with the <a> tag.
michael@0 68
michael@0 69 @param [out] accessible
michael@0 70 @retval S_OK
michael@0 71 @retval S_FALSE if there are no existing valid anchor targets, [out] value is NULL.
michael@0 72 */
michael@0 73 [propget] HRESULT anchorTarget
michael@0 74 (
michael@0 75 [out, retval] IUnknown **accessible
michael@0 76 );
michael@0 77
michael@0 78 }

mercurial