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

Side by Side Diff: third_party/WebKit/Source/core/frame/History.idl

Issue 2616923002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Fix errors Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 // https://html.spec.whatwg.org/#the-history-interface 26 // https://html.spec.whatwg.org/#the-history-interface
27 27
28 enum ScrollRestoration {"auto", "manual"}; 28 enum ScrollRestoration {"auto", "manual"};
29 29
30 interface History { 30 interface History {
31 readonly attribute unsigned long length; 31 readonly attribute unsigned long length;
32 [Measure] attribute ScrollRestoration scrollRestoration; 32 [Measure] attribute ScrollRestoration scrollRestoration;
33 // TODO(foolip): The SerializedScriptValue type should be any. 33 // TODO(foolip): The SerializedScriptValue type should be any.
34 [CachedAttribute=stateChanged] readonly attribute SerializedScriptValue stat e; 34 [CachedAttribute=stateChanged] readonly attribute SerializedScriptValue stat e;
35 [CallWith=ExecutionContext] void go(optional long delta = 0); 35 [CallWith=ScriptState] void go(optional long delta = 0);
36 [CallWith=ExecutionContext] void back(); 36 [CallWith=ScriptState] void back();
37 [CallWith=ExecutionContext] void forward(); 37 [CallWith=ScriptState] void forward();
38 [RaisesException] void pushState(SerializedScriptValue data, DOMString title , optional DOMString? url = null); 38 [RaisesException] void pushState(SerializedScriptValue data, DOMString title , optional DOMString? url = null);
39 [RaisesException] void replaceState(SerializedScriptValue data, DOMString ti tle, optional DOMString? url = null); 39 [RaisesException] void replaceState(SerializedScriptValue data, DOMString ti tle, optional DOMString? url = null);
40 }; 40 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/History.cpp ('k') | third_party/WebKit/Source/core/html/FormData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698