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

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

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 bool hasInputMethodContext() const; 492 bool hasInputMethodContext() const;
493 493
494 void synchronizeAttribute(const AtomicString& localName) const; 494 void synchronizeAttribute(const AtomicString& localName) const;
495 495
496 MutableStylePropertySet& ensureMutableInlineStyle(); 496 MutableStylePropertySet& ensureMutableInlineStyle();
497 void clearMutableInlineStyleIfEmpty(); 497 void clearMutableInlineStyleIfEmpty();
498 498
499 void setTabIndex(int); 499 void setTabIndex(int);
500 virtual short tabIndex() const override; 500 virtual short tabIndex() const override;
501 501
502 virtual void trace(Visitor*) override; 502 DECLARE_VIRTUAL_TRACE();
503 503
504 SpellcheckAttributeState spellcheckAttributeState() const; 504 SpellcheckAttributeState spellcheckAttributeState() const;
505 505
506 protected: 506 protected:
507 Element(const QualifiedName& tagName, Document*, ConstructionType); 507 Element(const QualifiedName& tagName, Document*, ConstructionType);
508 508
509 const ElementData* elementData() const { return m_elementData.get(); } 509 const ElementData* elementData() const { return m_elementData.get(); }
510 UniqueElementData& ensureUniqueElementData(); 510 UniqueElementData& ensureUniqueElementData();
511 511
512 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, CSSValueID identifier); 512 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, CSSValueID identifier);
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 881 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
882 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 882 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
883 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 883 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
884 { \ 884 { \
885 return adoptRefWillBeNoop(new T(tagName, document)); \ 885 return adoptRefWillBeNoop(new T(tagName, document)); \
886 } 886 }
887 887
888 } // namespace 888 } // namespace
889 889
890 #endif // Element_h 890 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698