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

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

Issue 423823005: Clarify comments for methods added in r178921 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DocumentFragment.h ('k') | Source/core/dom/Text.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) 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 PassRefPtr<RenderStyle> originalStyleForRenderer(); 554 PassRefPtr<RenderStyle> originalStyleForRenderer();
555 555
556 Node* insertAdjacent(const String& where, Node* newChild, ExceptionState&); 556 Node* insertAdjacent(const String& where, Node* newChild, ExceptionState&);
557 557
558 private: 558 private:
559 bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasEl ementFlagInternal(mask); } 559 bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasEl ementFlagInternal(mask); }
560 void setElementFlag(ElementFlags, bool value = true); 560 void setElementFlag(ElementFlags, bool value = true);
561 void clearElementFlag(ElementFlags); 561 void clearElementFlag(ElementFlags);
562 bool hasElementFlagInternal(ElementFlags) const; 562 bool hasElementFlagInternal(ElementFlags) const;
563 563
564 bool isElementNode() const WTF_DELETED_FUNCTION; // Hide to catch useless ca lls. 564 bool isElementNode() const WTF_DELETED_FUNCTION; // This will catch anyone d oing an unnecessary check.
565 bool isDocumentFragment() const WTF_DELETED_FUNCTION; // Hide to catch usele ss calls. 565 bool isDocumentFragment() const WTF_DELETED_FUNCTION; // This will catch any one doing an unnecessary check.
566 bool isDocumentNode() const WTF_DELETED_FUNCTION; // Hide to catch useless c alls. 566 bool isDocumentNode() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
567 567
568 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi ficationReason); 568 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi ficationReason);
569 569
570 void updatePresentationAttributeStyle(); 570 void updatePresentationAttributeStyle();
571 571
572 void inlineStyleChanged(); 572 void inlineStyleChanged();
573 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); 573 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper();
574 void setInlineStyleFromString(const AtomicString&); 574 void setInlineStyleFromString(const AtomicString&);
575 575
576 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); 576 StyleRecalcChange recalcOwnStyle(StyleRecalcChange);
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 864 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
865 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 865 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
866 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 866 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
867 { \ 867 { \
868 return adoptRefWillBeNoop(new T(tagName, document)); \ 868 return adoptRefWillBeNoop(new T(tagName, document)); \
869 } 869 }
870 870
871 } // namespace 871 } // namespace
872 872
873 #endif 873 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentFragment.h ('k') | Source/core/dom/Text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698