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

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

Issue 1677033002: Pass executionContext to document.createEvent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 [NewObject] Text createTextNode(DOMString data); 55 [NewObject] Text createTextNode(DOMString data);
56 [NewObject] Comment createComment(DOMString data); 56 [NewObject] Comment createComment(DOMString data);
57 [NewObject, RaisesException] ProcessingInstruction createProcessingInstructi on(DOMString target, DOMString data); 57 [NewObject, RaisesException] ProcessingInstruction createProcessingInstructi on(DOMString target, DOMString data);
58 58
59 [NewObject, CustomElementCallbacks, RaisesException] Node importNode(Node no de, optional boolean deep = false); 59 [NewObject, CustomElementCallbacks, RaisesException] Node importNode(Node no de, optional boolean deep = false);
60 [RaisesException, CustomElementCallbacks] Node adoptNode(Node node); 60 [RaisesException, CustomElementCallbacks] Node adoptNode(Node node);
61 61
62 [NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createA ttribute(DOMString localName); 62 [NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createA ttribute(DOMString localName);
63 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName); 63 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName);
64 64
65 [NewObject, RaisesException] Event createEvent(DOMString eventType); 65 [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DO MString eventType);
66 66
67 [NewObject] Range createRange(); 67 [NewObject] Range createRange();
68 68
69 // NodeFilter.SHOW_ALL = 0xFFFFFFFF 69 // NodeFilter.SHOW_ALL = 0xFFFFFFFF
70 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 70 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
71 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 71 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
72 72
73 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 73 // FIXME: CDATASection has been removed from the spec. crbug.com/437205
74 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); 74 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data);
75 75
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 attribute EventHandler onsearch; 214 attribute EventHandler onsearch;
215 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 215 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
216 attribute EventHandler onselectionchange; 216 attribute EventHandler onselectionchange;
217 attribute EventHandler onselectstart; 217 attribute EventHandler onselectstart;
218 attribute EventHandler onwheel; 218 attribute EventHandler onwheel;
219 }; 219 };
220 220
221 Document implements GlobalEventHandlers; 221 Document implements GlobalEventHandlers;
222 Document implements ParentNode; 222 Document implements ParentNode;
223 Document implements NonElementParentNode; 223 Document implements NonElementParentNode;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/events/EventFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698