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

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

Issue 19900002: Use the two Custom Elements node bits to explicitly represent four states. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Play nice with MSVC. 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
« no previous file with comments | « Source/core/dom/CustomElementRegistrationContext.cpp ('k') | Source/core/dom/Node.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, 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 void setChildrenAffectedByFirstChildRules(); 474 void setChildrenAffectedByFirstChildRules();
475 void setChildrenAffectedByLastChildRules(); 475 void setChildrenAffectedByLastChildRules();
476 void setChildrenAffectedByDirectAdjacentRules(); 476 void setChildrenAffectedByDirectAdjacentRules();
477 void setChildrenAffectedByForwardPositionalRules(); 477 void setChildrenAffectedByForwardPositionalRules();
478 void setChildrenAffectedByBackwardPositionalRules(); 478 void setChildrenAffectedByBackwardPositionalRules();
479 void setChildIndex(unsigned); 479 void setChildIndex(unsigned);
480 480
481 void setIsInCanvasSubtree(bool); 481 void setIsInCanvasSubtree(bool);
482 bool isInCanvasSubtree() const; 482 bool isInCanvasSubtree() const;
483 483
484 bool isUpgradedCustomElement() { return customElementState() == Upgraded; }
484 bool isUnresolvedCustomElement() { return isCustomElement() && !isUpgradedCu stomElement(); } 485 bool isUnresolvedCustomElement() { return isCustomElement() && !isUpgradedCu stomElement(); }
485 486
486 void setIsInsideRegion(bool); 487 void setIsInsideRegion(bool);
487 bool isInsideRegion() const; 488 bool isInsideRegion() const;
488 489
489 void setRegionOversetState(RegionOversetState); 490 void setRegionOversetState(RegionOversetState);
490 RegionOversetState regionOversetState() const; 491 RegionOversetState regionOversetState() const;
491 492
492 AtomicString computeInheritedLanguage() const; 493 AtomicString computeInheritedLanguage() const;
493 Locale& locale() const; 494 Locale& locale() const;
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 1060
1060 inline const Attribute* ElementData::attributeItem(unsigned index) const 1061 inline const Attribute* ElementData::attributeItem(unsigned index) const
1061 { 1062 {
1062 RELEASE_ASSERT(index < length()); 1063 RELEASE_ASSERT(index < length());
1063 return attributeBase() + index; 1064 return attributeBase() + index;
1064 } 1065 }
1065 1066
1066 } // namespace 1067 } // namespace
1067 1068
1068 #endif 1069 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/CustomElementRegistrationContext.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698