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

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

Issue 15077006: Implement ParentNode IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 7 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.idl ('k') | Source/core/dom/Element.cpp » ('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, 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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 bool isFinishedParsingChildren() const { return isParsingChildrenFinished(); } 497 bool isFinishedParsingChildren() const { return isParsingChildrenFinished(); }
498 virtual void finishParsingChildren(); 498 virtual void finishParsingChildren();
499 virtual void beginParsingChildren() OVERRIDE FINAL; 499 virtual void beginParsingChildren() OVERRIDE FINAL;
500 500
501 bool hasPseudoElements() const; 501 bool hasPseudoElements() const;
502 PseudoElement* pseudoElement(PseudoId) const; 502 PseudoElement* pseudoElement(PseudoId) const;
503 RenderObject* pseudoElementRenderer(PseudoId) const; 503 RenderObject* pseudoElementRenderer(PseudoId) const;
504 bool childNeedsShadowWalker() const; 504 bool childNeedsShadowWalker() const;
505 void didShadowTreeAwareChildrenChange(); 505 void didShadowTreeAwareChildrenChange();
506 506
507 // ElementTraversal API
508 Element* firstElementChild() const;
509 Element* lastElementChild() const;
510 unsigned childElementCount() const;
511
512 virtual bool matchesReadOnlyPseudoClass() const; 507 virtual bool matchesReadOnlyPseudoClass() const;
513 virtual bool matchesReadWritePseudoClass() const; 508 virtual bool matchesReadWritePseudoClass() const;
514 bool webkitMatchesSelector(const String& selectors, ExceptionCode&); 509 bool webkitMatchesSelector(const String& selectors, ExceptionCode&);
515 virtual bool shouldAppearIndeterminate() const; 510 virtual bool shouldAppearIndeterminate() const;
516 511
517 DOMTokenList* classList(); 512 DOMTokenList* classList();
518 513
519 DOMStringMap* dataset(); 514 DOMStringMap* dataset();
520 515
521 static bool isMathMLElement() { return false; } 516 static bool isMathMLElement() { return false; }
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 1004
1010 inline const Attribute* ElementData::attributeItem(unsigned index) const 1005 inline const Attribute* ElementData::attributeItem(unsigned index) const
1011 { 1006 {
1012 RELEASE_ASSERT(index < length()); 1007 RELEASE_ASSERT(index < length());
1013 return attributeBase() + index; 1008 return attributeBase() + index;
1014 } 1009 }
1015 1010
1016 } // namespace 1011 } // namespace
1017 1012
1018 #endif 1013 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentFragment.idl ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698