webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebCore::History Class Referencefinal

#include <History.h>

Inheritance diagram for WebCore::History:
WebCore::ScriptWrappable WTF::RefCounted< History > WebCore::DOMWindowProperty WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Types

enum  StateObjectType { StateObjectType::Push, StateObjectType::Replace }
 

Public Member Functions

unsigned length () const
 
SerializedScriptValuestate ()
 
void back ()
 
void forward ()
 
void go (int)
 
void back (Document &)
 
void forward (Document &)
 
void go (Document &, int)
 
bool stateChanged () const
 
bool isSameAsCurrentState (SerializedScriptValue *) const
 
ExceptionOr< voidstateObjectAdded (RefPtr< SerializedScriptValue > &&, const String &title, const String &url, StateObjectType)
 
- Public Member Functions inherited from WebCore::ScriptWrappable
JSDOMObjectwrapper () const
 
void setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *)
 
void clearWrapper (JSDOMObject *)
 
JSDOMObjectwrapper () const
 
void setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *)
 
void clearWrapper (JSDOMObject *)
 
- Public Member Functions inherited from WTF::RefCounted< History >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
- Public Member Functions inherited from WebCore::DOMWindowProperty
 DOMWindowProperty (Frame *)
 
virtual void disconnectFrameForDocumentSuspension ()
 
virtual void reconnectFrameFromDocumentSuspension (Frame *)
 
virtual void willDestroyGlobalObjectInCachedFrame ()
 
virtual void willDestroyGlobalObjectInFrame ()
 
virtual void willDetachGlobalObjectFromFrame ()
 
Frameframe () const
 
 DOMWindowProperty (Frame *)
 
virtual void disconnectFrameForDocumentSuspension ()
 
virtual void reconnectFrameFromDocumentSuspension (Frame *)
 
virtual void willDestroyGlobalObjectInCachedFrame ()
 
virtual void willDestroyGlobalObjectInFrame ()
 
virtual void willDetachGlobalObjectFromFrame ()
 
Frameframe () const
 

Static Public Member Functions

static Ref< Historycreate (Frame &frame)
 
- Static Public Member Functions inherited from WebCore::ScriptWrappable
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::ScriptWrappable
 ~ScriptWrappable ()
 
 ~ScriptWrappable ()
 
- Protected Member Functions inherited from WTF::RefCounted< History >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
- Protected Member Functions inherited from WebCore::DOMWindowProperty
virtual ~DOMWindowProperty ()
 
virtual ~DOMWindowProperty ()
 
- Protected Attributes inherited from WebCore::DOMWindowProperty
Framem_frame
 
DOMWindowm_associatedDOMWindow
 

Member Enumeration Documentation

◆ StateObjectType

Enumerator
Push 
Replace 

Member Function Documentation

◆ back() [1/2]

void History::back ( )

◆ back() [2/2]

void History::back ( Document document)

◆ create()

static Ref<History> WebCore::History::create ( Frame frame)
inlinestatic

◆ forward() [1/2]

void History::forward ( )

◆ forward() [2/2]

void History::forward ( Document document)

◆ go() [1/2]

void History::go ( int  distance)

◆ go() [2/2]

void History::go ( Document document,
int  distance 
)

◆ isSameAsCurrentState()

bool History::isSameAsCurrentState ( SerializedScriptValue state) const

◆ length()

unsigned History::length ( void  ) const

◆ state()

SerializedScriptValue * History::state ( )

◆ stateChanged()

bool History::stateChanged ( ) const

◆ stateObjectAdded()

ExceptionOr< void > History::stateObjectAdded ( RefPtr< SerializedScriptValue > &&  data,
const String title,
const String url,
StateObjectType  stateObjectType 
)

The documentation for this class was generated from the following files: