| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |    2  * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 
|    3  *           (C) 1999 Antti Koivisto (koivisto@kde.org) |    3  *           (C) 1999 Antti Koivisto (koivisto@kde.org) | 
|    4  *           (C) 2001 Peter Kelly (pmk@post.com) |    4  *           (C) 2001 Peter Kelly (pmk@post.com) | 
|    5  *           (C) 2001 Dirk Mueller (mueller@kde.org) |    5  *           (C) 2001 Dirk Mueller (mueller@kde.org) | 
|    6  * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. |    6  * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 
|    7  * |    7  * | 
|    8  * This library is free software; you can redistribute it and/or |    8  * This library is free software; you can redistribute it and/or | 
|    9  * modify it under the terms of the GNU Library General Public |    9  * modify it under the terms of the GNU Library General Public | 
|   10  * License as published by the Free Software Foundation; either |   10  * License as published by the Free Software Foundation; either | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   54 class ElementRareData; |   54 class ElementRareData; | 
|   55 class ElementShadow; |   55 class ElementShadow; | 
|   56 class ExceptionState; |   56 class ExceptionState; | 
|   57 class Image; |   57 class Image; | 
|   58 class InputMethodContext; |   58 class InputMethodContext; | 
|   59 class IntSize; |   59 class IntSize; | 
|   60 class Locale; |   60 class Locale; | 
|   61 class MutableStylePropertySet; |   61 class MutableStylePropertySet; | 
|   62 class PropertySetCSSStyleDeclaration; |   62 class PropertySetCSSStyleDeclaration; | 
|   63 class PseudoElement; |   63 class PseudoElement; | 
 |   64 class ScrollState; | 
|   64 class ScrollToOptions; |   65 class ScrollToOptions; | 
|   65 class ShadowRoot; |   66 class ShadowRoot; | 
|   66 class StylePropertySet; |   67 class StylePropertySet; | 
|   67  |   68  | 
|   68 enum SpellcheckAttributeState { |   69 enum SpellcheckAttributeState { | 
|   69     SpellcheckAttributeTrue, |   70     SpellcheckAttributeTrue, | 
|   70     SpellcheckAttributeFalse, |   71     SpellcheckAttributeFalse, | 
|   71     SpellcheckAttributeDefault |   72     SpellcheckAttributeDefault | 
|   72 }; |   73 }; | 
|   73  |   74  | 
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  160     // will be returned. This is not a trivial getter and its return value shoul
     d be cached |  161     // will be returned. This is not a trivial getter and its return value shoul
     d be cached | 
|  161     // for performance. |  162     // for performance. | 
|  162     AttributeCollection attributes() const; |  163     AttributeCollection attributes() const; | 
|  163     // This variant will not update the potentially invalid attributes. To be us
     ed when not interested |  164     // This variant will not update the potentially invalid attributes. To be us
     ed when not interested | 
|  164     // in style attribute or one of the SVG animation attributes. |  165     // in style attribute or one of the SVG animation attributes. | 
|  165     AttributeCollection attributesWithoutUpdate() const; |  166     AttributeCollection attributesWithoutUpdate() const; | 
|  166  |  167  | 
|  167     void scrollIntoView(bool alignToTop = true); |  168     void scrollIntoView(bool alignToTop = true); | 
|  168     void scrollIntoViewIfNeeded(bool centerIfNeeded = true); |  169     void scrollIntoViewIfNeeded(bool centerIfNeeded = true); | 
|  169  |  170  | 
 |  171     void distributeScroll(ScrollState&); | 
 |  172     void applyScroll(ScrollState&); | 
 |  173  | 
|  170     int offsetLeft(); |  174     int offsetLeft(); | 
|  171     int offsetTop(); |  175     int offsetTop(); | 
|  172     int offsetWidth(); |  176     int offsetWidth(); | 
|  173     int offsetHeight(); |  177     int offsetHeight(); | 
|  174  |  178  | 
|  175     Element* offsetParent(); |  179     Element* offsetParent(); | 
|  176     int clientLeft(); |  180     int clientLeft(); | 
|  177     int clientTop(); |  181     int clientTop(); | 
|  178     int clientWidth(); |  182     int clientWidth(); | 
|  179     int clientHeight(); |  183     int clientHeight(); | 
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  878     static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |  882     static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 
|  879 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |  883 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 
|  880     PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& 
     document) \ |  884     PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& 
     document) \ | 
|  881     { \ |  885     { \ | 
|  882         return adoptRefWillBeNoop(new T(tagName, document)); \ |  886         return adoptRefWillBeNoop(new T(tagName, document)); \ | 
|  883     } |  887     } | 
|  884  |  888  | 
|  885 } // namespace |  889 } // namespace | 
|  886  |  890  | 
|  887 #endif // Element_h |  891 #endif // Element_h | 
| OLD | NEW |