Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsISupports.idl"
9 interface nsISHEntry;
11 /**
12 * The nsISHTransaction.
13 */
16 [scriptable, uuid(2EDF705F-D252-4971-9F09-71DD0F760DC6)]
17 interface nsISHTransaction : nsISupports
18 {
19 /**
20 * The nsISHEntry for the current transaction
21 */
22 attribute nsISHEntry sHEntry;
24 /**
25 * The parent of this transaction
26 */
27 attribute nsISHTransaction prev;
29 /**
30 * The legitimate child of this transaction
31 */
32 attribute nsISHTransaction next;
34 /**
35 * Specifies if this transaction should persist. If not it will be replaced
36 * by new additions to the list.
37 */
38 attribute boolean persist;
40 /**
41 * Create a transaction with parent and History Entry
42 */
43 void create(in nsISHEntry aSHEntry, in nsISHTransaction aPrev);
44 };
46 %{ C++
47 // {BFD1A792-AD9F-11d3-BDC7-0050040A9B44}
50 #define NS_SHTRANSACTION_CID \
51 {0xbfd1a792, 0xad9f, 0x11d3, {0xbd, 0xc7, 0x0, 0x50, 0x4, 0xa, 0x9b, 0x44}}
53 #define NS_SHTRANSACTION_CONTRACTID \
54 "@mozilla.org/browser/session-history-transaction;1"
56 %}