Home | History | Annotate | Download | only in frame

Lines Matching defs:History

27 #include "core/frame/History.h"
45 History::History(LocalFrame* frame)
52 unsigned History::length() const
61 SerializedScriptValue* History::state()
67 SerializedScriptValue* History::stateInternal() const
78 bool History::stateChanged() const
83 bool History::isSameAsCurrentState(SerializedScriptValue* state) const
88 void History::back(ExecutionContext* context)
93 void History::forward(ExecutionContext* context)
98 void History::go(ExecutionContext* context, int distance)
114 KURL History::urlForState(const String& urlString)
126 void History::stateObjectAdded(PassRefPtr<SerializedScriptValue> data, const String& /* title */, const String& urlString, FrameLoadType type, ExceptionState& exceptionState)
133 // We can safely expose the URL to JavaScript, as a) no redirection takes place: JavaScript already had this URL, b) JavaScript can only access a same-origin History object.
134 exceptionState.throwSecurityError("A history state object with URL '" + fullURL.elidedString() + "' cannot be created in a document with origin '" + m_frame->document()->securityOrigin()->toString() + "'.");