content/xul/document/public/nsIXULOverlayProvider.idl

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #include "nsISupports.idl"
     8 interface nsISimpleEnumerator;
     9 interface nsIURI;
    11 /**
    12  * The chrome registry implements this interface to give overlays
    13  * to the gecko XUL engine.
    14  */
    16 [scriptable, uuid(1d5b5b94-dc47-4050-93b7-ac092e383cad)]
    17 interface nsIXULOverlayProvider : nsISupports
    18 {
    19     /**
    20      * Get the XUL overlays for a particular chrome URI.
    21      *
    22      * @param aURI  The URI being loaded
    23      * @return      An enumerator of nsIURI for the overlays of this URI 
    24      */
    25     nsISimpleEnumerator /*nsIURI*/ getXULOverlays(in nsIURI aURI);
    27     /**
    28      * Get the style overlays for a particular chrome URI.
    29      *
    30      * @param aURI  The URI being loaded
    31      * @return      An enumerator of nsIURI for the overlays of this URI 
    32      */
    33     nsISimpleEnumerator /*nsIURI*/ getStyleOverlays(in nsIURI aURI);
    34 };

mercurial