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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.idl

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more Created 3 years, 10 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) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 [NewObject, RaisesException] CDATASection createCDATASection(DOMString data) ; 62 [NewObject, RaisesException] CDATASection createCDATASection(DOMString data) ;
63 [NewObject] Comment createComment(DOMString data); 63 [NewObject] Comment createComment(DOMString data);
64 [NewObject, RaisesException] ProcessingInstruction createProcessingInstructi on(DOMString target, DOMString data); 64 [NewObject, RaisesException] ProcessingInstruction createProcessingInstructi on(DOMString target, DOMString data);
65 65
66 [NewObject, DoNotTestNewObject, CEReactions, CustomElementCallbacks, RaisesE xception] Node importNode(Node node, optional boolean deep = false); 66 [NewObject, DoNotTestNewObject, CEReactions, CustomElementCallbacks, RaisesE xception] Node importNode(Node node, optional boolean deep = false);
67 [RaisesException, CEReactions, CustomElementCallbacks] Node adoptNode(Node n ode); 67 [RaisesException, CEReactions, CustomElementCallbacks] Node adoptNode(Node n ode);
68 68
69 [NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createA ttribute(DOMString localName); 69 [NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createA ttribute(DOMString localName);
70 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName); 70 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName);
71 71
72 [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DO MString eventType); 72 [NewObject, RaisesException, CallWith=ScriptState] Event createEvent(DOMStri ng eventType);
73 73
74 [NewObject] Range createRange(); 74 [NewObject] Range createRange();
75 75
76 // NodeFilter.SHOW_ALL = 0xFFFFFFFF 76 // NodeFilter.SHOW_ALL = 0xFFFFFFFF
77 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 77 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
78 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 78 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
79 79
80 // NonDocumentRootScroller (https://github.com/bokand/NonDocumentRootScrolle r) 80 // NonDocumentRootScroller (https://github.com/bokand/NonDocumentRootScrolle r)
81 [RaisesException=Setter, OriginTrialEnabled=RootScroller, Measure] attribute Element? rootScroller; 81 [RaisesException=Setter, OriginTrialEnabled=RootScroller, Measure] attribute Element? rootScroller;
82 82
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 209 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
210 attribute EventHandler onselectionchange; 210 attribute EventHandler onselectionchange;
211 attribute EventHandler onselectstart; 211 attribute EventHandler onselectstart;
212 attribute EventHandler onwheel; 212 attribute EventHandler onwheel;
213 }; 213 };
214 214
215 Document implements GlobalEventHandlers; 215 Document implements GlobalEventHandlers;
216 Document implements ParentNode; 216 Document implements ParentNode;
217 Document implements NonElementParentNode; 217 Document implements NonElementParentNode;
218 Document implements DocumentOrShadowRoot; 218 Document implements DocumentOrShadowRoot;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/events/Event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698