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

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

Issue 14846002: Implement the Custom Elements :unresolved pseudoclass (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adds a test and fixes style sharing. 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 void setChildrenAffectedByFirstChildRules(); 447 void setChildrenAffectedByFirstChildRules();
448 void setChildrenAffectedByLastChildRules(); 448 void setChildrenAffectedByLastChildRules();
449 void setChildrenAffectedByDirectAdjacentRules(); 449 void setChildrenAffectedByDirectAdjacentRules();
450 void setChildrenAffectedByForwardPositionalRules(); 450 void setChildrenAffectedByForwardPositionalRules();
451 void setChildrenAffectedByBackwardPositionalRules(); 451 void setChildrenAffectedByBackwardPositionalRules();
452 void setChildIndex(unsigned); 452 void setChildIndex(unsigned);
453 453
454 void setIsInCanvasSubtree(bool); 454 void setIsInCanvasSubtree(bool);
455 bool isInCanvasSubtree() const; 455 bool isInCanvasSubtree() const;
456 456
457 bool isUnresolvedCustomElement();
458
457 AtomicString computeInheritedLanguage() const; 459 AtomicString computeInheritedLanguage() const;
458 Locale& locale() const; 460 Locale& locale() const;
459 461
460 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } 462 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { }
461 463
462 virtual bool isURLAttribute(const Attribute&) const { return false; } 464 virtual bool isURLAttribute(const Attribute&) const { return false; }
463 virtual bool isHTMLContentAttribute(const Attribute&) const { return false; } 465 virtual bool isHTMLContentAttribute(const Attribute&) const { return false; }
464 466
465 KURL getURLAttribute(const QualifiedName&) const; 467 KURL getURLAttribute(const QualifiedName&) const;
466 KURL getNonEmptyURLAttribute(const QualifiedName&) const; 468 KURL getNonEmptyURLAttribute(const QualifiedName&) const;
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 1000
999 inline const Attribute* ElementData::attributeItem(unsigned index) const 1001 inline const Attribute* ElementData::attributeItem(unsigned index) const
1000 { 1002 {
1001 RELEASE_ASSERT(index < length()); 1003 RELEASE_ASSERT(index < length());
1002 return attributeBase() + index; 1004 return attributeBase() + index;
1003 } 1005 }
1004 1006
1005 } // namespace 1007 } // namespace
1006 1008
1007 #endif 1009 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698