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

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

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move interfaces on to Element Created 6 years 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 [RaisesException, MeasureAs=ElementCreateShadowRoot] ShadowRoot createShadow Root(); 110 [RaisesException, MeasureAs=ElementCreateShadowRoot] ShadowRoot createShadow Root();
111 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; 111 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot;
112 NodeList getDestinationInsertionPoints(); 112 NodeList getDestinationInsertionPoints();
113 113
114 // CSSOM View Module API 114 // CSSOM View Module API
115 ClientRectList getClientRects(); 115 ClientRectList getClientRects();
116 ClientRect getBoundingClientRect(); 116 ClientRect getBoundingClientRect();
117 117
118 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); 118 [MeasureAs=ElementRequestPointerLock] void requestPointerLock();
119 119
120 // Experimental accessibility API
121 [RuntimeEnabled = ExperimentalAccessibilityFeatures] readonly attribute DOMS tring ? computedRole;
adamk 2014/12/16 01:54:49 Style nits: no spaces around '=', no space between
aboxhall 2014/12/16 04:15:26 Done.
122 [RuntimeEnabled = ExperimentalAccessibilityFeatures] readonly attribute DOMS tring ? computedName;
123
120 // Event handler attributes 124 // Event handler attributes
121 attribute EventHandler onbeforecopy; 125 attribute EventHandler onbeforecopy;
122 attribute EventHandler onbeforecut; 126 attribute EventHandler onbeforecut;
123 attribute EventHandler onbeforepaste; 127 attribute EventHandler onbeforepaste;
124 attribute EventHandler oncopy; 128 attribute EventHandler oncopy;
125 attribute EventHandler oncut; 129 attribute EventHandler oncut;
126 attribute EventHandler onpaste; 130 attribute EventHandler onpaste;
127 attribute EventHandler onsearch; 131 attribute EventHandler onsearch;
128 attribute EventHandler onselectstart; 132 attribute EventHandler onselectstart;
129 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 133 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
130 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 134 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
131 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 135 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
132 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 136 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
133 attribute EventHandler onwheel; 137 attribute EventHandler onwheel;
134 }; 138 };
135 139
136 Element implements ParentNode; 140 Element implements ParentNode;
137 Element implements ChildNode; 141 Element implements ChildNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698