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

Unified Diff: tools/dom/scripts/htmlrenamer.py

Issue 12605003: Converting Element.client*, offset* and Screen.avail* over to Rects (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/element_test.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/htmlrenamer.py
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
index 4d91b5fa03705ce9db4bddd131a5d2fa8a797f42..a91a84e5c4a87832fc2225753a578a5d9590d7e0 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -168,6 +168,10 @@ _private_html_members = monitored.Set('htmlrenamer._private_html_members', [
'Element.childElementCount',
'Element.children',
'Element.className',
+ 'Element.clientHeight',
+ 'Element.clientLeft',
+ 'Element.clientTop',
+ 'Element.clientWidth',
'Element.firstElementChild',
'Element.getAttribute',
'Element.getAttributeNS',
@@ -176,6 +180,10 @@ _private_html_members = monitored.Set('htmlrenamer._private_html_members', [
'Element.hasAttribute',
'Element.hasAttributeNS',
'Element.lastElementChild',
+ 'Element.offsetHeight',
+ 'Element.offsetLeft',
+ 'Element.offsetTop',
+ 'Element.offsetWidth',
'Element.querySelector',
'Element.querySelectorAll',
'Element.removeAttribute',
@@ -247,6 +255,10 @@ _private_html_members = monitored.Set('htmlrenamer._private_html_members', [
'Node.namespaceURI',
'Node.removeChild',
'Node.replaceChild',
+ 'Screen.availHeight',
+ 'Screen.availLeft',
+ 'Screen.availTop',
+ 'Screen.availWidth',
'ShadowRoot.getElementById',
'ShadowRoot.getElementsByClassName',
'ShadowRoot.getElementsByTagName',
@@ -303,7 +315,9 @@ renamed_html_members = monitored.Dict('htmlrenamer.renamed_html_members', {
'Node.parentElement': 'parent',
'Node.previousSibling': 'previousNode',
'Node.textContent': 'text',
+ 'SVGComponentTransferFunctionElement.offset': 'gradientOffset',
'SVGElement.className': '$dom_svgClassName',
+ 'SVGStopElement.offset': 'gradientOffset',
'WorkerContext.webkitRequestFileSystem': 'requestFileSystem',
'WorkerContext.webkitRequestFileSystemSync': 'requestFileSystemSync',
'WorkerContext.webkitResolveLocalFileSystemSyncURL':
« no previous file with comments | « tests/html/element_test.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698