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

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

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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
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, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e 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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 virtual short tabIndex() const OVERRIDE; 647 virtual short tabIndex() const OVERRIDE;
648 648
649 PassRefPtr<HTMLCollection> ensureCachedHTMLCollection(CollectionType); 649 PassRefPtr<HTMLCollection> ensureCachedHTMLCollection(CollectionType);
650 HTMLCollection* cachedHTMLCollection(CollectionType); 650 HTMLCollection* cachedHTMLCollection(CollectionType);
651 651
652 // classAttributeChanged() exists to share code between 652 // classAttributeChanged() exists to share code between
653 // parseAttribute (called via setAttribute()) and 653 // parseAttribute (called via setAttribute()) and
654 // svgAttributeChanged (called when element.className.baseValue is set) 654 // svgAttributeChanged (called when element.className.baseValue is set)
655 void classAttributeChanged(const AtomicString& newClassString); 655 void classAttributeChanged(const AtomicString& newClassString);
656 656
657 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE;
658
657 private: 659 private:
658 void updatePseudoElement(PseudoId, StyleChange); 660 void updatePseudoElement(PseudoId, StyleChange);
659 void createPseudoElementIfNeeded(PseudoId); 661 void createPseudoElementIfNeeded(PseudoId);
660 void setPseudoElement(PseudoId, PassRefPtr<PseudoElement>); 662 void setPseudoElement(PseudoId, PassRefPtr<PseudoElement>);
661 663
662 virtual bool areAuthorShadowsAllowed() const { return true; } 664 virtual bool areAuthorShadowsAllowed() const { return true; }
663 virtual void didAddUserAgentShadowRoot(ShadowRoot*) { } 665 virtual void didAddUserAgentShadowRoot(ShadowRoot*) { }
664 virtual bool alwaysCreateUserAgentShadowRoot() const { return false; } 666 virtual bool alwaysCreateUserAgentShadowRoot() const { return false; }
665 667
666 // FIXME: Remove the need for Attr to call willModifyAttribute/didModifyAttr ibute. 668 // FIXME: Remove the need for Attr to call willModifyAttribute/didModifyAttr ibute.
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 1026
1025 inline const Attribute* ElementData::attributeItem(unsigned index) const 1027 inline const Attribute* ElementData::attributeItem(unsigned index) const
1026 { 1028 {
1027 RELEASE_ASSERT(index < length()); 1029 RELEASE_ASSERT(index < length());
1028 return attributeBase() + index; 1030 return attributeBase() + index;
1029 } 1031 }
1030 1032
1031 } // namespace 1033 } // namespace
1032 1034
1033 #endif 1035 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698