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

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

Issue 942013006: Simplify scroll APIs in Element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « Source/core/dom/Element.h ('k') | no next file » | 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 readonly attribute long clientLeft; 69 readonly attribute long clientLeft;
70 readonly attribute long clientTop; 70 readonly attribute long clientTop;
71 readonly attribute long clientWidth; 71 readonly attribute long clientWidth;
72 readonly attribute long clientHeight; 72 readonly attribute long clientHeight;
73 73
74 attribute unrestricted double scrollLeft; 74 attribute unrestricted double scrollLeft;
75 attribute unrestricted double scrollTop; 75 attribute unrestricted double scrollTop;
76 readonly attribute long scrollWidth; 76 readonly attribute long scrollWidth;
77 readonly attribute long scrollHeight; 77 readonly attribute long scrollHeight;
78 78
79 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(unrestricted double x, unrest ricted double y); 79 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(unres tricted double x, unrestricted double y);
80 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions scro llToOptions); 80 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(optio nal ScrollToOptions scrollToOptions);
81 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(unrestricted double x, unre stricted double y); 81 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(unrestricted double x, unre stricted double y);
82 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions sc rollToOptions); 82 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions sc rollToOptions);
83 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y); 83 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y);
84 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions sc rollToOptions); 84 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions sc rollToOptions);
85 85
86 void focus(); 86 void focus();
87 void blur(); 87 void blur();
88 void scrollIntoView(optional boolean alignWithTop); 88 void scrollIntoView(optional boolean alignWithTop);
89 89
90 // WebKit extensions 90 // WebKit extensions
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 136 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
137 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 137 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
138 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 138 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
139 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 139 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
140 attribute EventHandler onwheel; 140 attribute EventHandler onwheel;
141 }; 141 };
142 142
143 Element implements ParentNode; 143 Element implements ParentNode;
144 Element implements ChildNode; 144 Element implements ChildNode;
145 Element implements NonDocumentTypeChildNode; 145 Element implements NonDocumentTypeChildNode;
OLDNEW
« no previous file with comments | « Source/core/dom/Element.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698