Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(880)

Unified Diff: Source/core/frame/History.h

Issue 1019453002: IDL: Add [Custom=CallEpilogue] to eliminate CG special cases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix after rebase Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/EventTarget.idl ('k') | Source/core/frame/History.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/History.h
diff --git a/Source/core/frame/History.h b/Source/core/frame/History.h
index ad1102a552a59038f2184ff4b23c69f9a47e5de9..12057e486d715a616108d72dc46ff64bfd8c2c89 100644
--- a/Source/core/frame/History.h
+++ b/Source/core/frame/History.h
@@ -58,6 +58,16 @@ public:
void forward(ExecutionContext*);
void go(ExecutionContext*, int distance);
+ void pushState(PassRefPtr<SerializedScriptValue> data, const String& title, const String& url, ExceptionState& exceptionState)
+ {
+ stateObjectAdded(data, title, url, FrameLoadTypeStandard, exceptionState);
+ }
+
+ void replaceState(PassRefPtr<SerializedScriptValue> data, const String& title, const String& url, ExceptionState& exceptionState)
+ {
+ stateObjectAdded(data, title, url, FrameLoadTypeRedirectWithLockedBackForwardList, exceptionState);
+ }
+
bool stateChanged() const;
bool isSameAsCurrentState(SerializedScriptValue*) const;
« no previous file with comments | « Source/core/events/EventTarget.idl ('k') | Source/core/frame/History.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698