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

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

Issue 1408443003: Add Element.attachShadow under the ShadowDOMV1 runtime flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rewrite a test Created 5 years, 2 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, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // DOM Parsing and Serialization 64 // DOM Parsing and Serialization
65 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th e-element-interface 65 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th e-element-interface
66 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString innerHTML; 66 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString innerHTML;
67 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML; 67 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML;
68 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString position, DOMString text); 68 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString position, DOMString text);
69 69
70 // Shadow DOM 70 // Shadow DOM
71 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int erface 71 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int erface
72 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S hadowRoot createShadowRoot(); 72 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S hadowRoot createShadowRoot();
73 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA s=ElementCreateShadowRoot] ShadowRoot createShadowRoot(ShadowRootInit shadowRoot InitDict); 73 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA s=ElementAttachShadow] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict );
74 NodeList getDestinationInsertionPoints(); 74 NodeList getDestinationInsertionPoints();
75 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo ot? shadowRoot; 75 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo ot? shadowRoot;
76 76
77 // Pointer Lock 77 // Pointer Lock
78 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface 78 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface
79 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); 79 [MeasureAs=ElementRequestPointerLock] void requestPointerLock();
80 80
81 // CSSOM View Module 81 // CSSOM View Module
82 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface 82 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface
83 // FIXME: getClientRect() and getBoundingClientRect() should 83 // FIXME: getClientRect() and getBoundingClientRect() should
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 128 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
129 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 129 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
130 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 130 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
131 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 131 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
132 attribute EventHandler onwheel; 132 attribute EventHandler onwheel;
133 }; 133 };
134 134
135 Element implements ParentNode; 135 Element implements ParentNode;
136 Element implements ChildNode; 136 Element implements ChildNode;
137 Element implements NonDocumentTypeChildNode; 137 Element implements NonDocumentTypeChildNode;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/frame/OriginsUsingFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698