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

Side by Side Diff: sky/engine/core/dom/Element.idl

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/ExecutionContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12 matching lines...) Expand all
23 ] interface Element : Node { 23 ] interface Element : Node {
24 readonly attribute DOMString? tagName; 24 readonly attribute DOMString? tagName;
25 25
26 DOMString? getAttribute(DOMString name); 26 DOMString? getAttribute(DOMString name);
27 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value); 27 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value);
28 [CustomElementCallbacks] void removeAttribute(DOMString name); 28 [CustomElementCallbacks] void removeAttribute(DOMString name);
29 boolean hasAttribute(DOMString name); 29 boolean hasAttribute(DOMString name);
30 boolean hasAttributes(); 30 boolean hasAttributes();
31 sequence<Attr> getAttributes(); 31 sequence<Attr> getAttributes();
32 32
33 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; 33 readonly attribute CSSStyleDeclaration style;
34 34
35 [Reflect] attribute DOMString id; 35 [Reflect] attribute DOMString id;
36 readonly attribute DOMString? localName; 36 readonly attribute DOMString? localName;
37 37
38 [RaisesException] boolean matches(DOMString selectors); 38 [RaisesException] boolean matches(DOMString selectors);
39 39
40 readonly attribute long offsetLeft; 40 readonly attribute long offsetLeft;
41 readonly attribute long offsetTop; 41 readonly attribute long offsetTop;
42 readonly attribute long offsetWidth; 42 readonly attribute long offsetWidth;
43 readonly attribute long offsetHeight; 43 readonly attribute long offsetHeight;
44 readonly attribute Element offsetParent; 44 readonly attribute Element offsetParent;
45 readonly attribute long clientLeft; 45 readonly attribute long clientLeft;
46 readonly attribute long clientTop; 46 readonly attribute long clientTop;
47 readonly attribute long clientWidth; 47 readonly attribute long clientWidth;
48 readonly attribute long clientHeight; 48 readonly attribute long clientHeight;
49 49
50 void focus(); 50 void focus();
51 void blur(); 51 void blur();
52 52
53 [PerWorldBindings] readonly attribute DOMTokenList classList; 53 readonly attribute DOMTokenList classList;
54 54
55 [RaisesException] ShadowRoot ensureShadowRoot(); 55 [RaisesException] ShadowRoot ensureShadowRoot();
56 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; 56 readonly attribute ShadowRoot shadowRoot;
57 NodeList getDestinationInsertionPoints(); 57 NodeList getDestinationInsertionPoints();
58 58
59 // CSSOM View Module API 59 // CSSOM View Module API
60 ClientRectList getClientRects(); 60 ClientRectList getClientRects();
61 ClientRect getBoundingClientRect(); 61 ClientRect getBoundingClientRect();
62 62
63 [Reflect] attribute DOMString lang; 63 [Reflect] attribute DOMString lang;
64 attribute DOMString dir; 64 attribute DOMString dir;
65 65
66 [CustomElementCallbacks] attribute long tabIndex; 66 [CustomElementCallbacks] attribute long tabIndex;
67 67
68 [CustomElementCallbacks, RaisesException=Setter] attribute DOMString content Editable; 68 [CustomElementCallbacks, RaisesException=Setter] attribute DOMString content Editable;
69 readonly attribute boolean isContentEditable; 69 readonly attribute boolean isContentEditable;
70 70
71 attribute boolean spellcheck; 71 attribute boolean spellcheck;
72 }; 72 };
73 73
74 Element implements ParentNode; 74 Element implements ParentNode;
75 Element implements ChildNode; 75 Element implements ChildNode;
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/ExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698