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

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: Remove include 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
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 virtual void finishParsingChildren(); 497 virtual void finishParsingChildren();
498 virtual void beginParsingChildren() OVERRIDE FINAL; 498 virtual void beginParsingChildren() OVERRIDE FINAL;
499 499
500 bool hasPseudoElements() const; 500 bool hasPseudoElements() const;
501 PseudoElement* pseudoElement(PseudoId) const; 501 PseudoElement* pseudoElement(PseudoId) const;
502 RenderObject* pseudoElementRenderer(PseudoId) const; 502 RenderObject* pseudoElementRenderer(PseudoId) const;
503 bool childNeedsShadowWalker() const; 503 bool childNeedsShadowWalker() const;
504 void didShadowTreeAwareChildrenChange(); 504 void didShadowTreeAwareChildrenChange();
505 505
506 // ElementTraversal API 506 // ElementTraversal API
507 Element* firstElementChild() const;
508 Element* lastElementChild() const;
509 Element* previousElementSibling() const; 507 Element* previousElementSibling() const;
510 Element* nextElementSibling() const; 508 Element* nextElementSibling() const;
511 unsigned childElementCount() const;
512 509
513 virtual bool matchesReadOnlyPseudoClass() const; 510 virtual bool matchesReadOnlyPseudoClass() const;
514 virtual bool matchesReadWritePseudoClass() const; 511 virtual bool matchesReadWritePseudoClass() const;
515 bool webkitMatchesSelector(const String& selectors, ExceptionCode&); 512 bool webkitMatchesSelector(const String& selectors, ExceptionCode&);
516 virtual bool shouldAppearIndeterminate() const; 513 virtual bool shouldAppearIndeterminate() const;
517 514
518 DOMTokenList* classList(); 515 DOMTokenList* classList();
519 516
520 DOMStringMap* dataset(); 517 DOMStringMap* dataset();
521 518
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 1005
1009 inline const Attribute* ElementData::attributeItem(unsigned index) const 1006 inline const Attribute* ElementData::attributeItem(unsigned index) const
1010 { 1007 {
1011 RELEASE_ASSERT(index < length()); 1008 RELEASE_ASSERT(index < length());
1012 return attributeBase() + index; 1009 return attributeBase() + index;
1013 } 1010 }
1014 1011
1015 } // namespace 1012 } // namespace
1016 1013
1017 #endif 1014 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698