1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
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 file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/.
10 * The ChildSHistory interface represents the child side of a browsing
11 * context's session history.
14 interface ChildSHistory {
16 readonly attribute long count;
18 readonly attribute long index;
20 boolean canGo(long aOffset);
22 void go(long aOffset);
25 * Reload the current entry. The flags which should be passed to this
26 * function are documented and defined in nsIWebNavigation.idl
29 void reload(unsigned long aReloadFlags);
32 * Getter for the legacy nsISHistory implementation.
34 * This getter _will be going away_, but is needed while we finish
35 * implementing all of the APIs which we will need in the content
36 * process on ChildSHistory.
38 readonly attribute nsISHistory legacySHistory;