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

Side by Side Diff: third_party/WebKit/Source/modules/filesystem/Entry.idl

Issue 2610903002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 [ 31 [
32 NoInterfaceObject, 32 NoInterfaceObject,
33 ] interface Entry { 33 ] interface Entry {
34 readonly attribute boolean isFile; 34 readonly attribute boolean isFile;
35 readonly attribute boolean isDirectory; 35 readonly attribute boolean isDirectory;
36 readonly attribute DOMString name; 36 readonly attribute DOMString name;
37 readonly attribute DOMString fullPath; 37 readonly attribute DOMString fullPath;
38 [CallWith=ExecutionContext] readonly attribute DOMFileSystem filesystem; 38 [CallWith=ScriptState] readonly attribute DOMFileSystem filesystem;
39 39
40 [CallWith=ExecutionContext] void getMetadata(MetadataCallback successCallbac k, optional ErrorCallback errorCallback); 40 [CallWith=ScriptState] void getMetadata(MetadataCallback successCallback, op tional ErrorCallback errorCallback);
41 [CallWith=ExecutionContext] void moveTo(DirectoryEntry parent, optional DOMS tring? name, optional EntryCallback successCallback, optional ErrorCallback erro rCallback); 41 [CallWith=ScriptState] void moveTo(DirectoryEntry parent, optional DOMString ? name, optional EntryCallback successCallback, optional ErrorCallback errorCall back);
42 [CallWith=ExecutionContext] void copyTo(DirectoryEntry parent, optional DOMS tring? name, optional EntryCallback successCallback, optional ErrorCallback erro rCallback); 42 [CallWith=ScriptState] void copyTo(DirectoryEntry parent, optional DOMString ? name, optional EntryCallback successCallback, optional ErrorCallback errorCall back);
43 [CallWith=ExecutionContext] DOMString toURL(); 43 [CallWith=ScriptState] DOMString toURL();
44 [CallWith=ExecutionContext] void remove(VoidCallback successCallback, option al ErrorCallback errorCallback); 44 [CallWith=ScriptState] void remove(VoidCallback successCallback, optional Er rorCallback errorCallback);
45 [CallWith=ExecutionContext] void getParent(optional EntryCallback successCal lback, optional ErrorCallback errorCallback); 45 [CallWith=ScriptState] void getParent(optional EntryCallback successCallback , optional ErrorCallback errorCallback);
46 }; 46 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698